Praetorian503 Posted February 19, 2013 Report Share Posted February 19, 2013 USB Sharp version 1.3.4 suffers from local file inclusion and persistent cross site scripting vulnerabilities.Title:======USB Sharp v1.3.4 iPad iPhone - Multiple Web VulnerabilitiesDate:=====2013-02-16References:===========http://www.vulnerability-lab.com/get_content.php?id=873VL-ID:=====873Common Vulnerability Scoring System:====================================6.3Introduction:=============USB Sharp Pro can turn your iPhone, ipad, ipod into a large Capacity, Portable and Wireless storage disk, Facilitate and efficient manage of your files!Support for editing php, js, html file.Support the open format, such as flv,asf,rmvb,avi,mpg,mkv,wmv.Dropbox Operate, multiple files upload & download, history,create folderAdd manualChrome and Firefox Supported upload multiple filesExtract files from encryption .rarOptimization pdf reader,Support for importing videos/photos to Photo LibrarySupport for exporting video from Photo LibrarySearch file(folder) name function addedPicture Viewer ImprovedUnzip type addedAdd authentication for local loginAdd authentication for wifi transferCustom background image;... ... ...Full screen view files SupportedMultiple photo import SupportedSorting by file name?create time and file typeView, copy, move, delete, rename, email, zip Compression and unzip files/foldersEncryption folder, protect your filesExtract all files from a compressed .zip fileGlide deleting functionSelect all and Cancel all operateTransferring files by wifi and iTunes file sharingEmail multiple files, folder SupportedOpen email attachmentsPhoto import SupportedOpen files in other applicationsLandscape mode supportediPad-compatiblePlain text: .txt .php .js .htmlDocument: .pdf .csv .rtf .rtfd .doc .docx .xls .xlsx .ppt .pptx (office 2003 or later)Image: .png .jpg .jpeg .gif .bmp .xbm .tif .tiffAudio: .mp3 .m4a .aacVideo: .mp4 .mov .m4v .3gp .flv .asf .rmvb .avi .mpg .mkv .wmvWeb: .htm .html .xhtmlCompressed: .zip .rarCost: 2,99$ - iPad or iPhone (iTunes or Appstore)(Copy of the Homepage: https://itunes.apple.com/us/app/usb-sharp-pro/id436590784 )Abstract:=========The Vulnerability Laboratory Research Team discovered multiple web vulnerabilities in the mobile USB Sharp v1.3.4 app for the apple ipad & iphone.Report-Timeline:================2013-02-16: Public DisclosureStatus:========PublishedAffected Products:==================Apple AppStoreProduct: USB Sharp - Web Server Application 1.3.4Exploitation-Technique:=======================RemoteSeverity:=========HighDetails:========1.1A local file include web vulnerability via POST request method is detected in the mobile USB Sharp v1.3.4 app for the apple ipad & iphone.The vulnerability allows remote attackers via POST method to inject local app webserver folders to request unauthorized local webserver files.The vulnerbility is located in the upload file module of the webserver (http://192.168.0.10/) when processing to load a manipulated filename via POST. The execution of the injected path or file request will occur when the attacker is processing to watch the file dir listing.Exploitation of the vulnerability requires no user interaction and can be done without privileged application user account (no password standard).Successful exploitation of the vulnerability results in unauthorized path or file access via local file or path include attack.Vulnerable Application(s): [+] USB Sharp v1.3.4 - ITunes or AppStore (Apple)Vulnerable Module(s): [+] File Upload (Web Server) [Remote]Vulnerable Parameter(s): [+] filenameAffected Module(s): [+] Filename Dir Index Listing1.2A persistent input validation vulnerability is detected in the mobile USB Sharp v1.3.4 app for the apple ipad & iphone.The bug allows an attacker (remote) to implement/inject malicious script code on the application side (persistent) of the app web service. The vulnerability is located in the index file dir listing module of the webserver (http://192.168.0.10:41491/) when processing to injectvia POST method manipulated new chxItem parameters. The persistent script code will be executed out of the main index file dir listing module when the service is processing to list the new foldername as item. Exploitation of the vulnerability requires low or medium user interaction without privileged application user account.Successful exploitation of the vulnerability can lead to persistent session hijacking (customers), account steal via persistent web attacks, persistent phishing or stable (persistent) certificate mail notification context manipulation.Vulnerable Application(s): [+] USB Sharp v1.3.4 - ITunes or AppStore (Apple)Vulnerable Module(s): [+] Index File Dir ListingVulnerable Parameter(s): [+] Foldername (items > chxItem)Affected Module(s): [+] Index ListingProof of Concept:=================1.1The local file include web vulnerability can be exploited by remote attackers without user interaction and without privileged application user account. For demonstration or reproduce ...Example:File > Upload via POST > Tamper Session > Change Filename Value to File or Path + Extension > Open Listing > Execution PoC: (POST)-----------------------------1337341202721337Content-Disposition: form-data; name="file"; filename="..%2F..%2F..%2F..%2Fcmd>home>tmp%00<'.JPG"Content-Type: image/jpgNote: Encode the request ago to bypass the encoding validation of the input. (%2F)Reference(s):http://192.168.0.10:41491/1.2The persistent input validation vulnerability can be exploited by remote attackers without user interaction and without privileged application user account. For demonstration or reproduce ...PoC: Index - Folder Dir Listing<tbody id="filelist"><tr><td><input name="chxItem" value="[PERSISTENT INJECTED SCRIPT CODE!]" onclick="selChkItem(this)" type="checkbox"></td><td><a href="/[PERSISTENT INJECTED SCRIPT CODE!]%3C?guid=47E79C76-D4C2-4086-B695-3CEE71A6B5F3&type=child" class="file"><span style="vertical-align:middle;"><img src="/Folder.png" style="border:0;vertical-align:middle" ;=""></span>%20"><[PERSISTENT INJECTED SCRIPT CODE!];)" <<="" a=""></td><td></td><td>2013-02-10 22:57:54</td><td><input name="commit" type="button" value="Delete" onclick="DelegateData('/[PERSISTENT INJECTED SCRIPT CODE!]','47E79C76-D4C2-4086-B695-3CEE71A6B5F3');" class='button' /></form></td></tr></tbody></table></iframe></a></td></tr><tr><td colspan="5"><span class="total">1 items</span></td></tr></tbody>Reference(s):http://192.168.0.10:41491/Risk:=====1.1The security risk of the local file/path include web vulnerability via POST request method is estimated as high(+).1.2The security risk of the persistent input validation web vulnerability is estimated as medium.Credits:========Vulnerability Laboratory [Research Team] - Benjamin Kunz Mejri (bkm@vulnerability-lab.com)Disclaimer:===========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.vulnerability-lab.com/registerContact: admin@vulnerability-lab.com - support@vulnerability-lab.com - research@vulnerability-lab.comSection: video.vulnerability-lab.com - forum.vulnerability-lab.com - news.vulnerability-lab.comSocial: twitter.com/#!/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0labFeeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.phpAny 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, sourcecode, 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 support@vulnerability-lab.com) to get a permission. Copyright © 2013 | Vulnerability Laboratory-- VULNERABILITY RESEARCH LABORATORYLABORATORY RESEARCH TEAMCONTACT: research@vulnerability-lab.comSource: PacketStorm Quote Link to comment Share on other sites More sharing options...