Skip to content
OpenAdvisories
Low · 3.3 Public exploit CVE-2020-16126 EUVD-2020-8092GHSA-37qh-6xc5-7fm4

accountsservice drops ruid, allows unprivileged users to send it signals

Published Nov 11, 2020 · Updated Sep 16, 2024 · Assigned by canonical

Description

An Ubuntu-specific modification to AccountsService in versions before 0.6.55-0ubuntu13.2, among other earlier versions, improperly dropped the ruid, allowing untrusted users to send signals to AccountService, thus stopping it from handling D-Bus messages in a timely fashion.

Affected products

VendorProductAffectedFixed
Freedesktop accountsservice 0.6.35-0ubuntu7.3 – < 0.6.35-0ubuntu7.3+esm2, 0.6.40-2ubuntu11 – < 0.6.40-2ubuntu11.6, 0.6.45-1ubuntu1 – < 0.6.45-1ubuntu1.3, 0.6.55-0ubuntu – < 0.6.55-0ubuntu12~20.04.4, 0.6.55-0ubuntu13 – < 0.6.55-0ubuntu13.2 0.6.35-0ubuntu7.3+esm2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS accountsservice 0.6.55-0ubuntu12~20.04.4 USN-4616-1
Ubuntu 18.04 LTS accountsservice 0.6.45-1ubuntu1.3 USN-4616-1
Ubuntu 16.04 LTS accountsservice 0.6.40-2ubuntu11.6 USN-4616-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS accountsservice 0.6.35-0ubuntu7.3+esm2 USN-4616-2

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • A bash script exploit of [CVE-2020-16126/CVE-2020-16127] to achieve privilege escalation.Ubuntu 16.04-20.04 LTS本地提权漏洞利用脚本。要求拥有Gnome图形化环境。

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 2

References