Rapid7 Vulnerability & Exploit Database

Snort 2 DCE/RPC Preprocessor Buffer Overflow

Back to Search

Snort 2 DCE/RPC Preprocessor Buffer Overflow



This module allows remote attackers to execute arbitrary code by exploiting the Snort service via crafted SMB traffic. The vulnerability is due to a boundary error within the DCE/RPC preprocessor when reassembling SMB Write AndX requests, which may result a stack-based buffer overflow with a specially crafted packet sent on a network that is monitored by Snort. Vulnerable versions include Snort 2.6.1, 2.7 Beta 1 and SourceFire IDS 4.1, 4.5 and 4.6. Any host on the Snort network may be used as the remote host. The remote host does not need to be running the SMB service for the exploit to be successful.


  • Neel Mehta
  • Trirat Puttaraksa
  • Carsten Maartmann-Moe <carsten@carmaa.com>
  • 0a29406d9794e4f9b30b3c5d6702c708




Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/multi/ids/snort_dce_rpc
msf exploit(snort_dce_rpc) > show targets
msf exploit(snort_dce_rpc) > set TARGET < target-id >
msf exploit(snort_dce_rpc) > show options
    ...show and set options...
msf exploit(snort_dce_rpc) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security