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. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
8.41% (95th 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 Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-COBBLER-1657875
  • published23 Sept 2021
  • disclosed20 Sept 2021
  • creditNicolas Chatelain

Introduced: 20 Sep 2021

CVE-2021-40323  (opens in a new tab)
CWE-94  (opens in a new tab)

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