Cockpit prior to 0.12.0 NoSQL injection in /auth/resetpassword

Published on
16 Jun 2021

The attackers may take advantage of flaws in the Cockpit source code to carry out a kind of attack, such as getting access to any user account and reset passwords. In some configurations, the vulnerabilities might allow an attacker to execute code on a Cockpit server. The first flaw allows a NoSQL injection attack through the Controller/Auth.php search feature, and the second flaw allows for a NoSQL injection attack through the Controller/Auth.php reset password function.

Mitigation / Precaution

We suggest you to update Cockpit to a version greater than 0.12.0 in order to fix this vulnerability.

Automated human-like penetration testing for your web apps & APIs
Teams using Beagle Security are set up in minutes, embrace release-based CI/CD security testing and save up to 65% with timely remediation of vulnerabilities. Sign up for a free account to see what it can do for you.

Written by
Co-founder, Director
Find website security issues in a flash
Improve your website's security posture with proactive vulnerability detection.
Free website security assessment