CVE-2018-19788 Integer overflow in n/a
A user with a UID greater than INT_MAX can execute arbitrary systemctl commands, leading to privilege escalation on Linux systems using PolicyKit.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-19788?
CVE-2018-19788 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 3 Dec 2018. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A flaw was found in PolicyKit (aka polkit) 0.115 that allows a user with a uid greater than INT_MAX to successfully execute any systemctl command.
Weakness: CWE-20
Which versions are affected by CVE-2018-19788?
It affects 3 products.
Linux distribution packages (40)
polkit Red Hat:enterprise_linux:7::client | All versions | 0:0.112-22.el7 |
polkit-debuginfo Red Hat:enterprise_linux:7::client | All versions | 0:0.112-22.el7 |
polkit-devel Red Hat:enterprise_linux:7::client | All versions | 0:0.112-22.el7 |
polkit-docs Red Hat:enterprise_linux:7::client | All versions | 0:0.112-22.el7 |
polkit Red Hat:enterprise_linux:7::computenode | All versions | 0:0.112-22.el7 |
polkit-debuginfo Red Hat:enterprise_linux:7::computenode | All versions | 0:0.112-22.el7 |
polkit-devel Red Hat:enterprise_linux:7::computenode | All versions | 0:0.112-22.el7 |
polkit-docs Red Hat:enterprise_linux:7::computenode | All versions | 0:0.112-22.el7 |
polkit Red Hat:enterprise_linux:7::server | All versions | 0:0.112-22.el7 |
polkit-debuginfo Red Hat:enterprise_linux:7::server | All versions | 0:0.112-22.el7 |
polkit-devel Red Hat:enterprise_linux:7::server | All versions | 0:0.112-22.el7 |
polkit-docs Red Hat:enterprise_linux:7::server | All versions | 0:0.112-22.el7 |
polkit Red Hat:enterprise_linux:7::workstation | All versions | 0:0.112-22.el7 |
polkit-debuginfo Red Hat:enterprise_linux:7::workstation | All versions | 0:0.112-22.el7 |
polkit-devel Red Hat:enterprise_linux:7::workstation | All versions | 0:0.112-22.el7 |
polkit-docs Red Hat:enterprise_linux:7::workstation | All versions | 0:0.112-22.el7 |
polkit Red Hat:rhel_eus:7.6::computenode | All versions | 0:0.112-18.el7_6.2 |
polkit-debuginfo Red Hat:rhel_eus:7.6::computenode | All versions | 0:0.112-18.el7_6.2 |
polkit-devel Red Hat:rhel_eus:7.6::computenode | All versions | 0:0.112-18.el7_6.2 |
polkit-docs Red Hat:rhel_eus:7.6::computenode | All versions | 0:0.112-18.el7_6.2 |
polkit Red Hat:rhel_eus:7.6::server | All versions | 0:0.112-18.el7_6.2 |
polkit-debuginfo Red Hat:rhel_eus:7.6::server | All versions | 0:0.112-18.el7_6.2 |
polkit-devel Red Hat:rhel_eus:7.6::server | All versions | 0:0.112-18.el7_6.2 |
polkit-docs Red Hat:rhel_eus:7.6::server | All versions | 0:0.112-18.el7_6.2 |
polkit SUSE:Enterprise Storage 4 | All versions | 0.113-5.15.1 |
polkit SUSE:Linux Enterprise Desktop 12 SP3 | All versions | 0.113-5.15.1 |
polkit SUSE:Linux Enterprise Desktop 12 SP4 | All versions | 0.113-5.15.1 |
polkit SUSE:Linux Enterprise Module for Basesystem 15 | All versions | 0.114-3.6.1 |
polkit SUSE:Linux Enterprise Server 12 SP1-LTSS | All versions | 0.113-5.15.1 |
polkit SUSE:Linux Enterprise Server 12 SP2-BCL | All versions | 0.113-5.15.1 |
polkit SUSE:Linux Enterprise Server 12 SP2-LTSS | All versions | 0.113-5.15.1 |
polkit SUSE:Linux Enterprise Server 12 SP3 | All versions | 0.113-5.15.1 |
polkit SUSE:Linux Enterprise Server 12 SP4 | All versions | 0.113-5.15.1 |
polkit SUSE:Linux Enterprise Server 12-LTSS | All versions | 0.113-5.15.1 |
polkit SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | All versions | 0.113-5.15.1 |
polkit SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | All versions | 0.113-5.15.1 |
polkit SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | All versions | 0.113-5.15.1 |
polkit SUSE:Linux Enterprise Server for SAP Applications 12 SP4 | All versions | 0.113-5.15.1 |
polkit SUSE:Linux Enterprise Software Development Kit 12 SP3 | All versions | 0.113-5.15.1 |
polkit SUSE:Linux Enterprise Software Development Kit 12 SP4 | All versions | 0.113-5.15.1 |
Products include Canonical Ubuntu Linux, Debian Debian Linux, Polkit Project Polkit.
How do I fix CVE-2018-19788?
Apply the vendor's patch.
Is CVE-2018-19788 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-19788 exists.
Public exploit code: 4 proofs of concept on GitHub.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as ALPINE-CVE-2018-19788, DEBIAN-CVE-2018-19788, DSA-4350-1, GHSA-4569-2jp2-r7vf, RHSA-2019:2046, RHSA-2019:3232 and 6 more.