Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-25481
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 21:17 UTC · Revision 1
Source evidence
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.
osv:CVE-2022-25481
Complete source record
{
"id": "9d306d6b048c6249b8e9505c7b6e91fcb7e71a3fd3e9ad92c55df02ea6b27d64",
"url": "https://osv.dev/vulnerability/CVE-2022-25481",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2022-25481",
"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.",
"evidence": "osv:CVE-2022-25481",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2022-25481",
"aliases": [
"CVE-2022-25481",
"GHSA-69wp-xwm7-69wm"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/top-think/framework",
"type": "GIT",
"events": [
{
"introduced": "c255c22b2f5fa30f320ecf6c1d29f7740eb3e8be"
},
{
"last_affected": "c255c22b2f5fa30f320ecf6c1d29f7740eb3e8be"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:thinkphp:thinkphp:5.0.24:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.0.24"
},
{
"last_affected": "5.0.24"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"5.0.24",
"v5.0.24"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25481.json"
}
}
],
"modified": "2026-10-28T02:30:23.431228496Z",
"provider": "osv",
"references": [
"https://github.com/Lyther/VulnDiscover/blob/master/Web/ThinkPHP_InfoLeak.md",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25481.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-25481"
],
"provider_metadata": {
"isDisputed": true,
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25481.json"
}
},
"related_cves": [
{
"value": "CVE-2022-25481",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 490134,
"published_at": "2022-03-20T00:00:00+00:00"
}