CVE-2022-47945
ThinkPHP Framework vulnerable to remote code execution
9.8
CRITICAL
CVSS 3.1
EPSS 15.5%
Description
ThinkPHP Framework before 6.0.14 allows local file inclusion via the lang parameter when the language pack feature is enabled (`lang_switch_on=true`). An unauthenticated and remote attacker can exploit this to execute arbitrary operating system commands, as demonstrated by including `pearcmd.php`.
How to fix CVE-2022-47945
To remediate CVE-2022-47945, upgrade the affected package to a fixed version below.
- —upgrade to 6.0.14 or later
Is CVE-2022-47945 being exploited?
Moderate — EPSS is 15.5%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (1)
- from 0, < 6.0.14
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |