AppFish Offline Coder v2.2 iOS - Persistent Software Vulnerability
http://www.vulnerability-lab.com/get_content.php?id=1252
2014-04-08
1252
3.1
Offline coder allows you to enter HTML, CSS, Javascript and PHP code and have the output generated immediately.
You can code completely offline, with the exception of compiling PHP, which requires an internet connection.
(Copy of the Homepage: https://itunes.apple.com/us/app/offline-coder/id548233375 )
The Vulnerability Laboratory Research Team discovered a persistent input validation vulnerability in the official AppFish Offline Coder v2.2 iOS mobile application.
2014-04-08: Public Disclosure (Vulnerability Laboratory)
Published
AppFish
Product: Offline Coder - iOS Mobile Application 2.2
Local
Medium
A persistent input validation web vulnerability has been discovered in the official AppFish Offline Coder v2.2 iOS mobile application.
The vulnerability allows local attackers to inject own malicious persistent script codes on the application-side of the vulnerable software.
The vulnerability is located in the add `new snippet` function of the `your snippets` module. Attackers are able to inject own script codes by usage of the vulnerable
add `new snippet` function. The issue affects the `your snippets` module were all snippets will be visible in a drop down list by a history. The attack vector is
persistent on the application-side and the injection method is local with physical access. The vulnerable input is the `add new snippets` function and the execution
occurs in the `your snippets`. The script code execution occurs on every click or add of snippets and not in the editor sandbox context. The security risk of the
persistent web vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 3.1(+)|(-)3.2.
Exploitation of the persistent vulnerability requires a privileged device user account with physical access and low user interaction. Successful exploitation of the
persistent web vulnerability results in persistent external redirects, persistent phishing and persistent manipulation of vulnerable connected or affected modules.
Vulnerable Module(s):
[+] New Snippet (+)
Vulnerable Parameter(s):
[+] snippet name
Affected Module(s):
[+] Your Snippets - History Listing (Drop Down)
The persistent input validation vulnerability can be exploited by local attackers with physical device access and low user interaction.
For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue.
Manual steps to reproduce the vulnerability:
Picture(s):
http://www.vulnerability-lab.com/resources/pictures/1252/1.png
The vulnerability can be patched by a secure parse of the vulnerable `new snippet` input field.
Filter and encode also the vulnerable output names in the `my snippets` module.
The security risk of the persistent input validation web vulnerability is estimated as medium.
Vulnerability Laboratory [Research Team] - Benjamin Kunz Mejri ([email protected]) [www.vulnerability-lab.com]
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: [email protected] - [email protected] - [email protected]
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 ([email protected] or [email protected]) to get a permission.
Copyright © 2014 | Vulnerability Laboratory [Evolution Security]
– VULNERABILITY LABORATORY RESEARCH TEAM DOMAIN: www.vulnerability-lab.com CONTACT: [email protected]