CVE-2022-47945
Confirmed PUBLISHEDThinkPHP Framework before 6.0.14 allows local file inclusion via the lang parameter when the language pack feature is enabled...
Not yet in CISA KEV
Recommended Action
Prioritize immediate patching and validate internet-facing exposure. Monitor for matching exploitation attempts in your environment.
At a Glance
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.
- CVE Published
- Dec 23, 2022
- Exploitation Reported
- Jun 21, 2025
- CVSS
- 9.8 Critical
- EPSS
- 15.5%
Affected Versions
| Vendor | Product | Version | Status |
|---|---|---|---|
| n/a |
n/a
|
n/a |
Affected |
CVE References
- tttang.com/archive/1865 tttang.com · CVE Record https://tttang.com/archive/1865/
- GitHub — top-think/framework github.com · CVE Record https://github.com/top-think/framework/commit/c4acb8b4001b98a0078eda2...
- GitHub — top-think/framework github.com · CVE Record https://github.com/top-think/framework/compare/v6.0.13...v6.0.14
Recommended Actions
- Prioritize immediate patching and validate internet-facing exposure. Monitor for matching exploitation attempts in your environment.
- Review sensor telemetry for request paths, attacker IPs, and payload patterns that may inform detection and exposure validation.
- Check enrichment artifacts for scanner coverage and available PoCs before rolling remediation validation.
- Use the Pro API to automate enrichment, telemetry, and workflow delivery for VM, SOC, and CTI pipelines.
Known Exploited Vulnerability Sources
Catalogues that list this CVE as a known exploited vulnerability.
Per-source evidence links for KEV attestations are available through the KEVIntel Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| The Shadowserver First | 2025-06-21 00:00 UTC |
| KEVIntel | 2026-06-09 03:19 UTC |
Operational indicators for this CVE are listed on the Detection tab.
Observed Exploitation Attempts
Exploitation attempts against this vulnerability observed first-hand by KEVIntel private honeypots over the last 30 days.
- Attempts Observed
- 1,974
- Unique Attacker IPs
- 344
- Attacker Countries
- 🇦🇪 🇦🇲 🇦🇷 🇦🇺 🇧🇬 🇧🇷 🇨🇦 🇨🇭 🇨🇱 🇨🇳 🇨🇿 🇩🇪 🇪🇸 🇫🇮 🇫🇷 🇬🇧 🇬🇪 🇬🇷 🇭🇰 🇮🇩 🇮🇪 🇮🇱 🇮🇳 🇮🇷 🇮🇸 🇮🇹 🇯🇵 🇰🇷 🇰🇿 🇱🇺 🇱🇻 🇲🇩 🇲🇼 🇲🇽 🇲🇾 🇳🇱 🇵🇦 🇵🇪 🇵🇱 🇵🇹 🇷🇴 🇷🇺 🇸🇨 🇸🇪 🇸🇬 🇸🇾 🇹🇭 🇹🇷 🇹🇼 🇺🇦 🇺🇸 🇺🇿 🇻🇬 🇻🇳 🇿🇦 🇿🇲
- Sensors Observed
- 23
Exploitation Attempts Over the Last 43 Days
First observed (all time) 2026-06-08 22:26 UTC · Last observed 2026-07-19 08:48 UTC
See more exploitation detail
- Pro — sensor software/region breakdown and 24h/7d window summaries.
- Enterprise — raw attacker IPs, request paths, User-Agents, and payloads.
Indicators of Compromise (IoCs)
Attacker IP IoCs observed in KEVIntel sensors are available to Pro and Enterprise accounts on the Detection tab and through the Pro API.
Learn about Pro API accessObserved Detection Signals (30d)
Aggregate counts from KEVIntel sensor telemetry for this CVE.
- Distinct request paths
- 1
- Distinct User-Agents
- 2
The specific request paths and User-Agents attackers are using are available on Pro and Enterprise plans.
Scanner Artifacts
Nuclei and Metasploit references linked to this CVE.
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-47945.yaml | Apr 25, 2025 |
Virtual Patch
Compensating WAF rules to help reduce exposure to this CVE. Rule content and deployable vendor exports are available with KEVIntel Enterprise.
Supported Platforms
Enterprise feature. Virtual patch rule content and deployable vendor exports (ModSecurity, Cloudflare, AWS WAF) are available to KEVIntel Enterprise users.
GET /api/v2/enterprise/virtual_patches?cve_id=CVE-2022-47945
CVSS Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploitation Status
Exploited in the wild
Recorded 2025-06-21 00:00:00 UTC · The Shadowserver
Active exploitation observed
Recorded 2026-06-09 03:19:00 UTC · KEVIntel sensor
Proof of concept available
Recorded 2026-06-12 14:20:35 UTC · Nuclei Templates
Weaknesses (CWE)
-
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Scanner Integrations
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-47945.yaml | Apr 25, 2025 |
Potential Proof of Concepts
These PoCs are unverified and could contain malware. Use at your own risk.
nuclei · Created Unknown
Timeline
Key exploitation, disclosure, scanner coverage, and KEV attestation events for this CVE.
-
14:21 UTC 27 days ago14:21 UTC · 27 days ago
Virtual patch available
Compensating WAF rule available to block exploitation
-
14:20 UTC about 1 month ago14:20 UTC · about 1 month ago
Public PoC available
Public proof-of-concept code published
-
03:19 UTC about 1 month ago03:19 UTC · about 1 month ago
Observed by KEVIntel sensors
Evidence-backed exploitation signal
-
22:26 UTC about 1 month ago22:26 UTC · about 1 month ago
Indicators of compromise added (353)
Indicators of compromise recorded
-
00:00 UTC about 1 year ago00:00 UTC · about 1 year ago
Added to KEVIntel KEV Feed
High-confidence, third-party attested exploitation
-
00:00 UTC about 1 year ago00:00 UTC · about 1 year ago
Nuclei template available
Scanner coverage available
-
00:00 UTC over 3 years ago00:00 UTC · over 3 years ago
CVE published
Vulnerability disclosed publicly
-
00:00 UTC over 3 years ago00:00 UTC · over 3 years ago
CVE ID reserved
Identifier reserved by the CNA
Automate This Intelligence with the Pro API
Confidence scoring, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
Pro API Example
GET /api/v2/pro/kevs/CVE-2022-47945
{
"cve_id": "CVE-2022-47945",
"title": "ThinkPHP Framework before 6.0.14 allows local file inclusion via the lang par...",
"affected_vendor": "ThinkPHP",
"affected_product": "ThinkPHP Framework",
"affected_versions": [
{ "vendor": "...", "product": "...", "status": "affected", "display_label": "..." }
],
"confidence": "Confirmed",
"cvss_score": 9.8,
"epss_score": 0.15505,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": true
},
"sensor_telemetry": { "...": "Pro API fields" },
"proof_of_concepts": [ "..." ],
"scanner_integrations": [ "..." ]
}