CVE-2012-0059
Spacewalk-backend: spacewalk-backend: information disclosure via cleartext passwords in error messages
Check your servers for CVE-2012-0059
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2012-0059 affects rhnsd, with the command that installs the fix. The free plan covers one server and does not need a credit card.
Description
A flaw was found in Spacewalk-backend. This information disclosure vulnerability occurs when a system registration XML-RPC call fails, causing cleartext user passwords to be included in error messages. Remote administrators can exploit this by reading server logs and emails, leading to the unauthorized disclosure of user passwords.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- high: the attacker needs an administrative account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 1.67%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 77.2% of all scored CVEs. Scores of 27 Nov 2026.
Weakness
- CWE-209 Generation of Error Message Containing Sensitive Information
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
Red Hat Network Proxy v 5.4
package
spacewalk-backend |
unaffected 0:1.2.13-66.el5sat and later
Other versions: affected
|
|
Red Hat Network Satellite Server v 5.4
package
spacewalk-backend |
unaffected 0:1.2.13-66.el5sat and later
Other versions: affected
|
|
Red Hat Enterprise Linux 6
package
rhn-client-tools |
unknown the record does not list versions
|
|
Red Hat Enterprise Linux 6
package
rhnsd |
unknown the record does not list versions
|
|
Red Hat Enterprise Linux 6
package
yum-rhn-plugin |
unknown the record does not list versions
|
|
Red Hat Enterprise Linux 7
package
rhnsd |
unknown the record does not list versions
|
|
Red Hat Enterprise Linux 7
package
yum-rhn-plugin |
unknown the record does not list versions
|
Is my server affected?
Find the installed version of rhnsd and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i rhnsd
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2012-0059 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2012-0059RHEL, Rocky, Alma, Fedora
rpm -q rhnsd
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2012-0059Alpine
apk list --installed | grep -i rhnsdWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2012-0059
trivy image --scanners vuln IMAGE | grep CVE-2012-0059
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.
References
Advisories
- http://rhn.redhat.com/errata/RHSA-2012-0101.html rhn.redhat.com · vendor advisory
- http://rhn.redhat.com/errata/RHSA-2012-0102.html rhn.redhat.com · vendor advisory
- RHSA-2012:0101 access.redhat.com · vendor advisory
- RHSA-2012:0102 access.redhat.com · vendor advisory
- https://access.redhat.com/security/cve/CVE-2012-0059 access.redhat.com · vdb entry
Source: the record CVE-2012-0059 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse