Bug 2056389 (CVE-2021-45083)

Summary: CVE-2021-45083 cobbler: unsafe permissions on sensitive files in /etc/cobbler
Product: [Other] Security Response Reporter: Avinash Hanwate <ahanwate>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: brejoc, jimi, kwizart, matrixfueller, ngompa13, orion, scott, tkasparek, tlestach, vanmeeuwen+fedora
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: cobbler 3.3.1 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in cobbler. The vulnerability occurs due to unsafe permissions on sensitive files in /etc/cobbler and leads to cleartext transmission. This flaw allows an attacker to interact and read sensitive configuration files.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-03 00:50:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2056393, 2056394    
Bug Blocks: 2056398    

Description Avinash Hanwate 2022-02-21 06:47:11 UTC
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.

https://github.com/cobbler/cobbler/releases
https://www.openwall.com/lists/oss-security/2022/02/18/3

Comment 1 Avinash Hanwate 2022-02-21 06:48:00 UTC
Created cobbler tracking bugs for this issue:

Affects: epel-all [bug 2056393]
Affects: fedora-all [bug 2056394]

Comment 3 Product Security DevOps Team 2022-03-03 00:50:29 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-45083