What’s Vulnerable › Vulnerabilities

CVE-2020-35131

Description

Cockpit before 0.6.1 allows an attacker to inject custom PHP code and achieve Remote Command Execution via registerCriteriaFunction in lib/MongoLite/Database.php, as demonstrated by values in JSON data to the /auth/check or /auth/requestreset URI.

Affected products

How to fix

Upgrade to a fixed version: cockpit-hq/cockpit 0.6.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2020-35131 or the next vulnerability affects your stack