Router  - Router  - RCE Vulnerability Over 1 Million Fiber Router to Bypass all Authentication

Critical code discovered in based GPON home allows attack could compromise the entire and bypass all authentication.

GPON is one of the widely used internet and the highest speed, longest life, lowest network infrastructure available in the market. Offering a genuine future‐proof access network with flexibility and upgrade capability well into the future.

This vulnerability can be exploited by just modifying the URL in the browser’s address bar and this bug allows let anyone bypass the router’s login page.

There is 2 critical vulnerability involved in this flaw and those combined 2 (CVE-208-056 & CVE-208-0562) allow attacker could take over and gain complete control the device and the network.

  • CVE-2018-10561 –a way to bypass all authentication on the devices
  • (CVE-2018-10562- command injection vulnerability to execute commands on the device

Mainly this flaw exploits the authentication mechanism using first vulnerability which leads to attack bypass all the authentication.

Bypass Router Using Simple Trick

Primary flow found in HTTP servers that usually check the specific path when performing the authentication process which allows bypassing authentication on any endpoint system with a simple trick.

An attack can bypass the endpoint by just adding  ?images/ to the URL which works on both HTML pages and GponForm/.

/menu.html?images/
or
/GponForm/diag_FORM?images/
According to vpnmentor, While looking through the device functionalities, we noticed the diagnostic endpoint contained the ping and traceroute commands. It didn’t take much to figure out that the commands can be injected by the host parameter.
Since the router saves ping results in /tmp and transmits it to the user when the user revisits /diag.html, it’s quite simple to execute commands and retrieve their output with the authentication bypass vulnerability.

you can see the video that demonstrates the exploitation of the critical RCE flow.

Researchers have tested many of the GPON routers and they find the same flow in so many routers.

Also, they search in shodan to find the number GPON devices that is using in wide that show more than one routers are actively working around the world.

 



Source link

LEAVE A REPLY

Please enter your comment!
Please enter your name here