Auth bypass in Hybridauth
CVE-2014-125116
A remote code execution vulnerability exists in HybridAuth versions 2.0.9 through 2.2.2 due to insecure use of the install.php installation script. The script remains accessible after deployment and fails to sanitize input before writing to the application’s config.php file. An unauthenticated attacker can inject arbitrary PHP code into config.php, which is later executed when the file is loaded. This allows attackers to achieve remote code execution on the server. Exploitation of this issue will overwrite the existing configuration, rendering the application non-functional.
Vulnerability class: Broken Authentication
Published · last modified .
EPSS exploit prediction
EPSS 0.027, 86.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Hybridauth — versions 2.0.9
Weakness classification (CWE)
Public exploits and proof-of-concept code
Metasploit modules
References
- www.exploit-db.com/exploits/34390 (exploit)
- www.exploit-db.com/exploits/34273 (exploit)
- raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/u… (exploit)
- vulners.com/metasploit/MSF:EXPLOIT-UNIX-WEBAPP-HYBRIDAUTH_INSTALL_PHP_EXEC- (third-party-advisory)
- hybridauth.github.io/ (product)
- www.vulncheck.com/advisories/hybridauth-unauth-rce-via-config-injection (third-party-advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.