Arbitrary Code Execution Affecting cobbler package, versions [,3.2.2)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    4.55% (93rd 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-PYTHON-COBBLER-1657875
  • published 23 Sep 2021
  • disclosed 20 Sep 2021
  • credit Nicolas Chatelain

How to fix?

Upgrade cobbler to version 3.2.2 or higher.

Overview

cobbler is a network install server.

Affected versions of this package are vulnerable to Arbitrary Code Execution the generate_script RPC method could be used to get arbitrary files on the system.

As many cobbler endpoints call the _log method, an attacker could call an endpoint of choice, insert malicious code into the log file via a crafted input, and use the generate_script method to evaluate the associated log file as a template, thereby achieving arbitrary code execution.

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
Expand this section

NVD

9.8 critical
Expand this section

Red Hat

9.1 critical