OS Command Injection in FiberHome ONU GPON AN5506-04-F RP2617 Ping Diagnostic Tool
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.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
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.
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.
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.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.