CVE-2022-47945

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.

  • Published Dec 23, 2022
  • CVSS 9.8 critical
  • 28.7% chance of exploitation in the next 30 days (EPSS)
  • Public exploit code is available
  • A fix is available

In the news

CVE-2022-47945 at the National Vulnerability Database