
This is a Proof-Of-Concept of CVE-2025-63353
Based on research by Hanianis (original CVE disclosure at CVE-2025-63353) Thanks to the security researchers who identified this vulnerability.
This information is provided for educational and security research purposes only. Users are responsible for compliance with all applicable local, state, and federal laws. The authors assume no liability for any damages arising from the use or misuse of this information.
A critical vulnerability has been identified in FiberHome GPON ONU HG6145F1 RP4423 devices that allows an attacker to predict the factory default Wi-Fi password (WPA/WPA2 pre-shared key) using only the SSID. The device generates default passwords using a deterministic algorithm that derives the router passphrase from the SSID, enabling an attacker who can observe the SSID to predict the default password without authentication or user interaction.
The FiberHome GPON ONU HG6145F1 RP4423 uses a predictable algorithm to generate default Wi-Fi credentials:
fh_<HEX_A> (where fh_ is the prefix followed by a hexadecimal value)wlan<HEX_B> (where wlan is the prefix followed by a hexadecimal value)The relationship between the SSID and password hex values follows this deterministic formula:
HEX_A + HEX_B = 0xFFFFFF
Therefore: HEX_B = 0xFFFFFF - HEX_A
fh_AAAAAA)AAAAAA)HEX_B = 0xFFFFFF - SSID_HEXwlan + calculated hex valuenmcli (Linux), netsh (Windows), or airport (macOS)# Clone the repository
git clone https://github.com/0xA1M/CVE-2025-63353.git
cd CVE-2025-63353
# Install dependencies
go mod tidy
# Basic scan
go run poc.go