Remote PHP including in PHPCow - CVE-2008-5227
Published: December 14, 2016 / Updated: March 16, 2017
Vulnerability identifier: #VU1312
CSH Severity: Critical
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:A/U:Red
CVE-ID: CVE-2008-5227
CWE-ID: CWE-98
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: PHPCow LLC
Affected software:
PHPCow
PHPCow
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary PHP code on the target application.
The weakness exists due to improper validation of input passed via the "skin_file" HTTP parameter to "templateie_install.class.php" script. A remote attacker can send a specially-crafted HTTP request to vulnerable script, specify a malicious file from a remote system and execute arbitrary PHP code on the system.
Successful exploitation of the vulnerability results in arbitrary PHP code execution on the vulnerable application.
Note: the vulnerability was being actively exploited.
The weakness exists due to improper validation of input passed via the "skin_file" HTTP parameter to "templateie_install.class.php" script. A remote attacker can send a specially-crafted HTTP request to vulnerable script, specify a malicious file from a remote system and execute arbitrary PHP code on the system.
Successful exploitation of the vulnerability results in arbitrary PHP code execution on the vulnerable application.
Note: the vulnerability was being actively exploited.
How to mitigate CVE-2008-5227
Install update from vendor's website.