I stumbled on to this while setting up an android vulnerability testing lab.
Title: Rooted SSH/SFTP Daemon Default Login Credentials
Author: Larry W. Cashdollar, @_larry0
OSVDB-ID: 110742
Date: 9/2/2014
Download: https://play.google.com/store/apps/details?id=web.oss.sshsftpDaemon
Description: "This app is a SSH terminal server AND an SFTP file server."
Vulnerability: The software comes pre-configured with a default login of User: root Password: abc123. This weak
password would easily be guessed leading to root compromise of the android system.
Recommended Fix: Request the user set the password upon installation.
Vendor: open.software.solutions[4t]gmail.com, Notified 9/3/2014
Greets to 44CON.
↧
Rooted SSH/SFTP Daemon Default Login Credentials
↧
Clickjacking-Exploit
Multistep Clickjacking Proof-of-Concept Exploit. Edit the config variable for own PoCs.
more here.............https://github.com/thomasskora/Clickjacking-Exploit
more here.............https://github.com/thomasskora/Clickjacking-Exploit
↧
↧
Hacking Canon Pixma Printers - Doomed Encryption
This blog post is another in the series demonstrating current insecurities in devices categorised as the ‘Internet of Things’. This instalment will reveal how the firmware on Canon Pixma printers (used in the home and by SMEs) can be modified from the Internet to run custom code. Canon Pixma wireless printers have a web interface that shows information about the printer, for example the ink levels, which allows for test pages to be printed and for the firmware to be checked for updates. This interface does not require user authentication allowing anyone to connect to the interface.
more here...........http://contextis.com/resources/blog/hacking-canon-pixma-printers-doomed-encryption/
more here...........http://contextis.com/resources/blog/hacking-canon-pixma-printers-doomed-encryption/
↧
Sprint, Windstream: Latest ISPs to hijack foreign networks
Last year my colleague Jim Cowie broke a story about routing hijacks that resulted in Internet traffic being redirected through Iceland and Belarus. Unfortunately, little has changed since then and the phenomenon of BGP route hijacking continues unabated and on an almost daily basis.
In the past three days, the situation has gone from bad to downright strange as we have observed a flurry of this activity. Now, for the first time, we’re seeing major US carriers, Sprint and Windstream, involved in hijacking, along with the return of an operation out of Poland targeting Brazilian networks. We see router misconfigurations regularly in BGP data – could these incidents also be explained by simple command-line typos?
more here..........http://www.renesys.com/2014/09/latest-isps-to-hijack/
In the past three days, the situation has gone from bad to downright strange as we have observed a flurry of this activity. Now, for the first time, we’re seeing major US carriers, Sprint and Windstream, involved in hijacking, along with the return of an operation out of Poland targeting Brazilian networks. We see router misconfigurations regularly in BGP data – could these incidents also be explained by simple command-line typos?
more here..........http://www.renesys.com/2014/09/latest-isps-to-hijack/
↧
2014-09-12 - NUCLEAR EK SENDS SILVERLIGHT EXPLOIT
This is the first time I can remember seeing Nuclear EK send a Silverlight exploit.
more here........http://malware-traffic-analysis.net/2014/09/12/index.html
more here........http://malware-traffic-analysis.net/2014/09/12/index.html
↧
↧
Paper: ANDRUBIS - 1,000,000 Apps Later: A View on Current Android Malware Behaviors
Abstract—Android is the most popular smartphone operating
system with a market share of 80%, but as a consequence,
also the platform most targeted by malware. To deal with
the increasing number of malicious Android apps in the wild,
malware analysts typically rely on analysis tools to extract
characteristic information about an app in an automated fashion.
While the importance of such tools has been addressed by the
research community, the resulting prototypes remain limited in
terms of analysis capabilities and availability.
In this paper we present ANDRUBIS, a fully automated,
publicly available and comprehensive analysis system for
Android apps. ANDRUBIS combines static analysis with dynamic
analysis on both Dalvik VM and system level, as well as
several stimulation techniques to increase code coverage. With
ANDRUBIS, we collected a dataset of over 1,000,000 Android apps,
including 40% malicious apps. This dataset allows us to discuss
trends in malware behavior observed from apps dating back as
far as 2010, as well as to present insights gained from operating
ANDRUBIS as a publicly available service for the past two years.
more here....................http://iseclab.org/papers/andrubis_badgers14.pdf
system with a market share of 80%, but as a consequence,
also the platform most targeted by malware. To deal with
the increasing number of malicious Android apps in the wild,
malware analysts typically rely on analysis tools to extract
characteristic information about an app in an automated fashion.
While the importance of such tools has been addressed by the
research community, the resulting prototypes remain limited in
terms of analysis capabilities and availability.
In this paper we present ANDRUBIS, a fully automated,
publicly available and comprehensive analysis system for
Android apps. ANDRUBIS combines static analysis with dynamic
analysis on both Dalvik VM and system level, as well as
several stimulation techniques to increase code coverage. With
ANDRUBIS, we collected a dataset of over 1,000,000 Android apps,
including 40% malicious apps. This dataset allows us to discuss
trends in malware behavior observed from apps dating back as
far as 2010, as well as to present insights gained from operating
ANDRUBIS as a publicly available service for the past two years.
more here....................http://iseclab.org/papers/andrubis_badgers14.pdf
↧
Maximum Overkill: ROP exploit for Tinysploit
A while ago, someone posted a link to Tinysploit in the IRC channel of #vulnhub. It's an easy challenge, geared towards exploit development. In it, you'll find a vulnerable http server which can be exploited by a simple buffer overflow. The stack is set to executable. This is pretty easy, so instead I wanted to see if I could build a ROP exploit for it.
more here.........http://staringintodevnull.blogspot.nl/2014/09/maximum-overkill-rop-exploit-for.html
↧
Possible Data Leakage of Email and Passwords Bitcoin Lixter
Some entity or entities calling themselves anonymous claim to have compromised the crypto trading platform Lixter in the name of the infamous Stratfor hacker Jeremy Hammond. The leak can be found here.............. http://siph0n.net/exploits.php?id=3554
↧
Win32.BlackBerryBBC Malware Analysis
Today I got a mail containing a malware from security@bbc.co.uk. The sender’s address is forged and this is kind of Email Spoofing. Email contains a description about malwares and encourages the receiver to install a file called Anti-Vir.rar.
more here........http://quequero.org/2014/09/win32-blackberrybbc-malware-analysis/
more here........http://quequero.org/2014/09/win32-blackberrybbc-malware-analysis/
↧
↧
Detecting Phishing Sites in Your Logs
I recently read the Anti-Phishing Working Group’s 2Q 2014 report and saw the number of unique phishing sites. I then compared the numbers with the previous year.
more here..........http://www.kahusecurity.com/2014/detecting-phishing-sites-in-your-logs/
more here..........http://www.kahusecurity.com/2014/detecting-phishing-sites-in-your-logs/
↧
Say Hello to Astrum EK
I was chasing something else (the Kovter adfraud's Sweet Orange thread - Kovter is not a ransomware anymore (since at least march 2014)) when I received bullets from an undocumented "weapon" : an exploit kit that seems to be private (for now?) and based on the infection path (between an Adxpansion badvert on a porn website and the https goo.gl link to the landing ) in use by a group that was traffing to Reveton team's EK threads (so via Cool then Angler EK) :
Say Hello to Astrum EK
more here............http://malware.dontneedcoffee.com/2014/09/astrum-ek.html
Say Hello to Astrum EK
more here............http://malware.dontneedcoffee.com/2014/09/astrum-ek.html
↧
AppSensor
AppSensor is a real-time application intrusion detection framework from OWASP
more here...........https://github.com/jtmelton/appsensor
more here...........https://github.com/jtmelton/appsensor
↧
OS X IOKit kernel code execution due to lack of bounds checking in IOAccelDisplayPipeTransaction2::set_plane_gamma_table
IOAccelDisplayPipe2::transaction_set_plane_gamma_table fails to verify the second dword of IOAccelDisplayPipeGammaTableArgs which can be controlled by calling the external method with selector 5 of IOAccelDisplayPipeUserClient2.
This unchecked dword is passed to IOAccelDisplayPipeTransaction2::set_plane_gamma_table where it is used as an index to read a pointer to a c++ object from an array. By specifying a large index this will read a c++ object pointer out-of-bounds. The code then calls a virtual function on this object.
Impact:
This userclient can be instantiated in the chrome GPU process sandbox and the safari renderer sandbox.
more here............https://code.google.com/p/google-security-research/issues/detail?id=33
This unchecked dword is passed to IOAccelDisplayPipeTransaction2::set_plane_gamma_table where it is used as an index to read a pointer to a c++ object from an array. By specifying a large index this will read a c++ object pointer out-of-bounds. The code then calls a virtual function on this object.
Impact:
This userclient can be instantiated in the chrome GPU process sandbox and the safari renderer sandbox.
more here............https://code.google.com/p/google-security-research/issues/detail?id=33
↧
↧
RPCSniffer
↧
Tango down report of OP China ELF DDoS'er
We are releasing the take-down (Tango OP) project information of our current on-going operation against the ELF DDoS malware, the threat with origin from China.
more here........http://blog.malwaremustdie.org/2014/09/tango-down-report-of-op-china-elf-ddoser.html
more here........http://blog.malwaremustdie.org/2014/09/tango-down-report-of-op-china-elf-ddoser.html
↧
AppBuyer: New iOS Malware Steals Apple ID and Password to Buy Apps
Palo Alto Networks recently found and analyzed a new iOS malware affecting jailbroken iOS devices in the wild. The malware will connect to C&C server, download and execute malicious executable files, hook network APIs to steal user’s Apple ID and password and upload to the attacker’s server, and simulate Apple’s proprietary protocols to buy apps from the official App Store by victim’s identity. We named this new family AppBuyer.
more here............http://researchcenter.paloaltonetworks.com/2014/09/appbuyer-new-ios-malware-steals-apple-id-password-buy-apps/
more here............http://researchcenter.paloaltonetworks.com/2014/09/appbuyer-new-ios-malware-steals-apple-id-password-buy-apps/
↧
The NSA Breach of Telekom and Other German Firms (Inclusive Docs)
According to top-secret documents from the NSA and the British agency GCHQ, the intelligence agencies are seeking to map the entire Internet, including end-user devices. In pursuing that goal, they have broken into networks belonging to Deutsche Telekom.
more here...........http://www.spiegel.de/international/world/snowden-documents-indicate-nsa-has-breached-deutsche-telekom-a-991503.html
Documents can be found by clicking on the links below
http://www.spiegel.de/media/media-34756.pdf
http://www.spiegel.de/media/media-34757.pdf
http://www.spiegel.de/media/media-34758.pdf
more here...........http://www.spiegel.de/international/world/snowden-documents-indicate-nsa-has-breached-deutsche-telekom-a-991503.html
Documents can be found by clicking on the links below
http://www.spiegel.de/media/media-34756.pdf
http://www.spiegel.de/media/media-34757.pdf
http://www.spiegel.de/media/media-34758.pdf
↧
↧
IDA Sploiter
IDA Sploiter is a plugin for Hex-Ray's IDA Pro disassembler designed to enhance IDA's capabilities as an exploit development and vulnerability research tool. Some of the plugin's features include a powerful ROP gadgets search engine, semantic gadget analysis and filtering, interactive ROP chain builder, stack pivot analysis, writable function pointer search, cyclic memory pattern generation and offset analysis, detection of bad characters and memory holes, and many others.
more here...........http://thesprawl.org/projects/ida-sploiter/
more here...........http://thesprawl.org/projects/ida-sploiter/
↧
Having fun with AndroidManifest.xml
Before w will get back to Sandrorat let's have some fun. It's weekend after all, or rather it was weekend when I wrote this post. Everyone that ever tried to see the insides of the APK file knows what's an AndroidManifest.xml file is. Some even know that, inside the APK, it's not a real XML, but rather a compressed, binary form of an original XML.
This compressed form was first abused in the Android.OBAD malware. Compressed form of an XML differs with the real XML in at least one key aspect, hidden in the String Pool. Let's have a look at a compressed AndroidManifest.xml file of the previously mentioned Sandrorat sample and see if we can do something interesting with it.
more here..........http://maldr0id.blogspot.com/2014/09/having-fun-with-androidmanifestxml.html
This compressed form was first abused in the Android.OBAD malware. Compressed form of an XML differs with the real XML in at least one key aspect, hidden in the String Pool. Let's have a look at a compressed AndroidManifest.xml file of the previously mentioned Sandrorat sample and see if we can do something interesting with it.
more here..........http://maldr0id.blogspot.com/2014/09/having-fun-with-androidmanifestxml.html
↧
Briefcase 4.0 iOS - Code Execution & File Include Vulnerability
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]
===============
Briefcase 4.0 iOS - Code Execution & File Include Vulnerability
References (Source):
====================
http://www.vulnerability-lab.
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/
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&
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.
PoC: Create Folder (Add Folder)
<div class="file-name-c"><p class="file-name-title">>"<%
menuType="Starred" fileId="C00D9F05-9C80-4E6D-
<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><
<label class="file-date-title">18:46<
--- 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.
Accept-Encoding[gzip, deflate]
Content-Type[application/x-
X-Requested-With[
Referer[http://localhost/]
Content-Length[275]
Connection[keep-alive]
Pragma[no-cache]
Cache-Control[no-cache]
POST-Daten:
{"header":{"clientId":"
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.
Accept-Encoding[gzip, deflate]
Content-Type[application/x-
X-Requested-With[
Referer[http://localhost/]
Content-Length[242]
Connection[keep-alive]
Pragma[no-cache]
Cache-Control[no-cache]
POST-Daten:
{"header":{"clientId":"
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/
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.
Accept-Language[de,en-US;q=0.
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/
Accept-Language[de,en-US;q=0.
Accept-Encoding[gzip, deflate]
Referer[http://localhost/]
Reference(s):
http://localhost/file/
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/./
PoC: Filename (Upload Files)
<div class="file-row" createdate="14-09-07 18:42:20" filesize="538" parent="001B0541-AA4D-4072-
--- 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.
Accept-Encoding[gzip, deflate]
X-Requested-With[
Referer[http://localhost/]
Content-Length[991]
Content-Type[multipart/form-
Connection[keep-alive]
Pragma[no-cache]
Cache-Control[no-cache]
POST-Daten:
POST_DATA[--------------------
Content-Disposition: form-data; name="params"folderId:
-----------------------------
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.
Accept-Encoding[gzip, deflate]
Content-Type[application/x-
X-Requested-With[
Referer[http://localhost/]
Content-Length[242]
Connection[keep-alive]
Pragma[no-cache]
Cache-Control[no-cache]
POST-Daten:
{"header":{"clientId":"
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/
Feeds: vulnerability-lab.com/rss/rss.
Programs: vulnerability-lab.com/submit.
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
Copyright © 2014 | Vulnerability Laboratory [Evolution Security]
↧