What’s Vulnerable › Vulnerabilities

CVE-2022-47945

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.

Affected products

How to fix

Upgrade to a fixed version: ThinkPHP 6.0.14. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-47945 or the next vulnerability affects your stack