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.
References
Link | Resource |
---|---|
https://github.com/acassen/keepalived/issues/1048 | Exploit Patch Third Party Advisory |
https://github.com/acassen/keepalived/commit/04f2d32871bb3b11d7dc024039952f2fe2750306 | Patch Third Party Advisory |
https://bugzilla.suse.com/show_bug.cgi?id=1015141 | Issue Tracking Third Party Advisory |
https://security.gentoo.org/glsa/201903-01 | Third Party Advisory |
https://access.redhat.com/errata/RHSA-2019:2285 |
Configurations
Information
Published : 2018-11-08 12:29
Updated : 2019-08-06 10:15
NVD link : CVE-2018-19044
Mitre link : CVE-2018-19044
JSON object : View
CWE
CWE-59
Improper Link Resolution Before File Access ('Link Following')
Products Affected
keepalived
- keepalived