Document Title: =============== Office Assistant Pro v2.2.2 iOS - File Include Vulnerability References (Source): ==================== http://www.vulnerability-lab.com/get_content.php?id=1197 Release Date: ============= 2014-02-13 Vulnerability Laboratory ID (VL-ID): ==================================== 1197 Common Vulnerability Scoring System: ==================================== 6.9 Product & Service Introduction: =============================== Office Assistant Pro is an All-Powerful office suite specially designed for you to deal with the Office affairs anywhere, anytime on iPhone, iPad or iPod touch. With Office Assistant Pro, you can high-efficiently manage almost all type of files by `ONE PAGE` model and make Notes, Reminders, Meeting Recorder as below. The powerful file manager: high-efficiently File Management in only “ONE PAGE” and easily File Transferred between local and cloud storage. You can complete all of your operations in `ONE PAGE`. ( Copy of the Homepage: https://itunes.apple.com/us/app/office-assistant-pro-full/id449595696 ) Abstract Advisory Information: ============================== The Vulnerability Laboratory Research Team discovered a local file include web vulnerability in the official Beijing Elinasoft Technologies - Office Assistant Pro v2.2.2 iOS mobile web-application. Vulnerability Disclosure Timeline: ================================== 2014-02-13: Public Disclosure (Vulnerability Laboratory) Discovery Status: ================= Published Affected Product(s): ==================== Beijing Elinasoft Technologies Product: Office Assistant Pro - iOS Mobile Web Application 2.2.2 Exploitation Technique: ======================= Local Severity Level: =============== High Technical Details & Description: ================================ A local file include web vulnerability has been discovered in the official Beijing Elinasoft Office Assistant Pro v2.2.2 iOS mobile 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 web-application or mobile device. The web vulnerability is located in the `file name` value of the `Upload` module POST method request. Remote attackers are able to inject own files with malicious filename to compromise the mobile application. The attack vector is persistent and the request method is POST. The local file/path include execution occcurs in the main file dir index- or sub category item listing of the file manager. The security risk of the local file include web vulnerability is estimated as high with a cvss (common vulnerability scoring system) count of 6.8(+)|(-)6.9. Exploitation of the local file include web vulnerability requires no user interaction or privileged mobile web-application user account with password. Successful exploitation of the local web vulnerability results in mobile application or connected device component compromise by unauthorized local file include web attacks. Request Method(s): [+] [POST] Vulnerable Input(s): [+] Upload Vulnerable Parameter(s): [+] filename Affected Module(s): [+] Index File Dir Item Listing Proof of Concept (PoC): ======================= The local file include web vulnerability can be exploited by remote attackers without user interaction or privileged mobile application user account. For security demonstration or to reproduce the local file include web vulnerability follow the provided information and steps below. Manually exploitation steps to reproduce the vulnerability ... 1. Install the Beijing Elinasoft Office Assistant Pro v2.2.2 iOS mobile web-application 2. Now visit from a remot ecomputer the wifi web-interface of the service 3. Click the upload button and tamper the next request (POST method) 4. Exchange the filename value with your own malicious local file or path request 5. Continue after the intercept and refresh the index file dir 6. The malicious local file request execution occurs in the main file dir index listing 7. Successful reproduce of the vulnerability! PoC: Index File Dir Item Listing - Upload > [filename]