CVE-2018-19044
Keepalived vulnerability
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.
Affected products
Keepalived. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Keepalived runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/acassen/keepalived/commit/04f2d32871bb3b11d7dc024039952f2fe2750306 · Patch
- github.com/acassen/keepalived/issues/1048 · Exploit
- bugzilla.suse.com/show_bug.cgi?id=1015141 · Third Party Advisory
- security.gentoo.org/glsa/201903-01 · Third Party Advisory
- access.redhat.com/errata/RHSA-2019:2285
- nvd.nist.gov/vuln/detail/CVE-2018-19044
- cve.org/CVERecord?id=CVE-2018-19044
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.