DD-WRT 24 httpd.c input validation

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
8.4$0-$5k0.00

A vulnerability was found in DD-WRT 24. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file httpd.c. The manipulation with an unknown input leads to a input validation vulnerability. The CWE definition for the vulnerability is CWE-20. The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

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.

The weakness was published 07/20/2009 (Website). It is possible to read the advisory at dd-wrt.com. This vulnerability is known as CVE-2009-2765 since 08/14/2009. The exploitation appears to be easy. The attack can only be done within the local network. The exploitation doesn't need any form of authentication. Technical details and also a public exploit are known.

A public exploit has been developed in Ruby and been published immediately after the advisory. It is possible to download the exploit at securityfocus.com. It is declared as highly functional. The vulnerability scanner Nessus provides a plugin with the ID 40353 (DD-WRT HTTP Daemon Metacharacter Injection Remote Code Execution), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Web Servers.

Upgrading to version 24 eliminates this vulnerability. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 8591.

The vulnerability is also documented in the databases at X-Force (51867) and Tenable (40353). Similar entry is available at 49436.

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.8
VulDB Meta Temp Score: 8.4

VulDB Base Score: 8.8
VulDB Temp Score: 8.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Input validation
CWE: CWE-20
ATT&CK: Unknown

Local: No
Remote: Partially

Availability: 🔍
Access: Public
Status: Highly functional
Programming Language: 🔍
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 40353
Nessus Name: DD-WRT HTTP Daemon Metacharacter Injection Remote Code Execution
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 802037
OpenVAS Name: DD-WRT Web Management Interface Remote Arbitrary Shell Command Injection Vulnerability
OpenVAS File: 🔍
OpenVAS Family: 🔍

MetaSploit ID: ddwrt_cgibin_exec.rb
MetaSploit Name: DD-WRT HTTP Daemon Arbitrary Command Execution
MetaSploit File: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍
Exploit Delay Time: 🔍

Upgrade: DD-WRT 24
Suricata ID: 2009678
Suricata Class: 🔍
Suricata Message: 🔍

TippingPoint: 🔍

McAfee IPS: 🔍
McAfee IPS Version: 🔍

PaloAlto IPS: 🔍
Fortigate IPS: 🔍

Timelineinfo

07/20/2009 🔍
07/20/2009 +0 days 🔍
07/20/2009 +0 days 🔍
07/21/2009 +1 days 🔍
07/23/2009 +1 days 🔍
07/23/2009 +0 days 🔍
08/14/2009 +22 days 🔍
08/14/2009 +0 days 🔍
10/06/2010 +418 days 🔍
03/18/2015 +1624 days 🔍
08/20/2021 +2347 days 🔍

Sourcesinfo

Advisory: dd-wrt.com
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2009-2765 (🔍)
X-Force: 51867
SecurityTracker: 1022596 - DD-WRT Web Interface Bug Lets Remote Users Execute Arbitrary Code
Vulnerability Center: 27469 - The Management GUI in DD-WRT 24 sp1 Remote Arbitrary Code Execution Vulnerability, Critical
SecurityFocus: 35742
OSVDB: 55990 - DD-WRT HTTP Daemon Metacharacter Injection Remote Code Execution

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 03/18/2015 15:15
Updated: 08/20/2021 07:50
Changes: 03/18/2015 15:15 (76), 03/07/2017 08:24 (14), 08/20/2021 07:44 (3), 08/20/2021 07:50 (1)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!