CVE-2021-42912: OS Command Injection in FiberHome ONU GPON AN5506-04-F RP2617 Ping Diagnostic Tool
- Vendor
- Fiberhome
CVE-2021-42912 is an OS command injection vulnerability affecting FiberHome ONU GPON AN5506-04-F firmware RP2617. The flaw is present in the device's ping diagnostic functionality, where user-supplied input intended for the IP address field is insufficiently sanitized. An authenticated attacker can bypass the expected IP-address-only constraint and append shell metacharacters, specifically a semicolon, to concatenate arbitrary operating system commands. Those commands are then executed by the underlying system with root privileges.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an authenticated attacker to execute arbitrary OS commands as root on the affected ONU device. This can result in full compromise of the device, including unauthorized configuration changes, credential or sensitive data access, installation of persistent backdoors, disruption of network services, and use of the device as a pivot point for further activity within the local network.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to the device's management interface to trusted networks and users. Employ strong authentication and monitor for suspicious activity. Disable the ping diagnostic tool if not required.
Remediation
Patch, then assume compromise.
Update the device firmware to a version that properly sanitizes user input in the ping diagnostic tool and other similar interfaces. Apply any vendor-provided patches addressing this vulnerability.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2021-42912 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2021-42912?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2021-42912.
- Is there a patch for CVE-2021-42912?
- Update the device firmware to a version that properly sanitizes user input in the ping diagnostic tool and other similar interfaces. Apply any vendor-provided patches addressing this vulnerability.
- What products are affected by CVE-2021-42912?
- Fiberhome An5506-04-F Firmware, Fiberhome Aan5506-04-G2g Firmware, Fiberhome An5506-01-A Firmware, Fiberhome An5506-01-B Firmware, Fiberhome An5506-02-B Firmware, and 1 more.
- How severe is CVE-2021-42912?
- CVE-2021-42912 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 10.1% (96th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.