Vulnerability in Red Hat Oddjob
CVE-2020-10737
A race condition was found in the mkhomedir tool shipped with the oddjob package in versions before 0.34.5 and 0.34.6 wherein, during the home creation, mkhomedir copies the /etc/skel directory into the newly created home and changes its ownership to the home's user without properly checking the homedir path. This flaw allows an attacker to leverage this issue by creating a symlink point to a target folder, which then has its ownership transferred to the new home directory's unprivileged user.
Vulnerability class: Race Condition
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.003, 22.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Red Hat Oddjob — versions before 0.34.5, before 0.34.6
- Red Hat Oddjob
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (Live-Hack-CVE/CVE-2020-10737). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugzilla.redhat.com/show_bug.cgi (Issue Tracking, Vendor Advisory)
- pagure.io/oddjob/c/10b8aaa1564b723a005b53acc069df71313f4cac (Patch, Third Party Advisory)