CVE-2022-25481 json
Exposure of Resource to Wrong Sphere in ThinkPHP Framework
published 2022-03-20 4 y ago modified 2026-06-17 4 mo ago also GHSA-69wp-xwm7-69wm , EUVD-2022-1340
- cvss
- 4.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.7%
- EPSS 4.7% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
ThinkPHP Framework v5.0.24 was discovered to be configured without the PATHINFO parameter. This allows attackers to access all system environment parameters from index.php. NOTE: this is disputed by a third party because system environment exposure is an intended feature of the debugging mode.
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
4.75% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template ThinkPHP 5.0.24 - Information Disclosure nuclei detection template
- github.com https://github.com/Lyther/VulnDiscover/blob/master/Web/ThinkPHP_InfoLeak.md referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 4.0 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CNA | 3.1 | 4.0 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | topthink/framework | <=5.0.24 |
no fix listed |
Affected products
- thinkphp thinkphp
Classification
References
-
github.com
/Lyther/VulnDiscover/blob/master/Web/ThinkPHP_InfoLeak.md
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-25481
advisory
-
github.com
/top-think/framework
package
Sources
- CVE List CVE-2022-25481
- GitHub Advisory GHSA-69wp-xwm7-69wm
- NVD CVE-2022-25481
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.