Skip to content

← Public intelligence

PyPI package

cobbler

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

16 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Critical, CVSS 9.8PyPIAmendedPublished

    cobbler allows anyone to connect to cobbler XML-RPC server with known password and make changes

    CVE-2024-47533 · GHSA-m26c-fcgh-cp6h

    Affected
    • PyPI cobbler >= 3.3.0, < 3.3.7; >= 3.0.0, < 3.2.3
    Fixed in
    3.3.73.2.3· Vendor fix available
    Issue
    utils.get_shared_secret() always returns -1 - allows anyone to connect to cobbler XML-RPC as user '' password -1 and make any changes. Details utils.py get_shared_secret: ``` def get_shared_secret() -> Union[str, int]: """ The 'web.ss' file is regenerated each time cobblerd restarts and is used to agree on shared secret interchange between the web server and cobblerd, and also the CLI and cobblerd, when username/password access is not required. For the CLI, this enables root users to avoid entering username/pass if on the Cobbler server. :return: The Cobbler secret which enables full access to Cobbler. """ try: with open("/var/lib/cobbler/web.ss", 'rb', encoding='utf-8') as fd: data = fd.read() except: return -1 return str(data).strip() ``` Always returns `-1` because of the following exception: ``` binary mode doesn't take an encoding argument ``` This appears to have been introduced by commit 32c5cada013dc8daa7320a8eda9932c2814742b0 and so affects versions 3.0.0+.…

    Recommended action: Upgrade to 3.3.7 or 3.2.3 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. UnratedPyPIAmendedPublished

    Cobbler is vulnerable to code injection

    CVE-2010-2235 · GHSA-jhm7-38xj-pvm8

    Affected
    • PyPI cobbler < 2.0.7
    Fixed in
    2.0.7· Vendor fix available
    Issue
    templateapi.py in Cobbler before 2.0.7, as used in Red Hat Network Satellite Server and other products, does not disable the ability of the Cheetah template engine to execute Python statements contained in templates, which allows remote authenticated administrators to execute arbitrary code via a crafted kickstart template file, a different vulnerability than CVE-2008-6954.

    Recommended action: Upgrade to 2.0.7 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  3. UnratedPyPIAmendedPublished

    Cobbler subject to Command Injection

    CVE-2012-2395 · GHSA-g34c-mg6m-xvxj

    Affected
    • PyPI cobbler < 2.6.0
    Fixed in
    2.6.0· Vendor fix available
    Issue
    A Command Injection in actionpower.py in Cobbler prior to v2.6.0 allows remote attackers to execute arbitrary commands via shell metacharacters in the (1) username or (2) password fields to the powersystem method in the xmlrpc API.

    Recommended action: Upgrade to 2.6.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  4. UnratedPyPIAmendedPublished

    Cobbler vulnerable to code injection via unsafe YAML loading

    CVE-2011-4953 · GHSA-hpj3-5p46-g87w

    Affected
    • PyPI cobbler < 2.6.0
    Fixed in
    2.6.0· Vendor fix available
    Issue
    The setmgmtparameters function in item.py in cobbler before 2.2.2 allows context-dependent attackers to execute arbitrary code via vectors related to the use of the yaml.load function instead of the yaml.safeload function, as demonstrated using Puppet.

    Recommended action: Upgrade to 2.6.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  5. UnratedPyPIAmendedPublished

    Cobbler Web Interface Kickstart Template Remote Privilege Escalation Vulnerability

    CVE-2008-6954 · GHSA-p8w2-f44p-fmcj

    Affected
    • PyPI cobbler < 1.2.9
    Fixed in
    1.2.9· Vendor fix available
    Issue
    The web interface (CobblerWeb) in Cobbler before 1.2.9 allows remote authenticated users to execute arbitrary Python code with the root privileges in cobblerd by editing a Cheetah kickstart template to import arbitrary Python modules.

    Recommended action: Upgrade to 1.2.9 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  6. Critical, CVSS 9.8PyPIAmendedPublished

    Cobbler vulnerable to arbitrary code execution

    CVE-2017-1000469 · GHSA-96hw-v598-jvgh

    Affected
    • PyPI cobbler < 3.0.0
    Fixed in
    3.0.0· Vendor fix available
    Issue
    Cobbler version up to 2.8.2 is vulnerable to a command injection vulnerability in the "add repo" component resulting in arbitrary code execution as root user.

    Recommended action: Upgrade to 3.0.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  7. UnratedPyPIAmendedPublished

    Cobbler Path Traversal vulnerability

    CVE-2014-3225 · GHSA-xc7w-jvhx-p6q9

    Affected
    • PyPI cobbler >= 2.6.0, < 2.6.4; >= 2.4.0, < 2.4.7
    Fixed in
    2.4.72.6.4· Vendor fix available
    Issue
    Absolute path traversal vulnerability in the web interface in Cobbler 2.4.x through 2.6.x allows remote authenticated users to read arbitrary files via the Kickstart field in a profile.

    Recommended action: Upgrade to 2.6.4 or 2.4.7 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  8. Critical, CVSS 9.8PyPIAmendedPublished

    Cobbler has Exposed Dangerous Method or Function

    CVE-2018-10931 · GHSA-8787-63px-3m23

    Affected
    • PyPI cobbler >= 2.6.0, < 3.0.0
    Fixed in
    3.0.0· Vendor fix available
    Issue
    It was found that cobbler 2.6.x exposed all functions from its CobblerXMLRPCInterface class over XMLRPC. A remote, unauthenticated attacker could use this flaw to gain high privileges within cobbler, upload files to arbitrary location in the context of the daemon.

    Recommended action: Upgrade to 3.0.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  9. Critical, CVSS 9.8PyPIAmendedPublished

    Cobbler Improper Validation of Security Tokens

    CVE-2018-1000226 · GHSA-f88q-22g8-frcg

    Affected
    • PyPI cobbler < 3.0.0
    Fixed in
    3.0.0· Vendor fix available
    Issue
    Cobbler version Verified as present in Cobbler versions 2.6.11+, but code inspection suggests at least 2.0.0+ or possibly even older versions may be vulnerable contains a Incorrect Access Control vulnerability in XMLRPC API (/cobbler_api) that can result in Privilege escalation, data manipulation or exfiltration, LDAP credential harvesting. This attack appear to be exploitable via "network connectivity". Taking advantage of improper validation of security tokens in API endpoints. Please note this is a different issue than CVE-2018-10931.

    Recommended action: Upgrade to 3.0.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  10. High, CVSS 8.8PyPIAmendedPublished

    Cobbler Web Interface Lacks CSRF Protection

    CVE-2011-4952 · GHSA-9fqr-pqc9-f7pj

    Affected
    • PyPI cobbler < 2.6.0
    Fixed in
    2.6.0· Vendor fix available
    Issue
    cobbler: Web interface lacks CSRF protection when using Django framework

    Recommended action: Upgrade to 2.6.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  11. Medium, CVSS 6.7PyPIAmendedPublished

    Improper Authorization in cobbler

    CVE-2022-0860 · GHSA-mcg6-h362-cmq5

    Affected
    • PyPI cobbler < 3.3.2
    Fixed in
    3.3.2· Vendor fix available
    Issue
    Impact If PAM is correctly configured and a user account is set to expired, the expired user-account is still able to successfully log into Cobbler in all places (Web UI, CLI & XMLRPC-API). The same applies to user accounts with passwords set to be expired. Patches There is a patch for the latest Cobbler 3.3.2 available, however a backport will be done for 3.2.x. Workarounds - Delete expired accounts which are able to access Cobbler via PAM. - Use chage -l <username to lock the account. If the account has SSH-Keys attached then remove them completely. References - Originally discovered by @ysf at https://www.huntr.dev/bounties/c458b868-63df-414e-af10-47e3745caa1d/ How to test if my Cobbler instance is affected? The following pytest test assumes that your PAM setup is correct. In case the added user is not able to login, this test does not make sense to be executed. For more information If you have any questions or comments about this advisory: Open an issue in the Cobbler repository…

    Recommended action: Upgrade to 3.3.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  12. High, CVSS 8.6PyPIAmendedPublished

    Incorrect Default Permissions in Cobbler

    CVE-2021-45083 · GHSA-5946-mpw5-pqxx

    Affected
    • PyPI cobbler < 3.3.1
    Fixed in
    3.3.1· Vendor fix available
    Issue
    An issue was discovered in Cobbler before 3.3.1. Files in /etc/cobbler are world readable. Two of those files contain some sensitive information that can be exposed to a local user who has non-privileged access to the server. The users.digest file contains the sha2-512 digest of users in a Cobbler local installation. In the case of an easy-to-guess password, it's trivial to obtain the plaintext string. The settings.yaml file contains secrets such as the hashed default password.

    Recommended action: Upgrade to 3.3.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  13. High, CVSS 8.5PyPIAmendedPublished

    Command Injection in Cobbler

    CVE-2021-45082 · GHSA-6cm4-gm85-972c

    Affected
    • PyPI cobbler < 3.3.1
    Fixed in
    3.3.1· Vendor fix available
    Issue
    An issue was discovered in Cobbler through 3.3.0. In the templar.py file, the function checkforinvalidimports can allow Cheetah code to import Python modules via the "#from MODULE import" substring. (Only lines beginning with #import are blocked.)

    Recommended action: Upgrade to 3.3.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  14. High, CVSS 8.7PyPIAmendedPublished

    Cobbler before 3.3.0 allows authorization bypass for modification of settings.

    CVE-2021-40325 · GHSA-cr3f-r24j-3chw

    Affected
    • PyPI cobbler < 3.3.0
    Fixed in
    3.3.0· Vendor fix available
    Issue
    Cobbler before 3.3.0 allows authorization bypass for modification of settings.

    Recommended action: Upgrade to 3.3.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  15. High, CVSS 8.1PyPIAmendedPublished

    Cobbler before 3.3.0 allows log poisoning

    CVE-2021-40323 · GHSA-cpqf-3c3r-c9g2

    Affected
    • PyPI cobbler < 3.3.0
    Fixed in
    3.3.0· Vendor fix available
    Issue
    Cobbler before 3.3.0 allows log poisoning, and resultant Remote Code Execution, via an XMLRPC method that logs to the logfile for template injection.

    Recommended action: Upgrade to 3.3.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  16. High, CVSS 8.7PyPIAmendedPublished

    Cobbler before 3.3.0 allows arbitrary file write operations via upload_log_data.

    CVE-2021-40324 · GHSA-4cfr-gjfx-fj3x

    Affected
    • PyPI cobbler < 3.3.0
    Fixed in
    3.3.0· Vendor fix available
    Issue
    Cobbler before 3.3.0 allows arbitrary file write operations via uploadlogdata.

    Recommended action: Upgrade to 3.3.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →