← Database

CVE-2022-47945

CRITICAL CVSS: 9.8 Published: 2022-12-23 Modified: 2026-06-17

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 Platforms

Thinkphp Thinkphp

Weakness Type

CWE-22, CWE-22

References