Lucene search
K

PhotoSync v1.1.3 Android - Local Command Injection Vulnerability

🗓️ 25 Jan 2015 00:00:00Reported by hadji samirType 
zdt
 zdt
🔗 0day.today👁 23 Views

PhotoSync v1.1.3 Android - Local Command Injection Vulnerability. Allows remote attackers to manipulate system values and compromise the application. Medium risk. (CVSS 5.2

Code
Product & Service Introduction:
===============================
Its all about one thing – the best and easiest way to transfer, backup and share your photos and videos! PhotoSync allows you to transfer your 
photos and videos between your Android device, iPhone / iPad and computer over your local Wi-Fi network.

(Copy of the Vendor Homepage: https://play.google.com/store/apps/details?id=com.touchbyte.photosync )

Technical Details & Description:
================================
A local command inject web vulnerability has been discovered in the official PhotoSync 1.1.3 Android mobile web-application.
The vulnerability allows remote attackers to inject own commands by usage of stored manipulated system/device values to 
compromise the android mobile web-application.

The command inject vulnerability is located in the vulnerable `albumname` value of the `uploadImageAlbumSelect` module. 
Local attackers are able to inject own malicious system specific commands or local path value to requests by usage of 
the vulnerable `albumname` value. The execution of the command occurs in the `listAlbum` module of the mobile application. 
Attackers are able to manipulate the local default photo app albumname values to provoke with a client-side GET method 
request the command injection. The attack vector is located on the application-side and the injection requires physical 
device access or a local low privileged device user account. Local attackers are also able to exploit the albumname 
validation issue in combination with persistent injected script codes.

The security risk of the local command/path inject vulnerability is estimated as medium with a cvss (common vulnerability 
scoring system) count of 5.2. Exploitation of the command/path inject vulnerability requires a low privileged android device 
account with restricted access and no user interaction. Successful exploitation of the vulnerability results in unauthorized 
execution of system specific commands and unauthorized path value requests to compromise the mobile iOS application and the 
connected device components.


Request Method(s):
				[+] [GET]

Vulnerable Module(s):
				[+] uploadImageAlbumSelect
 
Vulnerable Parameter(s):
				[+] albumname & name

Affected Module(s):
				[+] listAlbum


Proof of Concept (PoC):
=======================
The local command inject web vulnerability can be exploited by local attackers (network) 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 Session Logs [GET] (Execution) ---
Status: 200[OK]
GET /uploadImageAlbumSelect/%3;[LOCAL COMMAND INJECTION VULNERABILITY!]%3E HTTP/1.1
Host: 192.168.1.4:8080
User-Agent: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Cookie: WSPref=0%2C3%2C0%2Cemmc%2Cdefault%2C1; skey=
Connection: keep-alive


PoC: uploadImageAlbumSelect

<body>
    <div id="page_margins">
      <div id="page">
        <div class="head">
          <div class="nologo">
    <div class="buttons-left">
<a class="button" href="/listAlbum/;[LOCAL COMMAND INJECTION VULNERABILITY!]" id="backurl" name="backurl"><span class="l"></span>
<span class="m">Back</span><span class="r"></span></a>
    </div>
        <div class="buttons-right">
       </div>
      </div>
    </div>



Reference(s):
http://localhost:8080/
http://localhost:8080/uploadImageAlbumSelect/


Security Risk:
==============
The security risk of the local command inject web vulnerability in the photosync application is estimated as medium. (CVSS 5.2)



#  0day.today [2018-01-06]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation