Unrestricted Upload of File with Dangerous Type Affecting cockpit-hq/cockpit package, versions <2.7.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.72% (49th 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 IDSNYK-PHP-COCKPITHQCOCKPIT-6846177
  • published15 May 2024
  • disclosed14 May 2024
  • creditRafael Pedrero

Introduced: 14 May 2024

CVE-2024-4825  (opens in a new tab)
CWE-434  (opens in a new tab)

How to fix?

Upgrade cockpit-hq/cockpit to version 2.7.0 or higher.

Overview

Affected versions of this package are vulnerable to Unrestricted Upload of File with Dangerous Type through the media/api parameter via a POST request. An attacker can upload malicious files to the server, compromising the entire infrastructure.

CVSS Base Scores

version 3.1