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 made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.04% (11th 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 ID SNYK-PHP-COCKPITHQCOCKPIT-6846177
  • published 15 May 2024
  • disclosed 14 May 2024
  • credit Rafael Pedrero

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 Scores

version 3.1
Expand this section

Snyk

Recommended
9.8 critical
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High