CVE-2014-125116
CRITICALHybridAuth 2.0.9-2.2.2 - Unauthenticated Remote Code Execution via install.php Config Injection
Title source: llmExploitation Summary
EIP tracks 3 public exploits for CVE-2014-125116.
PoCs published by Metasploit, @u0x, Pichaya Morimoto, bcoles, including Metasploit module exploits/unix/webapp/hybridauth_install_php_exec.
AI-analyzed exploit summary This Metasploit module exploits a PHP code execution vulnerability in HybridAuth versions 2.0.9 to 2.2.2 by leveraging an unremoved install.php file to overwrite the config.php file with malicious code. The exploit writes a backdoor, executes the payload, and attempts to clean up by removing the backdoor.
Description
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.
Exploits (3)
This Metasploit module exploits a PHP code execution vulnerability in HybridAuth versions 2.0.9 to 2.2.2 by leveraging an unremoved install.php file to overwrite the config.php file with malicious code. The exploit writes a backdoor, executes the payload, and attempts to clean up by removing the backdoor.
This exploit demonstrates a PHP code injection vulnerability in HybridAuth <= 2.2.2 via insufficient sanitization in the `install.php` script, allowing arbitrary command execution through crafted POST requests.
This Metasploit module exploits a PHP code execution vulnerability in HybridAuth by leveraging an unremoved install.php file to overwrite the config.php file with malicious code. It includes checks for vulnerability, payload delivery, and cleanup steps.
References (6)
Scores
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N