ThinkPHP Remote Code Execution via invokefunction
CVE-2019-9082Known exploitedHigh
ThinkPHP before version 3.2.4 contains a vulnerability in its routing mechanism that allows attackers to execute arbitrary system commands on the server. An attacker can craft a specially formed URL using the public//?s=index/\think\app/invokefunction endpoint with parameters that invoke the call_user_func_array function to execute system commands. The attacker needs only network access to the affected application and no authentication is required.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
- Added to KEV
- 3 Nov 2021
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Detail
ThinkPHP. CISA required action: Apply updates per vendor instructions.
Weakness: CWE-306 (opens in a new tab), CWE-94 (opens in a new tab)
Affected versions
- thinkphp thinkphp: before 3.2.4
- opensourcebms open source background management system: 1.1.1
- zzzcms zzzphp: 1.6.1