53 lines
1.7 KiB
YAML
53 lines
1.7 KiB
YAML
id: CVE-2022-25481
|
|
|
|
info:
|
|
name: ThinkPHP 5.0.24 - Information Disclosure
|
|
author: caon
|
|
severity: high
|
|
description: |
|
|
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.
|
|
remediation: |
|
|
Upgrade to a patched version of ThinkPHP or apply the necessary security patches.
|
|
reference:
|
|
- https://github.com/Lyther/VulnDiscover/blob/master/Web/ThinkPHP_InfoLeak.md
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-25481
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
|
|
cvss-score: 7.5
|
|
cve-id: CVE-2022-25481
|
|
cwe-id: CWE-668
|
|
epss-score: 0.01311
|
|
epss-percentile: 0.84398
|
|
cpe: cpe:2.3:a:thinkphp:thinkphp:5.0.24:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
vendor: thinkphp
|
|
product: thinkphp
|
|
shodan-query: title:"ThinkPHP"
|
|
tags: cve,cve2022,thinkphp,exposure,oss
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/index.php?s=example'
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "Exception"
|
|
- "REQUEST_TIME"
|
|
- "ThinkPHP Constants"
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
- 500
|
|
- 404
|
|
condition: or
|
|
|
|
# digest: 4b0a00483046022100e00f150873de6754f25fcf75b818fc4e2ece1d1162dcd2627e2567e13e7692d90221008d0db36492a90276f5b65f8c82413247ad3df5dc2e9fc4a2fd0e698b7db77df7:922c64590222798bb761d5b6d8e72950
|