CVE-2020-35131
Last modified
CVE-2020-35131 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 49.94% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Agentejo | Cockpit | < 0.6.1 |
References
- https://github.com/agentejo/cockpit/commits/next/lib/MongoLite/Database.phpThird Party Advisory
- https://github.com/agentejo/cockpit/releases/tag/0.6.1Release Notes, Third Party Advisory
- https://www.exploit-db.com/exploits/49390Exploit, Third Party Advisory, VDB Entry
- https://github.com/agentejo/cockpit/commits/next/lib/MongoLite/Database.phpThird Party Advisory
- https://github.com/agentejo/cockpit/releases/tag/0.6.1Release Notes, Third Party Advisory
- https://www.exploit-db.com/exploits/49390Exploit, Third Party Advisory, VDB Entry
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-35131?
How severe is CVE-2020-35131?
How do I fix CVE-2020-35131?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2020
- CVE-2020-35125A cross-site scripting (XSS) vulnerability in the forms comp…9.6
- CVE-2020-35126Typesetter CMS 5.x through 5.1 allows admins to conduct Site…4.8
- CVE-2020-35127Ignite Realtime Openfire 4.6.0 has plugins/bookmarks/create-…5.4
- CVE-2020-35128Mautic before 3.2.4 is affected by stored XSS. An attacker w…9
- CVE-2020-35129Mautic before 3.2.4 is affected by stored XSS. An attacker w…9
- CVE-2020-3513Multiple vulnerabilities in the initialization routines that…6.7
- CVE-2020-35132An XSS issue has been discovered in phpLDAPadmin before 1.2.…5.4
- CVE-2020-35133irfanView 4.56 contains an error processing parsing files of…7.5
- CVE-2020-35135The ultimate-category-excluder plugin before 1.2 for WordPre…8.8
- CVE-2020-35136Dolibarr 12.0.3 is vulnerable to authenticated Remote Code E…7.2
- CVE-2020-35137The MobileIron agents through 2021-03-22 for Android and iOS…7.5
- CVE-2020-35138The MobileIron agents through 2021-03-22 for Android and iOS…9.8
Are you affected by CVE-2020-35131?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
