Back to list
Private Photos v1.0 iOS - Persistent Path Web Vulnerability
Jul 28 2013 08:56PM
Vulnerability Lab (research vulnerability-lab com)
Private Photos v1.0 iOS - Persistent Path Web Vulnerability
Common Vulnerability Scoring System:
You must have some private photos you don`t want others peeping. Private photos is the perfect app to keep
your private photos safely in your iPad. Photos are protected by a password and you won`t worry your privacy
when friends playing your iPad.
Now you can enjoy your private photos anytime, anywhere with your iPad. The built-in viewer can zoom in,
zoom out, and slideshow photos, just like the experience with the native photos app.
- One password protection for photos viewing and transferring
- Web access via WIFI
- Multiple photos transferring
- Multi-touch support: swipe, zoom
- Slide show
Transferring your photos to the app is simple. You can easily access your private photos via WIFI from
desktop/laptop`s web browser (Make sure your desktop/laptop is in the same WIFI network as your iPad).
When connected to your iPad from web browser, you can select and transfer multiple photos with one click.
The transferring is also protected by the same password.
(Copy of the Homepage: https://itunes.apple.com/de/app/my-private-photos/id427134970 )
The Vulnerability Laboratory Research Team discovered 2 persistent web vulnerabilities in the Private Photos v1.0 application (Apple iOS - iPad & iPhone).
2013-07-25: Public Disclosure (Vulnerability Laboratory)
Product: Private Photos 1.0
A persistent input validation web vulnerability is detected in the Private Photos v1.0 application (Apple iOS - iPad & iPhone).
The bug allows an attacker (remote) to implement/inject malicious own malicious persistent script codes (application side).
The vulnerability is located in the `Add Directory` module of the web-server (http://localhost:8080) when processing to
request via POST method manipulated `folder-names`. The folder name will be changed to the path value without secure filter,
encode or parse. The injected script code will be executed in the path listing were the attacker injected earlier the code
and of course also in the index listing of the mobile web application.
There is a security protection to filter single and double quotes. When processing to inject the code a messagebox pops up
with the illegal characters exception. To bypass the exception the remote attacker can use simple obfuscated strings, embed code
or html/js script codes (frames, scripts, img, embed and co.) without single & double quotes.
Exploitation of the persistent web vulnerability requires low user interaction and a local low privilege mobile application account
with a password. Successful exploitation of the vulnerability can lead to persistent session hijacking (customers), account steal
via persistent web attacks, persistent phishing or persistent module context manipulation.
[+] Private Photos v1.0 - ITunes or AppStore (Apple)
[+] Add Directory
[+] path (DIRECTORYNAME)
[+] Index Listing
[+] Path/Folder Listing
Proof of Concept:
The persistent input validation web vulnerability can be exploited by remote attackers with low privilege application user account
and low or medium required user interaction. For demonstration or reproduce ...
PoC: Add Directory
<strong style="position:absolute; color:#226ebc; left:12px; top:0px; font-size:20px;">Private Photos</strong>
<div style="position:absolute; font-size:15px; color:#444; right:12px; top:20px; font-size:15px; line-height:24px;
text-align:right; width:360px;"><strong style="color:#F30;">The free version only allows 100 photos!</strong>
<br><strong>Get the full verison in <a href="http://itunes.apple.com/app/id427134970?mt=8" style="color:#F60;"
<div class="topbar_2" style="color:#FFC;">
<span style="position:absolute; left:10px;">Photos/ ><[PERSISTENT INJECTED SCRIPT CODE VIA ADD DIRECTORY NAME]">/
Note: The application will attach the injected payload to the main server as folder/path name. example: http://localhost:8080/[payload]<
The vulnerability can be patched by a restriction of the foldername input and a secure encoding of the input.
The output location of the foldername and path needs to be filtered and encoded by a secure mechanism.
The security risk of the persistent script code inject web vulnerability is estimated as medium.
Vulnerability Laboratory [Research Team] - Benjamin Kunz Mejri (bkm (at) evolution-sec (dot) com [email concealed])
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 (at) vulnerability-lab (dot) com [email concealed] - research (at) vulnerability-lab (dot) com [email concealed] - admin (at) evolution-sec (dot) com [email concealed]
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 (at) vulnerability-lab (dot) com [email concealed] or research (at) vulnerability-lab (dot) com [email concealed]) to get a permission.
Copyright © 2013 | Vulnerability Laboratory [Evolution Security]
VULNERABILITY LABORATORY RESEARCH TEAM
CONTACT: research (at) vulnerability-lab (dot) com [email concealed]
[ reply ]
Copyright 2010, SecurityFocus