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.
{
"github_reviewed": true,
"nvd_published_at": "2022-12-23T21:15:00Z",
"github_reviewed_at": "2023-01-04T13:51:57Z",
"severity": "CRITICAL",
"cwe_ids": [
"CWE-22"
]
}