Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-719F06AF-E45E-11EA-95A1-C3B8167B8026 (CVE-2020-14367): chrony <= 3.5.1 data corruption through symlink vulnerability writing the pidfile

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

FreeBSD: VID-719F06AF-E45E-11EA-95A1-C3B8167B8026 (CVE-2020-14367): chrony &lt;= 3.5.1 data corruption through symlink vulnerability writing the pidfile

Severity
4
CVSS
(AV:L/AC:L/Au:N/C:N/I:P/A:P)
Published
08/06/2020
Created
08/25/2020
Added
08/23/2020
Modified
10/20/2020

Description

Details for this vulnerability have not been published by NIST at this point. Descriptions from software vendor advisories for this issue are provided below.

From VID-719F06AF-E45E-11EA-95A1-C3B8167B8026:

Miroslav Lichvar reports:

chrony-3.5.1 [...] fixes a security issue in writing of the pidfile.

When chronyd is configured to save the pidfile in a directory where the

chrony user has write permissions (e.g. /var/run/chrony - the default

since chrony-3.4), an attacker that compromised the chrony user account

could create a symbolic link at the location of the pidfile to make

chronyd starting with root privileges follow the symlink and write its

process ID to a file for which the chrony user doesn't have write

permissions, causing a denial of service, or data loss.

This issue was reported by Matthias Gerstner of SUSE.

Solution(s)

  • freebsd-upgrade-package-chrony

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

;