Permissions, Privileges, and Access Controls in Keepalived - CVE-2018-19046

 

Permissions, Privileges, and Access Controls in Keepalived - CVE-2018-19046

Published: November 10, 2018


Vulnerability identifier: #VU15791
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-19046
CWE-ID: CWE-264
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to software does not check for existing plain files when writing data to a temporary file upon a call to PrintData or PrintStats. A local user can create a file "/tmp/keepalived.data" or "/tmp/keepalived.stats" with read access to it for the attacker and write access for keepalived process, it is possible to gain access to sensitive information, written into these files by the application.



Affected software

Keepalived
Gentoo Linux
Opensuse
Fedora
keepalived (Alpine package)
keepalived

How to mitigate CVE-2018-19046

Install updates from vendor's website.

Keepalived - update to 2.0.9
keepalived (Alpine package) - update to 2.0.11-r0
keepalived - update to 2.0.10-1.fc29

External References

Related Security Bulletins