1.9
CWE
362
Advisory Published
CVE Published
Updated

CVE-2012-2737: Race Condition

First published: Fri Jun 15 2012(Updated: )

Florian Weimer found a local file disclosure flaw in accountsservice, an account management system using D-Bus for querying and manipulating user accounts. The implementation of the SetIconFile method of the org.freedesktop.Accounts.User D-Bus interface can disclose arbitrary files due to a race condition in user_change_icon_file_authorized_cb() in /usr/libexec/accounts-daemon. When this function calls get_caller_uid(), it uses PolicyKit to obtain the UID of the requesting process from /proc. At the time the UID is fetched, it may not match the original UID making the D-Bus request if the process has executed an SUID binary.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
accountsservice<=0.6.21
accountsservice=0.4
accountsservice=0.5
accountsservice=0.6
accountsservice=0.6.1
accountsservice=0.6.2
accountsservice=0.6.3
accountsservice=0.6.4
accountsservice=0.6.5
accountsservice=0.6.6
accountsservice=0.6.7
accountsservice=0.6.8
accountsservice=0.6.9
accountsservice=0.6.10
accountsservice=0.6.11
accountsservice=0.6.12
accountsservice=0.6.13
accountsservice=0.6.14
accountsservice=0.6.15
accountsservice=0.6.16
accountsservice=0.6.17
accountsservice=0.6.18
accountsservice=0.6.19
accountsservice=0.6.20

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2012-2737?

    CVE-2012-2737 has a medium severity rating due to its local file disclosure vulnerability.

  • How do I fix CVE-2012-2737?

    To fix CVE-2012-2737, users should upgrade to a patched version of accountsservice that addresses the file disclosure flaw.

  • Which versions of accountsservice are affected by CVE-2012-2737?

    CVE-2012-2737 affects accountsservice versions up to 0.6.21 and includes various specific versions starting from 0.4.

  • Is CVE-2012-2737 a remote or local vulnerability?

    CVE-2012-2737 is a local vulnerability that requires access to the affected system to exploit.

  • What can an attacker achieve by exploiting CVE-2012-2737?

    An attacker exploiting CVE-2012-2737 can disclose arbitrary files from the affected system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203