CVE-2020-35131

Source
https://cve.org/CVERecord?id=CVE-2020-35131
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35131.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-35131
Published
2021-01-08T17:15:13.150Z
Modified
2026-04-10T04:19:09.667064Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/agentejo/cockpit

Affected ranges

Type
GIT
Repo
https://github.com/agentejo/cockpit
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.6.1"
        }
    ]
}

Affected versions

0.*
0.5.0
0.5.1
0.5.2
0.5.3
0.5.5
0.6.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35131.json"