Race condition in accountsservice - CVE-2012-2737

 

Race condition in accountsservice - CVE-2012-2737

Published: July 22, 2012 / Updated: August 11, 2020


Vulnerability identifier: #VU43801
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2012-2737
CWE-ID: CWE-362
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Freedesktop.org
Affected software:
accountsservice

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to gain access to sensitive information.

The user_change_icon_file_authorized_cb function in /usr/libexec/accounts-daemon in AccountsService before 0.6.22 does not properly check the UID when copying an icon file to the system cache directory, which allows local users to read arbitrary files via a race condition.


How to mitigate CVE-2012-2737

Install update from vendor's website.

Sources