OpenBSD 4.0/4.1/4.2 dhcpd memory corruption

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.
5.7$0-$5k0.00

Summaryinfo

A vulnerability was found in OpenBSD 4.0/4.1/4.2 and classified as problematic. Affected by this issue is some unknown functionality of the component dhcpd. The manipulation results in memory corruption. This vulnerability was named CVE-2007-5365. In addition, an exploit is available. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as problematic, was found in OpenBSD 4.0/4.1/4.2 (Operating System). Affected is an unknown code of the component dhcpd. The manipulation with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

Stack-based buffer overflow in the cons_options function in options.c in dhcpd in OpenBSD 4.0 through 4.2, and some other dhcpd implementations based on ISC dhcp-2, allows remote attackers to execute arbitrary code or cause a denial of service (daemon crash) via a DHCP request specifying a maximum message size smaller than the minimum IP MTU.

The bug was discovered 11/07/2008. The weakness was presented 10/10/2007 by Nahuel Riva Gerardo Richarte with CORE IMPACT Exploit Writers Team (Website). The advisory is available at coresecurity.com. This vulnerability is traded as CVE-2007-5365 since 10/10/2007. The attack needs to be initiated within the local network. The exploitation doesn't require any form of authentication. Technical details are unknown but a public exploit is available.

A public exploit has been developed by RoMaNSoFt and been published 4 weeks after the advisory. The exploit is shared for download at exploit-db.com. It is declared as proof-of-concept. As 0-day the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 27515 (Debian DSA-1388-3 : dhcp - buffer overflow), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 117459 (CentOS Security Update for dhcp (CESA-2007:0970)).

Upgrading eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at openbsd.org. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published 3 weeks after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (37045), Exploit-DB (4601), Tenable (27515), SecurityFocus (BID 32213†) and OSVDB (41687†). See VDB-44956 for similar entry. If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.3
VulDB Meta Temp Score: 5.7

VulDB Base Score: 6.3
VulDB Temp Score: 5.7
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

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

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: RoMaNSoFt
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 27515
Nessus Name: Debian DSA-1388-3 : dhcp - buffer overflow
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 58685
OpenVAS Name: Debian Security Advisory DSA 1388-1 (dhcp)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍

Patch: openbsd.org
PaloAlto IPS: 🔍
Fortigate IPS: 🔍

Timelineinfo

10/10/2007 🔍
10/10/2007 +0 days 🔍
10/10/2007 +0 days 🔍
10/11/2007 +0 days 🔍
10/11/2007 +0 days 🔍
10/18/2007 +7 days 🔍
10/19/2007 +1 days 🔍
10/22/2007 +3 days 🔍
10/29/2007 +7 days 🔍
11/02/2007 +4 days 🔍
11/02/2007 +0 days 🔍
11/07/2008 +371 days 🔍
11/07/2008 +0 days 🔍
11/09/2008 +2 days 🔍
11/10/2008 +1 days 🔍
10/10/2024 +5813 days 🔍

Sourcesinfo

Advisory: coresecurity.com
Researcher: Nahuel Riva Gerardo Richarte
Organization: CORE IMPACT Exploit Writers Team
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2007-5365 (🔍)
GCVE (CVE): GCVE-0-2007-5365
GCVE (VulDB): GCVE-100-3378

OVAL: 🔍

X-Force: 37045 - OpenBSD DHCP cons_options() buffer overflow, High Risk
SecurityFocus: 32213 - Sun Solaris DHCP Denial of Service And Remote Code Execution Vulnerabilities
Secunia: 32668
OSVDB: 41687 - Multiple Vendor dhcpd options.c cons_options Function DHCP Request Remote Overflow
SecurityTracker: 1021157
Vulnerability Center: 16610 - OpenBSD Vulnerability Allows Remote Attackers to Execute Code or Cause DoS via DHCP Requests, High
Vupen: ADV-2008-3088

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

Entryinfo

Created: 10/18/2007 09:49
Updated: 10/10/2024 11:06
Changes: 10/18/2007 09:49 (111), 07/28/2019 22:58 (1), 10/10/2024 11:06 (17)
Complete: 🔍
Cache ID: 216:2D8:103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!