Networkmanager-libreswan: local privilege escalation via leftupdown
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| unaffected |
|
||||||||
| Red Hat | Red Hat Enterprise Linux 7.7 Advanced Update Support | affected |
|
||||||
| Red Hat | Red Hat Enterprise Linux 7 Extended Lifecycle Support | affected |
|
||||||
| Red Hat | Red Hat Enterprise Linux 8 | affected |
|
||||||
| Red Hat | Red Hat Enterprise Linux 8.2 Advanced Update Support | affected |
|
||||||
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | affected |
|
||||||
| Red Hat | Red Hat Enterprise Linux 8.4 Telecommunications Update Service | affected |
|
||||||
| Red Hat | Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | affected |
|
||||||
| Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | affected |
|
||||||
| Red Hat | Red Hat Enterprise Linux 8.6 Telecommunications Update Service | affected |
|
||||||
| Red Hat | Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | affected |
|
||||||
| Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | affected |
|
||||||
| Red Hat | Red Hat Enterprise Linux 9 | affected |
|
||||||
| Red Hat | Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | affected |
|
||||||
| Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | affected |
|
||||||
| Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | affected |
|
||||||
| Red Hat | Red Hat Enterprise Linux 10 | affected | — |
No data.
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Enterprise Linux 7.7 Advanced Update Support | |||
| NetworkManager-libreswan-0:1.2.4-4.el7_7 | cpe:/o:redhat:rhel_aus:7.7 | RHSA-2024:8338 | 2024-10-22T00:00:00Z |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | |||
| NetworkManager-libreswan-0:1.2.4-4.el7_9 | cpe:/o:redhat:rhel_els:7 | RHSA-2024:8357 | 2024-10-23T00:00:00Z |
| Red Hat Enterprise Linux 8 | |||
| NetworkManager-libreswan-0:1.2.10-7.el8_10 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2024:8353 | 2024-10-23T00:00:00Z |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | |||
| NetworkManager-libreswan-0:1.2.10-6.el8_2 | cpe:/a:redhat:rhel_aus:8.2 | RHSA-2024:8358 | 2024-10-23T00:00:00Z |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | |||
| NetworkManager-libreswan-0:1.2.10-6.el8_4 | cpe:/a:redhat:rhel_aus:8.4 | RHSA-2024:8355 | 2024-10-23T00:00:00Z |
| Red Hat Enterprise Linux 8.4 Telecommunications Update Service | |||
| NetworkManager-libreswan-0:1.2.10-6.el8_4 | cpe:/a:redhat:rhel_tus:8.4 | RHSA-2024:8355 | 2024-10-23T00:00:00Z |
| Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | |||
| NetworkManager-libreswan-0:1.2.10-6.el8_4 | cpe:/a:redhat:rhel_e4s:8.4 | RHSA-2024:8355 | 2024-10-23T00:00:00Z |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | |||
| NetworkManager-libreswan-0:1.2.10-6.el8_6 | cpe:/a:redhat:rhel_aus:8.6 | RHSA-2024:8356 | 2024-10-23T00:00:00Z |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | |||
| NetworkManager-libreswan-0:1.2.10-6.el8_6 | cpe:/a:redhat:rhel_tus:8.6 | RHSA-2024:8356 | 2024-10-23T00:00:00Z |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | |||
| NetworkManager-libreswan-0:1.2.10-6.el8_6 | cpe:/a:redhat:rhel_e4s:8.6 | RHSA-2024:8356 | 2024-10-23T00:00:00Z |
| Red Hat Enterprise Linux 8.8 Extended Update Support | |||
| NetworkManager-libreswan-0:1.2.10-6.el8_8 | cpe:/a:redhat:rhel_eus:8.8 | RHSA-2024:8354 | 2024-10-23T00:00:00Z |
| Red Hat Enterprise Linux 9 | |||
| NetworkManager-libreswan-0:1.2.22-4.el9_5 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2024:9555 | 2024-11-13T00:00:00Z |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | |||
| NetworkManager-libreswan-0:1.2.14-3.el9_0 | cpe:/a:redhat:rhel_e4s:9.0 | RHSA-2024:8312 | 2024-10-22T00:00:00Z |
| Red Hat Enterprise Linux 9.2 Extended Update Support | |||
| NetworkManager-libreswan-0:1.2.14-6.el9_2 | cpe:/a:redhat:rhel_eus:9.2 | RHSA-2024:8352 | 2024-10-23T00:00:00Z |
| Red Hat Enterprise Linux 9.4 Extended Update Support | |||
| NetworkManager-libreswan-0:1.2.18-6.el9_4 | cpe:/a:redhat:rhel_eus:9.4 | RHSA-2024:9556 | 2024-11-13T00:00:00Z |
No data available yet.
Vendor Workaround
A mitigation for this issue is either unavailable or the existing options do not meet Red Hat Product Security's standards for ease of use, deployment, widespread applicability, or stability. One potential approach is to prevent local users from controlling networking through polkit. However, this would also block them from connecting to new Wi-Fi networks, which is not ideal for laptops but might be acceptable for workstations. Server customers typically don't need to be concerned, as they generally don't have local users capable of exploiting the bug.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2024-50427 | 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 `leftupdown`key. 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. |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.457% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:enterprise_linux:10 |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/o:redhat:enterprise_linux:10 |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:enterprise_linux:9::appstream cpe:/a:redhat:rhel_eus:9.4::appstream |
|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:enterprise_linux:9 cpe:/a:redhat:rhel_eus:9.4 |
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-94 |
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:enterprise_linux:8 cpe:/a:redhat:rhel_aus:8.2 cpe:/a:redhat:rhel_aus:8.4 cpe:/a:redhat:rhel_aus:8.6 cpe:/a:redhat:rhel_e4s:8.4 cpe:/a:redhat:rhel_e4s:8.6 cpe:/a:redhat:rhel_eus:8.8 cpe:/a:redhat:rhel_eus:9.2 cpe:/a:redhat:rhel_tus:8.4 cpe:/a:redhat:rhel_tus:8.6 |
| Type | Values Removed | Values Added |
|---|---|---|
| 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 `leftupdown`key. 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. | 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 `leftupdown`key. 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. |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat rhel Els
Redhat rhel Eus Redhat rhel Tus |
|
| CPEs | cpe:/o:redhat:enterprise_linux:8 |
cpe:/a:redhat:enterprise_linux:8::appstream cpe:/a:redhat:rhel_aus:8.2::appstream cpe:/a:redhat:rhel_aus:8.4::appstream cpe:/a:redhat:rhel_aus:8.6::appstream cpe:/a:redhat:rhel_e4s:8.4::appstream cpe:/a:redhat:rhel_e4s:8.6::appstream cpe:/a:redhat:rhel_eus:8.8::appstream cpe:/a:redhat:rhel_eus:9.2::appstream cpe:/a:redhat:rhel_tus:8.4::appstream cpe:/a:redhat:rhel_tus:8.6::appstream cpe:/o:redhat:rhel_els:7 |
| Vendors & Products |
Redhat rhel Els
Redhat rhel Eus Redhat rhel Tus |
|
| References |
|
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:rhel_e4s:9.0 cpe:/o:redhat:rhel_aus:7.7 |
|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat rhel Aus
|
|
| CPEs | cpe:/o:redhat:rhel_aus:7.7::server | |
| Vendors & Products |
Redhat rhel Aus
|
|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat rhel E4s
|
|
| CPEs | cpe:/a:redhat:rhel_e4s:9.0::appstream | |
| Vendors & Products |
Redhat rhel E4s
|
|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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 `leftupdown`key. 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. | |
| Title | Networkmanager-libreswan: local privilege escalation via leftupdown | |
| First Time appeared |
Redhat
Redhat enterprise Linux |
|
| CPEs | cpe:/o:redhat:enterprise_linux:7 cpe:/o:redhat:enterprise_linux:8 cpe:/o:redhat:enterprise_linux:9 |
|
| Vendors & Products |
Redhat
Redhat enterprise Linux |
|
| References |
| |
| Metrics |
cvssV3_1
|