Code Injection in ThinkPHP5 Framework - #VU16655

 

Code Injection in ThinkPHP5 Framework - #VU16655

Published: December 22, 2018


Vulnerability identifier: #VU16655
CSH Severity: High
CVSS v4: 9.3 [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]
CVE-ID: N/A
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary PHP code on the target system.

The vulnerability exists due to improper input validation in "/index.php" script when processing data passed via the "vars[1][]" HTTP GET parameter. A remote attacker can send a specially crafted request to the vulnerable application and execute arbitrary PHP code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Note: this vulnerability is being actively exploited in the wild in December 2018.


Affected software

ThinkPHP5 Framework

Remediation

Install updates from vendor's website.

ThinkPHP5 Framework - addressed in versions 5.0.23, 5.1.31

External References

Related Security Bulletins