CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2022 · Thinkphp

CVE-2022-47945
Thinkphp vulnerability

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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Thinkphp. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Thinkphp runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Thinkphp products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.