CVE-2017-20148

In the ebuild package through logcheck-1.3.23.ebuild for Logcheck on Gentoo, it is possible to achieve root privilege escalation from the logcheck user because…

Critical · published September 20, 2022

CVSS v3.1
9.8
EPSS
1%
Percentile
66.2
In the wild
Unconfirmed
What it is

🚨 A single insecure command can let you waltz from a logcheck user to root access! This critical privilege escalation vulnerability in Logcheck is a game changer! 🔥 Think of it like a delivery person having access to the entire building just because they can rearrange the mail in the lobby — the system trusts them to follow the rules, but they can take advantage of a loophole and go anywhere they please! If exploited, an attacker could elevate their privileges and gain total control over the system, potentially leading to data breaches, unauthorized changes, or even service outages. This could be absolutely devastating, putting sensitive information and the integrity of the entire system at risk!

Put simply

Think of it like a delivery person having access to the entire building just because they can rearrange the mail in the lobby — the system trusts them to follow the rules, but they can take advantage of a loophole and go anywhere they please! This vulnerability arises from insecure recursive chown calls in the logcheck package, allowing a user with limited privileges to gain root access through carefully crafted commands.

What to do

If exploited, an attacker could elevate their privileges and gain total control over the system, potentially leading to data breaches, unauthorized changes, or even service outages. This could be absolutely devastating, putting sensitive information and the integrity of the entire system at risk! To remedy this situation, update Logcheck to the latest version to close this vulnerability. Additionally, perform a security audit on your system to ensure no unauthorized changes have been made. Don't forget to review your user permissions to limit the risk of future escalations! You've got this! By taking these steps, you're well on your way to securing your system and becoming a security hero! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01142 · 66.2th percentile
Published
2022-09-20T17:01Z
EPSS history
Timeline
  • 20 SEP 17:01Z
    In the ebuild package through logcheck-1.3.23.ebuild for Logcheck on Gentoo, it is possible to achieve root privilege escalation from the logcheck user because…
    cvelistv5