SynopsisThe remote Debian host is missing one or more security-related updates.
DescriptionThe remote Debian 11 host has packages installed that are affected by multiple vulnerabilities as referenced in the dsa-5366 advisory.
- multipath-tools 0.7.7 through 0.9.x before 0.9.2 allows local users to obtain root access, as exploited in conjunction with CVE-2022-41974. Local users able to access /dev/shm can change symlinks in multipathd due to incorrect symlink handling, which could lead to controlled file writes outside of the /dev/shm directory. This could be used indirectly for local privilege escalation to root. (CVE-2022-41973)
- multipath-tools 0.7.0 through 0.9.x before 0.9.2 allows local users to obtain root access, as exploited alone or in conjunction with CVE-2022-41973. Local users able to write to UNIX domain sockets can bypass access controls and manipulate the multipath setup. This can lead to local privilege escalation to root.
This occurs because an attacker can repeat a keyword, which is mishandled because arithmetic ADD is used instead of bitwise OR. (CVE-2022-41974)
Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.
SolutionUpgrade the multipath-tools packages.
For the stable distribution (bullseye), these problems have been fixed in version 0.8.5-2+deb11u1.
File Name: debian_DSA-5366.nasl
Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment
Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C
CPE: p-cpe:/a:debian:debian_linux:kpartx-udeb, cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:multipath-tools-boot, p-cpe:/a:debian:debian_linux:kpartx, p-cpe:/a:debian:debian_linux:multipath-udeb, p-cpe:/a:debian:debian_linux:multipath-tools
Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l
Exploit Ease: Exploits are available
Patch Publication Date: 3/1/2023
Vulnerability Publication Date: 10/25/2022