CVE-2006-5276

Snort < 2.6.1.3 and 2.7 < beta 2 - Remote Code Execution via DCE/RPC Preprocessor

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 5 public exploits for CVE-2006-5276. PoCs published by Metasploit, Winny Thomas, Trirat Puttaraksa, including Metasploit module exploits/multi/ids/snort_dce_rpc.

AI-analyzed exploit summary This Metasploit module exploits a stack-based buffer overflow in Snort's DCE/RPC preprocessor via crafted SMB traffic, allowing remote code execution. It targets vulnerable versions of Snort and SourceFire IDS by sending a malformed SMB Write AndX request.

Description

Stack-based buffer overflow in the DCE/RPC preprocessor in Snort before 2.6.1.3, and 2.7 before beta 2; and Sourcefire Intrusion Sensor; allows remote attackers to execute arbitrary code via crafted SMB traffic.

Exploits (5)

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

This Metasploit module exploits a stack-based buffer overflow in Snort's DCE/RPC preprocessor via crafted SMB traffic, allowing remote code execution. It targets vulnerable versions of Snort and SourceFire IDS by sending a malformed SMB Write AndX request.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Snort 2.6.1, 2.7 Beta 1, SourceFire IDS 4.1, 4.5, 4.6
No auth needed
Prerequisites: Network access to a host monitored by vulnerable Snort/SourceFire IDS · Ability to send crafted SMB traffic
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC VERIFIED
by Winny Thomas · pythonremotelinux
https://www.exploit-db.com/exploits/3609

This exploit targets CVE-2006-5276, a vulnerability in Snort's DCE/RPC preprocessor. It sends a malformed SMB packet containing shellcode to bind a shell on TCP port 4444, achieving remote code execution.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Snort 2.6.1
No auth needed
Prerequisites: Network access to the target Snort instance · Snort DCE/RPC preprocessor enabled
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC VERIFIED
by Trirat Puttaraksa · pythonremotewindows
https://www.exploit-db.com/exploits/3391

This exploit targets a buffer overflow in Snort's DCE/RPC preprocessor (CVE-2006-5276) to execute arbitrary code (calc.exe) on Windows XP SP2 with Snort 2.6.1. It uses Scapy to craft and send a malicious SMB packet.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Snort 2.6.1 on Windows XP SP2
No auth needed
Prerequisites: Network access to target · Snort 2.6.1 with DCE/RPC preprocessor enabled · Windows XP SP2 target
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC VERIFIED
by Trirat Puttaraksa · pythondosmultiple
https://www.exploit-db.com/exploits/3362

This exploit triggers a buffer overflow in Snort's DCE/RPC preprocessor, causing a denial-of-service (DoS) condition. It constructs a malicious SMB packet using Scapy and sends it to the target, leveraging a vulnerability in Snort 2.6.1.

Classification
Working Poc 90%
Attack Type
Dos
Complexity
Moderate
Reliability
Reliable
Target: Snort 2.6.1
No auth needed
Prerequisites: Scapy library · Network access to target
devstral-2 · analyzed Feb 16, 2026 Full analysis →
metasploit WORKING POC GOOD
by Neel Mehta, Trirat Puttaraksa · rubypocwin
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/ids/snort_dce_rpc.rb

This Metasploit module exploits a stack-based buffer overflow in Snort's DCE/RPC preprocessor via crafted SMB traffic, allowing remote code execution. It targets vulnerable Snort versions (2.6.1, 2.7 Beta 1) and SourceFire IDS (4.1, 4.5, 4.6).

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Snort 2.6.1, 2.7 Beta 1, SourceFire IDS 4.1, 4.5, 4.6
No auth needed
Prerequisites: Network access to a Snort-monitored host · Crafted SMB packet
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (24)

Core 24
Core References
Third Party Advisory, US Government Resource third-party-advisory x_refsource_cert
http://www.us-cert.gov/cas/techalerts/TA07-050A.html
US Government Resource third-party-advisory x_refsource_cert-vn
http://www.kb.cert.org/vuls/id/196240
Third Party Advisory vendor-advisory x_refsource_gentoo
http://security.gentoo.org/glsa/glsa-200703-01.xml
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26746
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/461810/100/0/threaded
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/24190
Vendor Advisory x_refsource_confirm
http://www.snort.org/docs/advisory-2007-02-19.html
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/24239
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/24272
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2007/0656
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/31275
Mailing List vendor-advisory x_refsource_fedora
http://fedoranews.org/updates/FEDORA-2007-206.shtml
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2007/0668
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/32094
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/24235
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id?1017670
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/24240
Vendor Advisory third-party-advisory x_refsource_iss
http://iss.net/threats/257.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/22616
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/3362
Issue Tracking x_refsource_misc
https://bugzilla.redhat.com/show_bug.cgi?id=229265
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id?1017669

Scores

EPSS 0.7932
EPSS Percentile 99.6%

Details

Status published
Products (7)
snort/snort 2.6.1
snort/snort 2.6.1.1
snort/snort 2.7_beta1
snort/snort < 2.6.1.2
sourcefire/intrusion_sensor 4.1 (2 CPE variants)
sourcefire/intrusion_sensor 4.5 (2 CPE variants)
sourcefire/intrusion_sensor 4.6 (2 CPE variants)
Published Feb 20, 2007
Tracked Since Feb 18, 2026