CVE-2020-11936
Low · 2.5CVSS
2.5
EPSS
0.3%
Published
Aug 4, 2020
CISA due date
—
Cloudanix analysis
A bug in a common system tool on Linux computers could let someone already logged in get extra permissions they should not have.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Low
- Impact
- Privilege Gain
- Component
- Library
- Class
- Privilege Escalation
- Remediation
- Patch
- Effort
- Medium
- Patch risk
- Low
What it actually does
A flaw in gdbus permits local setgid privilege escalation by mishandling group permissions during D-Bus operations.
Why it matters to the business
Local attackers can obtain elevated group-level access on Linux systems, increasing the risk of unauthorized actions or further compromise.
How an attack unfolds
An attacker with local shell access crafts input to gdbus that triggers improper setgid handling, resulting in execution with unintended group privileges.
How to fix it
Update the GLib/D-Bus packages to a version that corrects the setgid handling in gdbus; apply vendor security updates as they become available.
How to confirm the fix worked
Confirm gdbus binary and library versions match patched releases; test local privilege boundaries with standard setgid verification tools.
Typical attack path
- Obtain local user access on a vulnerable system
- Invoke gdbus with specially crafted parameters
- Trigger setgid permission mishandling
- Execute code or commands with elevated group rights
How to detect it
Review authentication and process execution logs for unexpected gdbus invocations followed by group privilege changes; correlate with setgid binary usage.
- gdbus
- unexpected setgid transitions in auth logs
What your security team should do
- Prioritize patching GLib and related D-Bus components across all Linux fleets
- Restrict unnecessary local interactive access where possible
- Enable enhanced auditing of setgid transitions and D-Bus activity
The record
gdbus setgid privilege escalation
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:14.04:LTS | apport | 0 | 2.14.1-0ubuntu3.29+esm5 |
| Ubuntu:16.04:LTS | apport | 0 | 2.20.1-0ubuntu2.24 |
| Ubuntu:18.04:LTS | apport | 0 | 2.20.9-0ubuntu7.16 |
| Ubuntu:20.04:LTS | apport | 0 | 2.20.11-0ubuntu27.6 |
| Ubuntu:Pro:14.04:LTS | apport | 0 | 2.14.1-0ubuntu3.29+esm5 |
Related vulnerabilities
- CVE-2021-25682 It was discovered that the get_pid_info() function in data/apport did not properly parse… Also affects apport
- CVE-2020-8831 Apport creates a world writable lock file with root ownership in the world writable… Also affects apport
- CVE-2019-11481 Kevin Backhouse discovered that apport would read a user-supplied configuration file with… Also affects apport
- CVE-2019-7307 Apport before versions 2.14.1-0ubuntu3.29+esm1, 2.20.1-0ubuntu2.19, 2.20.9-0ubuntu7.7… Also affects apport
- CVE-2015-1341 Any Python module in sys.path can be imported if the command line of the process… Also affects apport
- CVE-2018-6552 Apport does not properly handle crashes originating from a PID namespace allowing local… Also affects apport
- CVE-2017-14177 Apport through 2.20.7 does not properly handle core dumps from setuid binaries allowing… Also affects apport
- CVE-2015-1324 Apport before 2.17.2-0ubuntu1.1 as packaged in Ubuntu 15.04, before 2.14.70ubuntu8.5 as… Also affects apport