# Exploit Title: ASTPP VoIP 4.0.1 - Remote Code Execution # Date: 2019-11-18 # Exploit Author: Fabien AUNAY # Vendor Homepage: https://www.astppbilling.org/ # Software Link: https://github.com/iNextrix/ASTPP/tree/v4.0.1 # Version: 4.0.1 vendor default setup script # Tested on: Debian 9 - CentOS 7 # CVE : - ########################################################################################################### ASTPP 4.0.1 VoIP Billing Chained Remote Root A Smart TelePhony Platform for Individual Business, Wholesale and Residential VoIP Service Providers! It is available as an open source solution. It means without any investment, one can start his telephony business using ASTPP. ASTPP, being one of the most powerful VoIP Billing Software, thrives to benefit its users by providing a comprehensive telephony solution. This open source solution has lifted itself up from a mere VoIP billing solution to “A Smart TelePhony Platform”. The latest version of ASTPP is provisioned with some advanced functional modules which are designed to eliminate the need of multiple solutions to run a VoIP business. It has integrated hosted IP PBX, Class 4/5 Softswitch, and complete invoicing and billing solution developed by leveraging Smart Technology. Steps are as follows: Objective 1 : Edit the SIP device and try to test user inputs Objective 2 : Try to trigger a XSS Objective 3 : Try to evade filters Objective 4 : Session Hijack Objective 5 : Plugin command injection Objective 6 : Reverse shell Objective 7 : Root the system Objective 8 : Looting ########################################################################################################### Objective 1 : html code in SIP Caller Number POC: ASTPP html test Objective 2 : XSS injection in SIP Caller Name POC: Objective 3 : XSS document.cookie evasion POC: Objective 4 : XSS document.cookie grabber POC: Alternative : if the user input is limited, it is possible in some cases to modify the length with the inspector POC: