9.8
CRITICAL
CVE-2022-47945
ThinkPHP Lang Parameter Remote Code Execution
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.

INFO

Published Date :

Dec. 23, 2022, 9:15 p.m.

Last Modified :

Aug. 8, 2023, 2:21 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2022-47945 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2022-47945 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Thinkphp thinkphp
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-47945.

URL Resource
https://github.com/top-think/framework/commit/c4acb8b4001b98a0078eda25840d33e295a7f099 Patch Third Party Advisory
https://github.com/top-think/framework/compare/v6.0.13...v6.0.14 Patch Third Party Advisory
https://tttang.com/archive/1865/ Exploit Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

miner.bldbd/xmrig sample

Updated: 7 months, 2 weeks ago
1 stars 0 fork 0 watcher
Born at : Jan. 9, 2024, 10:10 a.m. This repo has been linked 1 different CVEs too.

essential templates for kenzer [DEPRECATED]

kenzer vulnerabilities kenzer-templates arpsyndicate

Python Shell Ruby

Updated: 1 month, 1 week ago
106 stars 32 fork 32 watcher
Born at : Sept. 18, 2020, 9:03 p.m. This repo has been linked 1653 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-47945 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-47945 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Dec. 30, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/top-think/framework/commit/c4acb8b4001b98a0078eda25840d33e295a7f099 No Types Assigned https://github.com/top-think/framework/commit/c4acb8b4001b98a0078eda25840d33e295a7f099 Patch, Third Party Advisory
    Changed Reference Type https://github.com/top-think/framework/compare/v6.0.13...v6.0.14 No Types Assigned https://github.com/top-think/framework/compare/v6.0.13...v6.0.14 Patch, Third Party Advisory
    Changed Reference Type https://tttang.com/archive/1865/ No Types Assigned https://tttang.com/archive/1865/ Exploit, Third Party Advisory
    Added CWE NIST NVD-CWE-Other
    Added CPE Configuration OR *cpe:2.3:a:thinkphp:thinkphp:*:*:*:*:*:*:*:* versions up to (excluding) 6.0.14
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-47945 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

5.37 }} 0.53%

score

0.93213

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability