← Vulnerability feed

Vulnerability record · CVE-2009-2765 · published 14 August 2009

CVE-2009-2765: DD-WRT management GUI httpd command injection via cgi-bin URI

Dd Wrt · Dd Wrt

The httpd.c component of the DD-WRT management GUI fails to validate input in requests to cgi-bin/ URIs, allowing shell metacharacters to be passed into command execution. DD-WRT 24 sp1 and versions before build 12533 are affected. Because this is the router's administrative web interface, successful exploitation gives full control of the device.

8.3 CVSS 2.0 High EPSS 83% · top 0.3% CWE-20 · Improper input validation
8.3CVSS 2.0 base score
83%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
18References, 6 tagged exploit
16 Jun 2026Last modified by NVD

Description

httpd.c in httpd in the management GUI in DD-WRT 24 sp1, and other versions before build 12533, allows remote attackers to execute arbitrary commands via shell metacharacters in a request to a cgi-bin/ URI.

AV:A/AC:L/Au:N/C:C/I:C/A:C

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

high priorityUnauthenticated adjacent-network command execution with public exploit code and very high EPSS, but the attack requires adjacency to the management interface and the product is a consumer router.

What it is

The httpd.c component of the DD-WRT management GUI fails to validate input in requests to cgi-bin/ URIs, allowing shell metacharacters to be passed into command execution. DD-WRT 24 sp1 and versions before build 12533 are affected. Because this is the router's administrative web interface, successful exploitation gives full control of the device.

Impact

An attacker can execute arbitrary commands on the router, gaining full control of the device, its configuration, and any traffic it handles.

Attack surface

Reached over the network via HTTP requests to the management GUI's cgi-bin/ URIs; the CVSS vector AV:A indicates the attacker must be on the adjacent network, and Au:N indicates no authentication is required. No user interaction is described.

Exploitation

Public exploit code exists (Metasploit module and Exploit-DB entry), and EPSS is 0.82504 (99.6th percentile), though CISA KEV does not list it.

What to do

  • Upgrade DD-WRT to build 12533 or later, which fixes the flaw.
  • If upgrade is not possible, disable remote management and restrict the management GUI to trusted internal hosts only.
  • Segment or firewall the router's management interface so it is not reachable from untrusted adjacent networks.
  • Replace end-of-life DD-WRT builds with a supported firmware release.

Detection

  • Inspect HTTP request logs for cgi-bin/ URIs containing shell metacharacters such as ;, |, $, or backticks.
  • Monitor router processes for unexpected child shells or commands spawned by httpd.
  • Alert on management GUI access from hosts outside the expected administrative network.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2009-2765 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.1CVE-2021-27137DD-WRT UPnP M-SEARCH stack buffer overflowDD-WRT before 45724 contains an unsafe strcpy in the UPnP SSDP handling code (ssdp_msearch), reachable via an M-SEARCH request, that overflows a fixe…KEVEPSS 4.0%analysed9.8CVE-2022-27631Dd-wrt out-of-bounds write vulnerabilityA memory corruption vulnerability exists in the httpd unescape functionality of DD-WRT Revision 32270 - Revision 48599. A specially-crafted HTTP requ…EPSS 1.1%8.8CVE-2020-13976Dd-wrt os command injection vulnerabilityAn issue was discovered in DD-WRT through 16214. The Diagnostic page allows remote attackers to execute arbitrary commands via shell metacharacters i…EPSS 1.8%8.8CVE-2012-6297Dd-wrt cross-site request forgery vulnerabilityCommand Injection vulnerability exists via a CSRF in DD-WRT 24-sp2 from specially crafted configuration values containing shell meta-characters, whic…EPSS 1.7%7.5CVE-2009-2766Dd-wrt permissions and access controls vulnerabilityhttpd.c in httpd in the management GUI in DD-WRT 24 sp1 does not require administrative authentication for programs under cgi-bin/, which allows remo…EPSS 5.1%6.8CVE-2008-6974Dd-wrt cross-site request forgery vulnerabilityMultiple cross-site request forgery (CSRF) vulnerabilities in apply.cgi in DD-WRT 24 sp1 and earlier allow remote attackers to hijack the authenticat…EPSS 1.5%6.8CVE-2008-6975Dd-wrt cross-site request forgery vulnerabilityMultiple cross-site request forgery (CSRF) vulnerabilities in apply.cgi in DD-WRT 24 sp2 allow remote attackers to hijack the authentication of admin…EPSS 1.3%9.5CVE-2026-88771Citrix NetScaler Improper Input Validation VulnerabilityImproper input validation vulnerability in Citrix NetScaler ADC and Citrix NetScaler Gateway. This issue affects ADC: before 14.1-73.37, before 13.1-…KEV

Source: NIST National Vulnerability Database (record CVE-2009-2765), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.