UNIX symbolic link following in libqb - CVE-2019-12779
Published: July 19, 2019
Vulnerability details
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a symlink following issue because software uses predictable filenames (under /dev/shm and /tmp) without O_EXCL in libqb before 1.0.5. A local user can create a specially crafted symbolic link to a critical file on the system and overwrite it with privileges of the application.
Successful exploitation of this vulnerability may result in privilege escalation.
Affected software
Gentoo Linux
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for x86_64
Opensuse
SUSE Linux
openEuler
libqb (Red Hat package)
libqb
libqb-debuginfo
libqb-debugsource
libqb-devel
libqb-help
How to mitigate CVE-2019-12779
libqb (Red Hat package) - update to 1.0.1-9.el7
libqb - update to 1.0.3-7
libqb-debuginfo - update to 1.0.3-7
libqb-debugsource - update to 1.0.3-7
libqb-devel - update to 1.0.3-7
libqb-help - update to 1.0.3-7