CVE-2024-8127 D-Link DNS-1550-04 HTTP POST Request webfile_mgr.cgi cgi_unzip command injection

Medium 5.3 Published Updated

Remote attackers can execute arbitrary commands via the webfile_mgr.cgi script on unsupported D-Link NAS devices.

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-2024-8127?

CVE-2024-8127 is a medium-severity command injection vulnerability in Dlink Dns-320 Firmware, published on 24 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability classified as critical was found in D-Link DNS-120, DNR-202L, DNS-315L, DNS-320, DNS-320L, DNS-320LW, DNS-321, DNR-322L, DNS-323, DNS-325, DNS-326, DNS-327L, DNR-326, DNS-340L, DNS-343, DNS-345, DNS-726-4, DNS-1100-4, DNS-1200-05 and DNS-1550-04 up to 20240814. This vulnerability affects the function cgi_unzip of the file /cgi-bin/webfile_mgr.cgi of the component HTTP POST Request Handler. The manipulation of the argument path leads to command injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. NOTE: This vulnerability only affects products that are no longer supported by the maintainer. NOTE: Vendor was contacted early and confirmed that the product is end-of-life. It should be retired and replaced.

Weakness: CWE-78, CWE-77

Which versions are affected by CVE-2024-8127?

It affects 20 products.

Products include Dlink Dnr-202l Firmware, Dlink Dnr-322l Firmware, Dlink Dnr-326 Firmware, Dlink Dns-1100-4 Firmware, Dlink Dns-1200-05 Firmware, Dlink Dns-120 Firmware and 14 more.

How do I fix CVE-2024-8127?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-8127 exists.

All Dlink Dns-320 Firmware vulnerabilities

Sources

Also known as GHSA-7vp8-wwfv-6g24.

Is CVE-2024-8127 in your software?

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

Check your SBOMs for free