Cockpit prior to 0.12.0 NoSQL injection in /auth/resetpassword

By
Prathap
Published on
16 Jun 2021
Vulnerability

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
Prathap
Prathap
Co-founder, Director
Experience the Beagle Security platform
Unlock one full penetration test and all Advanced plan features free for 10 days
Find surface-level website security issues in under a minute
Free website security assessment
Experience the power of automated penetration testing & contextual reporting.