Secunia Logo
Netsikker nu! 2008
 
OpenBSD dhcpd Buffer Overflow Vulnerability
Secunia Advisory: SA27160
Release Date: 2007-10-10
Last Update: 2007-10-11
Popularity: 8,148 views

Critical:
Moderately critical
Impact: DoS
System access
Where: From local network
Solution Status: Vendor Patch

OS:OpenBSD 3.x
OpenBSD 4.0
OpenBSD 4.1
OpenBSD 4.2

Binary Analysis: BA255 :: Available for 1 Credit

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-0063
CVE-2007-5365


Description:
A vulnerability has been reported in OpenBSD, which can be exploited by malicious people to cause a DoS (Denial of Service) or potentially compromise a vulnerable system.

The vulnerability is caused due to the improper handling of DHCP requests within dhcpd in the "cons_options()" function in options.c. This can be exploited to cause a stack-based buffer overflow by sending a specially crafted DHCP request specifying a maximum message size between DHCP_FIXED_LEN and DHCP_FIXED_LEN + 3.

Successful exploitation may allow the execution of arbitrary code.

Solution:
Apply vendor patches.

OpenBSD 4.0:
ftp://ftp.openbsd.org/pub/OpenBSD/patches/4.0/common/016_dhcpd.patch

OpenBSD 4.1:
ftp://ftp.openbsd.org/pub/OpenBSD/patches/4.1/common/010_dhcpd.patch

OpenBSD 4.2:
ftp://ftp.openbsd.org/pub/OpenBSD/patches/4.2/common/001_dhcpd.patch

Provided and/or discovered by:
Nahuel Riva and Gerardo Richarte, CORE IMPACT Exploit Writers Team

Changelog:
2007-10-11: Updated the "Description" section and the credits. Added CVE reference.
2007-10-11: Added CVE reference.

Original Advisory:
Core Security Technologies:
http://www.coresecurity.com/index.php...ontentMod&action=item&id=1962

OpenBSD:
http://www.openbsd.org/errata40.html

Extended Solution:
The "Extended Solution" section is available for Secunia customers only. Request a trial and get access to the Secunia Customer Area and Extended Secunia advisories.


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Today
New advisories: 4
New vulnerabilities: 12
Updated advisories: 6

Less // 52 views
Debian update for openldap
Moderately // 50 views
Debian update for ruby1.9
Moderately // 49 views
Debian update for ruby1.8

10th Oct, 2008
New advisories: 15
New vulnerabilities: 83
Updated advisories: 41

Moderately // 802 views
Red Hat update for cups

Solutions | More...  


Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. CUPS Multiple Vulnerabilities // 51 views
2. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 49 views
3. CA ARCserve Backup Multiple Vulnerabilities // 48 views
4. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 37 views
5. Built2go Real Estate Listings "event_id" SQL Injection // 29 views
6. FUJITSU Interstage Products Apache Tomcat Security Bypass // 29 views
7. ScriptsEz Easy Image Downloader "id" File Disclosure Vulnerability // 28 views
8. DFF PHP Framework API "DFF_config[dir_include]" File Inclusion Vulnerabilities // 26 views
9. phpBB Cross Site Scripting and Unspecified Vulnerabilities // 25 views
10. Red Hat update for cups // 24 views