Remote Code Execution (RCE) Affecting aheinze/cockpit package, versions <0.6.1


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
90.37% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Remote Code Execution (RCE) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-AHEINZECOCKPIT-1061946
  • published18 Jan 2021
  • disclosed8 Jan 2021
  • creditMarian Rehak

Introduced: 8 Jan 2021

CVE-2020-35131  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade aheinze/cockpit to version 0.6.1 or higher.

Overview

Affected versions of this package are vulnerable to Remote Code Execution (RCE). An attacker could 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.

CVSS Scores

version 3.1