Description
Stack-based buffer overflow in the ExecuteSoapAction function in the SOAPAction handler in the HTTP service in MiniUPnP MiniUPnPd 1.0 allows remote attackers to execute arbitrary code via a long quoted method.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
Metasploit 2 modules
-
UPnP SSDP M-SEARCH Information Discovery
auxiliary/scanner/upnp/ssdp_msearch
-
MiniUPnPd 1.0 Stack Buffer Overflow Remote Code Execution
exploit/linux/upnp/miniupnpd_soap_bof
Exploit-DB 3
- INFOMARK IMW-C920W MiniUPnPd 1.0 - Denial of Service EDB-37517 · dos · Jul 7, 2015
- MiniUPnPd 1.0 (MIPS) - Remote Stack Overflow Remote Code Execution for AirTies RT Series EDB-36839 · remote · Apr 27, 2015
- MiniUPnPd 1.0 - Remote Stack Buffer Overflow Remote Code Execution (Metasploit) EDB-25975 · remote · Jun 5, 2013 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://community.rapid7.com/servlet/JiveServlet/download/2150-1-16596/SecurityFlawsUPnP.pdf
- https://community.rapid7.com/servlet/servlet.FileDownload?file=00P1400000cCaFb
- https://community.rapid7.com/community/infosec/blog/2013/01/29/security-flaws-in-universal-plug-and-play-unplug-dont-play
- 57608 vdb-entry
- 36839 exploit