Vulnerabilities > CVE-2013-5019 - Buffer Errors vulnerability in Vector Ultra Mini Httpd 1.21
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
COMPLETE Integrity impact
COMPLETE Availability impact
COMPLETE Summary
Stack-based buffer overflow in Ultra Mini HTTPD 1.21 allows remote attackers to execute arbitrary code via a long resource name in an HTTP request.
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 Ultra Mini HTTPD 1.21 - Stack Buffer Overflow. CVE-2013-5019. Remote exploit for windows platform file exploits/windows/remote/26739.py id EDB-ID:26739 last seen 2016-02-03 modified 2013-07-11 platform windows port 80 published 2013-07-11 reporter superkojiman source https://www.exploit-db.com/download/26739/ title Ultra Mini HTTPD 1.21 - Stack Buffer Overflow type remote description Ultra Mini HTTPD 1.21 - POST Request Stack Buffer Overflow. CVE-2013-5019. Remote exploit for windows platform file exploits/windows/remote/31736.py id EDB-ID:31736 last seen 2016-02-03 modified 2014-02-18 platform windows port 80 published 2014-02-18 reporter Sumit source https://www.exploit-db.com/download/31736/ title Ultra Mini HTTPD 1.21 - POST Request Stack Buffer Overflow type remote description Ultra MiniHTTPd 1.2 - 'GET' Remote Stack Buffer Overflow PoC. CVE-2013-5019. Local exploit for Windows_x86 platform file exploits/windows_x86/local/44472.py id EDB-ID:44472 last seen 2018-05-24 modified 2018-04-17 platform windows_x86 port published 2018-04-17 reporter Exploit-DB source https://www.exploit-db.com/download/44472/ title Ultra MiniHTTPd 1.2 - 'GET' Remote Stack Buffer Overflow PoC type local description Mini HTTPD 1.21 - Stack Buffer Overflow POST Exploit. CVE-2013-5019. Remote exploit for windows platform file exploits/windows/remote/31814.py id EDB-ID:31814 last seen 2016-02-03 modified 2014-02-22 platform windows port 80 published 2014-02-22 reporter OJ Reeves source https://www.exploit-db.com/download/31814/ title Mini HTTPD 1.21 - Stack Buffer Overflow POST Exploit type remote description Ultra Mini HTTPD Stack Buffer Overflow. CVE-2013-5019. Remote exploit for windows platform id EDB-ID:27608 last seen 2016-02-03 modified 2013-08-15 published 2013-08-15 reporter metasploit source https://www.exploit-db.com/download/27608/ title Ultra Mini HTTPD Stack Buffer Overflow
Metasploit
description | This module exploits a stack based buffer overflow in Ultra Mini HTTPD 1.21, allowing remote attackers to execute arbitrary code via a long resource name in an HTTP request. This exploit has to deal with the fact that the application's request handler thread is terminated after 60 seconds by a "monitor" thread. To do this, it allocates some RWX memory, copies the payload to it and creates another thread. When done, it terminates the current thread so that it doesn't crash and hence doesn't bring down the process with it. |
id | MSF:EXPLOIT/WINDOWS/HTTP/ULTRAMINIHTTP_BOF |
last seen | 2020-06-08 |
modified | 2017-07-24 |
published | 2013-08-11 |
references | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-5019 |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/http/ultraminihttp_bof.rb |
title | Ultra Mini HTTPD Stack Buffer Overflow |
Packetstorm
data source | https://packetstormsecurity.com/files/download/122811/ultraminihttp_bof.rb.txt |
id | PACKETSTORM:122811 |
last seen | 2016-12-05 |
published | 2013-08-14 |
reporter | superkojiman |
source | https://packetstormsecurity.com/files/122811/Ultra-Mini-HTTPD-Stack-Buffer-Overflow.html |
title | Ultra Mini HTTPD Stack Buffer Overflow |