CVE-2022-36786 DLINK - DSL-224 Post-auth RCE.

Critical 9.9 Published Updated

Attackers with post-authentication access can inject commands via the NTP configuration API to execute arbitrary code with root privileges on D-Link DSL-224 routers.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-36786?

CVE-2022-36786 is a critical command injection vulnerability in D-Link DSL-224, published on 17 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

DLINK - DSL-224 Post-auth RCE. DLINK router version 3.0.8 has an interface where you can configure NTP servers (Network Time Protocol) via jsonrpc API. It is possible to inject a command through this interface that will run with ROOT permissions on the router.

Weakness: CWE-77

Which versions are affected by CVE-2022-36786?

It affects 1 product.

Products include Dlink Dsl-224 Firmware.

How do I fix CVE-2022-36786?

No fix has been published for CVE-2022-36786 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-2022-36786 being exploited?

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

Sources

Also known as GHSA-6x6f-2749-hhgv.

Is CVE-2022-36786 in your software?

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

Check your SBOMs for free