Vulnerabilities > CVE-2013-5019 - Buffer Errors vulnerability in Vector Ultra Mini Httpd 1.21

047910
CVSS 10.0 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
low complexity
vector
CWE-119
critical
exploit available
metasploit

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
Vector
1

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

  • descriptionUltra Mini HTTPD 1.21 - Stack Buffer Overflow. CVE-2013-5019. Remote exploit for windows platform
    fileexploits/windows/remote/26739.py
    idEDB-ID:26739
    last seen2016-02-03
    modified2013-07-11
    platformwindows
    port80
    published2013-07-11
    reportersuperkojiman
    sourcehttps://www.exploit-db.com/download/26739/
    titleUltra Mini HTTPD 1.21 - Stack Buffer Overflow
    typeremote
  • descriptionUltra Mini HTTPD 1.21 - POST Request Stack Buffer Overflow. CVE-2013-5019. Remote exploit for windows platform
    fileexploits/windows/remote/31736.py
    idEDB-ID:31736
    last seen2016-02-03
    modified2014-02-18
    platformwindows
    port80
    published2014-02-18
    reporterSumit
    sourcehttps://www.exploit-db.com/download/31736/
    titleUltra Mini HTTPD 1.21 - POST Request Stack Buffer Overflow
    typeremote
  • descriptionUltra MiniHTTPd 1.2 - 'GET' Remote Stack Buffer Overflow PoC. CVE-2013-5019. Local exploit for Windows_x86 platform
    fileexploits/windows_x86/local/44472.py
    idEDB-ID:44472
    last seen2018-05-24
    modified2018-04-17
    platformwindows_x86
    port
    published2018-04-17
    reporterExploit-DB
    sourcehttps://www.exploit-db.com/download/44472/
    titleUltra MiniHTTPd 1.2 - 'GET' Remote Stack Buffer Overflow PoC
    typelocal
  • descriptionMini HTTPD 1.21 - Stack Buffer Overflow POST Exploit. CVE-2013-5019. Remote exploit for windows platform
    fileexploits/windows/remote/31814.py
    idEDB-ID:31814
    last seen2016-02-03
    modified2014-02-22
    platformwindows
    port80
    published2014-02-22
    reporterOJ Reeves
    sourcehttps://www.exploit-db.com/download/31814/
    titleMini HTTPD 1.21 - Stack Buffer Overflow POST Exploit
    typeremote
  • descriptionUltra Mini HTTPD Stack Buffer Overflow. CVE-2013-5019. Remote exploit for windows platform
    idEDB-ID:27608
    last seen2016-02-03
    modified2013-08-15
    published2013-08-15
    reportermetasploit
    sourcehttps://www.exploit-db.com/download/27608/
    titleUltra Mini HTTPD Stack Buffer Overflow

Metasploit

descriptionThis 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.
idMSF:EXPLOIT/WINDOWS/HTTP/ULTRAMINIHTTP_BOF
last seen2020-06-08
modified2017-07-24
published2013-08-11
referenceshttps://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-5019
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/http/ultraminihttp_bof.rb
titleUltra Mini HTTPD Stack Buffer Overflow

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/122811/ultraminihttp_bof.rb.txt
idPACKETSTORM:122811
last seen2016-12-05
published2013-08-14
reportersuperkojiman
sourcehttps://packetstormsecurity.com/files/122811/Ultra-Mini-HTTPD-Stack-Buffer-Overflow.html
titleUltra Mini HTTPD Stack Buffer Overflow