CVE-2018-19044
keepalived: Improper pathname validation allows for overwrite of arbitrary filenames via symlinks
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
1Exploited in Wild
-Decision
Descriptions
keepalived 2.0.8 didn't check for pathnames with symlinks when writing data to a temporary file upon a call to PrintData or PrintStats. This allowed local users to overwrite arbitrary files if fs.protected_symlinks is set to 0, as demonstrated by a symlink from /tmp/keepalived.data or /tmp/keepalived.stats to /etc/passwd.
keepalived 2.0.8 no buscaba nombres de ruta con enlaces simbólicos al escribir datos en un archivo temporal al llamar a PrintData o PrintStats. Esto permitía a los usuarios locales sobrescribir archivos arbitrarios si fs.protected_symlinks se establece en 0, tal y como lo demuestra un enlace simbólico desde /tmp/keepalived.data o /tmp/keepalived.stats a /etc/passwd.
The keepalived utility provides simple and robust facilities for load balancing and high availability. The load balancing framework relies on the well-known and widely used IP Virtual Server kernel module providing layer-4 load balancing. Keepalived implements a set of checkers to dynamically and adaptively maintain and manage a load balanced server pool according to the health of the servers. Keepalived also implements the Virtual Router Redundancy Protocol to achieve high availability with director failover. An improper path name validation was addressed.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2018-11-06 CVE Reserved
- 2018-11-08 CVE Published
- 2024-08-05 CVE Updated
- 2024-08-05 First Exploit
- 2025-03-30 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-59: Improper Link Resolution Before File Access ('Link Following')
CAPEC
References (7)
URL | Tag | Source |
---|---|---|
https://bugzilla.suse.com/show_bug.cgi?id=1015141 | Issue Tracking |
URL | Date | SRC |
---|---|---|
https://github.com/acassen/keepalived/issues/1048 | 2024-08-05 |
URL | Date | SRC |
---|---|---|
https://github.com/acassen/keepalived/commit/04f2d32871bb3b11d7dc024039952f2fe2750306 | 2019-08-06 |
URL | Date | SRC |
---|---|---|
https://access.redhat.com/errata/RHSA-2019:2285 | 2019-08-06 | |
https://security.gentoo.org/glsa/201903-01 | 2019-08-06 | |
https://access.redhat.com/security/cve/CVE-2018-19044 | 2019-08-06 | |
https://bugzilla.redhat.com/show_bug.cgi?id=1651863 | 2019-08-06 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Keepalived Search vendor "Keepalived" | Keepalived Search vendor "Keepalived" for product "Keepalived" | 2.0.8 Search vendor "Keepalived" for product "Keepalived" and version "2.0.8" | - |
Affected
|