Rapid7 Vulnerability & Exploit Database

Ubuntu: USN-5169-1 (CVE-2020-10737): oddjob vulnerability

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Ubuntu: USN-5169-1 (CVE-2020-10737): oddjob vulnerability

Severity
4
CVSS
(AV:L/AC:H/Au:N/C:P/I:P/A:P)
Published
05/27/2020
Created
03/29/2023
Added
03/22/2023
Modified
03/22/2023

Description

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.

Solution(s)

  • ubuntu-upgrade-oddjob
  • ubuntu-upgrade-oddjob-mkhomedir

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;