[Comtech] Multiple Authenticated RCE on FX-1010 Trace Route, Fetch URL and Poll Routes (CVE-2020-7242 CVE-2020-7243 CVE-2020-7244)

The web application used for the management and administration of Compression Bandwidth Optimization Platform has a critical vulnerability that allow to an attacker to do a Remote Code Execution with root access. That is, the application allows to gain full control over the server.

Comtech Stampede FX-1010

Vendor WebSite:

http://www.comtechtel.com/

You can search for vulnerable sites on google with the following dork “Comtech FX Series” or maybe in shodan if you want.

Let’s do it!

We need to use the default comtech credentials to access on the administration panel (comtech:comtech)

Go to the Menu and click on Operations > Diagnostics > Trace Route

On target IP Address input we can Trace Route an IP but we can add other command behind of “;” in this case, we are going to use an “whoami” command.

 When we press OK, the result show us the username “comtech“.

Now we create a python script to get a reverse shell with full control of the system.

Getting the reverse shell.

Fetch URL: PoC #2

Go to the Menu and click on Operations > Diagnostics > Fetch URL

On URL input we can put a site name like “www.google.cl” but we can add other command behind of “;” in this case, we are going to use an “id” command.

When we press OK, the result show us the user and groups.

Now we create a python script to get a reverse shell with full control of the system.

Poll Routes: PoC #3

Go to the Menu and click on Operations > Diagnostics > Poll Routes

On Router IP Address input we can use an IP but we can add other command behind of “;” in this case, we are going to use an “id” command.

When we press OK, the result show us the user and groups.

  Now we create a python script to get a reverse shell with full control of the system.

MITRE Links:

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7242

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7243

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7244

Happy Hacking ! @CesarSilence