CVE-2024-5785 Command injection vulnerability in Comtrend router

High 8.0 Published Updated

An authenticated attacker can execute arbitrary commands on the Comtrend router via a POST request to the tracert form.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-5785?

CVE-2024-5785 is a high-severity command injection vulnerability in Comtrend WLD71-T1_v2.0.201820, published on 10 Jun 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Command injection vulnerability in Comtrend router WLD71-T1_v2.0.201820, affecting the GRG-4280us version. This vulnerability could allow an authenticated user to execute commands inside the router by making a POST request to the URL “/boaform/admin/formUserTracert”.

Weakness: CWE-78

Which versions are affected by CVE-2024-5785?

How do I fix CVE-2024-5785?

No fix has been published for CVE-2024-5785 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2024-5785 being exploited?

There is no known exploitation of CVE-2024-5785 in the wild and no public exploit code.

Sources

Also known as GHSA-9mrw-6xpv-33mx.

Is CVE-2024-5785 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free