Authentication bypass in GPON - CVE-2018-10561
Published: May 15, 2018 / Updated: June 17, 2021
Vulnerability identifier: #VU12660
CSH Severity: Critical
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-10561
CWE-ID: CWE-592
Exploitation vector: Remote access
Exploit availability:
The vulnerability is being exploited in the wild
Vulnerability details
The vulnerability allows a remote attacker to bypass authentication on the target system.
The weakness exists due to improper authentication restrictions. A remote attacker can bypass authentication simply by appending "?images" to any URL of the device that requires authentication, as demonstrated by the /menu.html?images/ or /GponForm/diag_FORM?images/ URI.
Note: the vulnerability is being exploited by various attachers to deliver several Mirai variants (e.g., Satori, JenX, etc.).
The weakness exists due to improper authentication restrictions. A remote attacker can bypass authentication simply by appending "?images" to any URL of the device that requires authentication, as demonstrated by the /menu.html?images/ or /GponForm/diag_FORM?images/ URI.
Note: the vulnerability is being exploited by various attachers to deliver several Mirai variants (e.g., Satori, JenX, etc.).
Affected software
GPON
How to mitigate CVE-2018-10561
Install update from vendor's website.
Links to Public Exploits and PoC-codes
- Exploit #6032 - Alcatel-Lucent (Nokia) GPON I-240W-Q - Buffer Overflow (June 17, 2021)
- Exploit #1953 - CVE-2018-10562 (Exploit for CVE-2018-10562) (March 18, 2020)
- Exploit #1940 - GPON (Exploit for Remote Code Execution on GPON home routers (CVE-2018-10562) written in Python. Initially disclosed by VPNMentor (https://www.vpnmentor.com/blog/critical-vulnerability-gpon-router/), kudos for their work.) (March 18, 2020)
- Exploit #195 - GPON-home-routers-Exploit (RCE on GPON home routers (CVE-2018-10561)) (March 18, 2020)