Vulnerabilities · 2020 · Agentejo
CVE-2020-35131
Agentejo Cockpit vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Cockpit. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Agentejo Cockpit runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/agentejo/cockpit/commits/next/lib/MongoLite/Database.php · Third Party Advisory
- github.com/agentejo/cockpit/releases/tag/0.6.1 · Third Party Advisory
- www.exploit-db.com/exploits/49390 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2020-35131
- cve.org/CVERecord?id=CVE-2020-35131
More vulnerabilities in Agentejo products
CVE-2025-7053CVE-2024-4825CVE-2024-2001CVE-2023-41564CVE-2023-37650CVE-2023-37649CVE-2023-4451CVE-2023-4433All 30
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.