vendor:
phpFox
by:
Egidio Romano aka EgiX
7,5
CVSS
HIGH
Remote Command Execution
78
CWE
Product Name: phpFox
Affected Version From: 3.0.1
Affected Version To: 3.0.1
Patch Exists: YES
Related CWE: N/A
CPE: a:phpfox:phpfox:3.0.1
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2012
phpFox <= 3.0.1 (ajax.php) Remote Command Execution Exploit
This proof of concept code was written for educational purpose only. It exploits a vulnerability in the Phpfox_Module::getComponent() method defined into /include/library/phpfox/module/module.class.php. Due to $sClass parameter is "explode()d" by dots at line 716 and to satisfy the regex at line 748, it isn't possible to inject code which contains dots or parentheses, but is still possible to inject semi-arbitrary OS commands leveraging of PHP's backtick operator. Input passed through $_POST[core][call] (or $_POST[phpfox][call] in v2) to /static/ajax.php is passed to getComponent() method as $sClass parameter.
Mitigation:
Upgrade to the latest version of phpFox