Vulnerabilities > CVE-2013-0230 - Buffer Errors vulnerability in Miniupnp Project Miniupnpd 1.0
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
COMPLETE Integrity impact
COMPLETE Availability impact
COMPLETE Summary
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.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 1 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
- Client-side Injection-induced Buffer Overflow This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
- Filter Failure through Buffer Overflow In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
- MIME Conversion An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
Exploit-Db
description INFOMARK IMW-C920W miniupnpd 1.0 - Denial of Service. CVE-2013-0229,CVE-2013-0230. Dos exploit for hardware platform id EDB-ID:37517 last seen 2016-02-04 modified 2015-07-07 published 2015-07-07 reporter Todor Donev source https://www.exploit-db.com/download/37517/ title INFOMARK IMW-C920W miniupnpd 1.0 - Denial of Service description MiniUPnPd 1.0 - Stack Overflow RCE for AirTies RT Series (MIPS). CVE-2013-0230. Remote exploits for multiple platform file exploits/multiple/remote/36839.py id EDB-ID:36839 last seen 2016-02-04 modified 2015-04-27 platform multiple port published 2015-04-27 reporter Onur Alanbel (BGA) source https://www.exploit-db.com/download/36839/ title MiniUPnPd 1.0 - Stack Overflow RCE for AirTies RT Series MIPS type remote description MiniUPnPd 1.0 - Stack Buffer Overflow Remote Code Execution. CVE-2013-0230. Remote exploit for linux platform id EDB-ID:25975 last seen 2016-02-03 modified 2013-06-05 published 2013-06-05 reporter metasploit source https://www.exploit-db.com/download/25975/ title MiniUPnPd 1.0 - Stack Buffer Overflow Remote Code Execution
Metasploit
description This module exploits the MiniUPnP 1.0 SOAP stack buffer overflow vulnerability present in the SOAPAction HTTP header handling. id MSF:EXPLOIT/LINUX/UPNP/MINIUPNPD_SOAP_BOF last seen 2020-06-04 modified 2020-02-18 published 2013-06-04 references reporter Rapid7 source https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/linux/upnp/miniupnpd_soap_bof.rb title MiniUPnPd 1.0 Stack Buffer Overflow Remote Code Execution description Discover information from UPnP-enabled systems id MSF:AUXILIARY/SCANNER/UPNP/SSDP_MSEARCH last seen 2019-12-17 modified 2017-07-24 published 2010-11-09 references reporter Rapid7 source https://github.com/rapid7/metasploit-framework/blob/master//modules/auxiliary/scanner/upnp/ssdp_msearch.rb title UPnP SSDP M-SEARCH Information Discovery
Nessus
NASL family | Gain a shell remotely |
NASL id | MINIUPNPD_1_4.NASL |
description | According to its banner, the version of MiniUPnP running on the remote host is prior to 1.4. It is, therefore, affected by the following vulnerabilities : - An out-of-bounds read error exists in the ProcessSSDPRequest() function in file minissdp.c that allows an unauthenticated, remote attacker to cause a denial of service condition via a specially crafted M-SEARCH request. (CVE-2013-0229) - A stack-based buffer overflow condition exists in the ExecuteSoapAction() function in the SOAPAction handler, due to improper validation of user-supplied input. An unauthenticated, remote attacker can exploit this, via a long quoted method, to cause a denial of service condition or the execution of arbitrary code. (CVE-2013-0230) |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 64377 |
published | 2013-01-31 |
reporter | This script is Copyright (C) 2013-2018 Tenable Network Security, Inc. |
source | https://www.tenable.com/plugins/nessus/64377 |
title | MiniUPnP < 1.4 Multiple Vulnerabilities |
code |
|
Packetstorm
data source https://packetstormsecurity.com/files/download/121873/miniupnpd_soap_bof.rb.txt id PACKETSTORM:121873 last seen 2016-12-05 published 2013-06-05 reporter H D Moore source https://packetstormsecurity.com/files/121873/MiniUPnPd-1.0-Stack-Buffer-Overflow-Remote-Code-Execution.html title MiniUPnPd 1.0 Stack Buffer Overflow Remote Code Execution data source https://packetstormsecurity.com/files/download/131651/miniupnpd-overflow.txt id PACKETSTORM:131651 last seen 2016-12-05 published 2015-04-27 reporter Onur Alanbel source https://packetstormsecurity.com/files/131651/MiniUPnPd-1.0-Stack-Overflow.html title MiniUPnPd 1.0 Stack Overflow data source https://packetstormsecurity.com/files/download/132599/miniupnpd-dos.txt id PACKETSTORM:132599 last seen 2016-12-05 published 2015-07-08 reporter Todor Donev source https://packetstormsecurity.com/files/132599/MiniUPNPd-1.0-Remote-Denial-Of-Service.html title MiniUPNPd 1.0 Remote Denial Of Service
The Hacker News
id | THN:E067CA1FBC7C95B306C9F3F8A9615CEA |
last seen | 2017-01-08 |
modified | 2013-01-29 |
published | 2013-01-29 |
reporter | Mohit Kumar |
source | http://thehackernews.com/2013/01/security-flaws-in-upnp-protocol-put-50.html |
title | Security Flaws in UPnP protocol put 50 million devices at risk |
References
- http://www.securityfocus.com/bid/57608
- https://community.rapid7.com/community/infosec/blog/2013/01/29/security-flaws-in-universal-plug-and-play-unplug-dont-play
- https://community.rapid7.com/servlet/JiveServlet/download/2150-1-16596/SecurityFlawsUPnP.pdf
- https://community.rapid7.com/servlet/servlet.FileDownload?file=00P1400000cCaFb
- https://www.exploit-db.com/exploits/36839/