CVE Vulnerabilities

CVE-2019-10143

Execution with Unnecessary Privileges

Published: May 24, 2019 | Modified: May 17, 2024
CVSS 3.x
7
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
6.9 MEDIUM
AV:L/AC:M/Au:N/C:C/I:C/A:C
RedHat/V2
RedHat/V3
6.4 MODERATE
CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Ubuntu
LOW

It was discovered freeradius up to and including version 3.0.19 does not correctly configure logrotate, allowing a local attacker who already has control of the radiusd user to escalate his privileges to root, by tricking logrotate into writing a radiusd-writable file to a directory normally inaccessible by the radiusd user. NOTE: the upstream software maintainer has stated there is simply no way for anyone to gain privileges through this alleged issue.

Weakness

The product performs an operation at a privilege level that is higher than the minimum level required, which creates new weaknesses or amplifies the consequences of other weaknesses.

Affected Software

Name Vendor Start Version End Version
Freeradius Freeradius * 3.0.19 (including)
Red Hat Enterprise Linux 7 RedHat freeradius-0:3.0.13-15.el7 *
Red Hat Enterprise Linux 8 RedHat freeradius:3.0-8010020190614154208.16b3ab4d *
Freeradius Ubuntu bionic *
Freeradius Ubuntu cosmic *
Freeradius Ubuntu disco *
Freeradius Ubuntu eoan *
Freeradius Ubuntu groovy *
Freeradius Ubuntu hirsute *
Freeradius Ubuntu impish *
Freeradius Ubuntu kinetic *
Freeradius Ubuntu lunar *
Freeradius Ubuntu mantic *
Freeradius Ubuntu trusty *
Freeradius Ubuntu xenial *

Extended Description

New weaknesses can be exposed because running with extra privileges, such as root or Administrator, can disable the normal security checks being performed by the operating system or surrounding environment. Other pre-existing weaknesses can turn into security vulnerabilities if they occur while operating at raised privileges. Privilege management functions can behave in some less-than-obvious ways, and they have different quirks on different platforms. These inconsistencies are particularly pronounced if you are transitioning from one non-root user to another. Signal handlers and spawned processes run at the privilege of the owning process, so if a process is running as root when a signal fires or a sub-process is executed, the signal handler or sub-process will operate with root privileges.

Potential Mitigations

References