CVE-2024-9050
Description
A flaw was found in the libreswan client plugin for NetworkManager (NetkworkManager-libreswan), where it fails to properly sanitize the VPN configuration from the local unprivileged user. In this configuration, composed by a key-value format, the plugin fails to escape special characters, leading the application to interpret values as keys. One of the most critical parameters that could be abused by a malicious user is the leftupdownkey. This key takes an executable command as a value and is used to specify what executes as a callback in NetworkManager-libreswan to retrieve configuration settings back to NetworkManager. As NetworkManager uses Polkit to allow an unprivileged user to control the system's network configuration, a malicious actor could achieve local privilege escalation and potential code execution as root in the targeted machine by creating a malicious configuration.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
5- osv-coords3 versionspkg:rpm/almalinux/NetworkManager-libreswanpkg:rpm/almalinux/NetworkManager-libreswan-gnomepkg:rpm/opensuse/NetworkManager-libreswan&distro=openSUSE%20Tumbleweed
< 1.2.10-7.el8_10+ 2 more
- (no CPE)range: < 1.2.10-7.el8_10
- (no CPE)range: < 1.2.10-7.el8_10
- (no CPE)range: < 1.2.24-1.1
Patches
Vulnerability mechanics
References
16- www.openwall.com/lists/oss-security/2024/10/25/1nvd
- access.redhat.com/errata/RHSA-2024:8312nvd
- access.redhat.com/errata/RHSA-2024:8338nvd
- access.redhat.com/errata/RHSA-2024:8352nvd
- access.redhat.com/errata/RHSA-2024:8353nvd
- access.redhat.com/errata/RHSA-2024:8354nvd
- access.redhat.com/errata/RHSA-2024:8355nvd
- access.redhat.com/errata/RHSA-2024:8356nvd
- access.redhat.com/errata/RHSA-2024:8357nvd
- access.redhat.com/errata/RHSA-2024:8358nvd
- access.redhat.com/errata/RHSA-2024:9555nvd
- access.redhat.com/errata/RHSA-2024:9556nvd
- access.redhat.com/security/cve/CVE-2024-9050nvd
- bugzilla.redhat.com/show_bug.cginvd
- gitlab.gnome.org/GNOME/NetworkManager-libreswan/-/commit/dcf8acfb25bd31e4b8cbd20c229da660238b5c1bnvd
- www.openwall.com/lists/oss-security/2024/10/25/1nvd
News mentions
0No linked articles in our index yet.