CVE-2007-2386

Apple Mac OS X <10.4.9 - Buffer Overflow

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2007-2386. PoCs published by Metasploit, ddz, including Metasploit module exploits/osx/mdns/upnp_location.

AI-analyzed exploit summary This Metasploit module exploits a buffer overflow in Mac OS X mDNSResponder (CVE-2007-2386) by sending a crafted UPnP response to trigger remote code execution. It targets vulnerable versions of Mac OS X 10.4.x and uses a UDP-based attack vector.

Description

Buffer overflow in mDNSResponder in Apple Mac OS X 10.4 up to 10.4.9 allows remote attackers to cause a denial of service (application termination) or execute arbitrary code via a crafted UPnP Internet Gateway Device (IGD) packet.

Exploits (2)

exploitdb WORKING POC VERIFIED
by Metasploit · rubyremoteosx
https://www.exploit-db.com/exploits/16871

This Metasploit module exploits a buffer overflow in Mac OS X mDNSResponder (CVE-2007-2386) by sending a crafted UPnP response to trigger remote code execution. It targets vulnerable versions of Mac OS X 10.4.x and uses a UDP-based attack vector.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Mac OS X mDNSResponder (versions 10.4 to 10.4.9 without patch 2007-005)
No auth needed
Prerequisites: Network access to the target's UPnP service (port 1900) · Target running vulnerable Mac OS X version
devstral-2 · analyzed Feb 16, 2026 Full analysis →
metasploit WORKING POC NORMAL
by ddz · rubypocosx
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/osx/mdns/upnp_location.rb

This Metasploit module exploits a buffer overflow in Mac OS X mDNSResponder (CVE-2007-2386) by sending a crafted UPnP response to trigger remote code execution. It targets specific offsets and architectures (x86/PPC) to overwrite function pointers and execute payloads.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Mac OS X mDNSResponder (versions 10.4 to 10.4.9 without 2007-005 patch)
No auth needed
Prerequisites: Network access to target's UPnP port (1900/UDP) · Target running vulnerable mDNSResponder version
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (13)

Core 13
Core References
Vendor Advisory x_refsource_confirm
http://docs.info.apple.com/article.html?artnum=305530
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/24159
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2007/1939
US Government Resource third-party-advisory x_refsource_cert-vn
http://www.kb.cert.org/vuls/id/221876
Mailing List vendor-advisory x_refsource_apple
http://lists.apple.com/archives/security-announce/2007/May/msg00004.html
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/25402
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/35142
Mailing List vendor-advisory x_refsource_apple
http://lists.apple.com/archives/security-announce/2007/Jun/msg00001.html
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2007/2269
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/24144
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/34493
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id?1018123
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/25745

Scores

EPSS 0.5000
EPSS Percentile 98.8%

Details

Status published
Products (9)
apple/mac_os_x 10.4
apple/mac_os_x 10.4.1
apple/mac_os_x 10.4.2
apple/mac_os_x 10.4.3
apple/mac_os_x 10.4.4
apple/mac_os_x 10.4.5
apple/mac_os_x 10.4.6
apple/mac_os_x 10.4.7
apple/mac_os_x 10.4.8
Published May 24, 2007
Tracked Since Feb 18, 2026