ID CVE-2012-2737
Summary 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.
References
Vulnerable Configurations
  • cpe:2.3:a:ray_stode:accountsservice:0.4:*:*:*:*:*:*:*
    cpe:2.3:a:ray_stode:accountsservice:0.4:*:*:*:*:*:*:*
  • cpe:2.3:a:ray_stode:accountsservice:0.5:*:*:*:*:*:*:*
    cpe:2.3:a:ray_stode:accountsservice:0.5:*:*:*:*:*:*:*
  • cpe:2.3:a:ray_stode:accountsservice:0.6:*:*:*:*:*:*:*
    cpe:2.3:a:ray_stode:accountsservice:0.6:*:*:*:*:*:*:*
  • cpe:2.3:a:ray_stode:accountsservice:0.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:ray_stode:accountsservice:0.6.1:*:*:*:*:*:*:*
  • cpe:2.3:a:ray_stode:accountsservice:0.6.2:*:*:*:*:*:*:*
    cpe:2.3:a:ray_stode:accountsservice:0.6.2:*:*:*:*:*:*:*
  • cpe:2.3:a:ray_stode:accountsservice:0.6.3:*:*:*:*:*:*:*
    cpe:2.3:a:ray_stode:accountsservice:0.6.3:*:*:*:*:*:*:*
  • cpe:2.3:a:ray_stode:accountsservice:0.6.4:*:*:*:*:*:*:*
    cpe:2.3:a:ray_stode:accountsservice:0.6.4:*:*:*:*:*:*:*
  • cpe:2.3:a:ray_stode:accountsservice:0.6.5:*:*:*:*:*:*:*
    cpe:2.3:a:ray_stode:accountsservice:0.6.5:*:*:*:*:*:*:*
  • cpe:2.3:a:ray_stode:accountsservice:0.6.6:*:*:*:*:*:*:*
    cpe:2.3:a:ray_stode:accountsservice:0.6.6:*:*:*:*:*:*:*
  • cpe:2.3:a:ray_stode:accountsservice:0.6.7:*:*:*:*:*:*:*
    cpe:2.3:a:ray_stode:accountsservice:0.6.7:*:*:*:*:*:*:*
  • cpe:2.3:a:ray_stode:accountsservice:0.6.8:*:*:*:*:*:*:*
    cpe:2.3:a:ray_stode:accountsservice:0.6.8:*:*:*:*:*:*:*
  • cpe:2.3:a:ray_stode:accountsservice:0.6.9:*:*:*:*:*:*:*
    cpe:2.3:a:ray_stode:accountsservice:0.6.9:*:*:*:*:*:*:*
  • cpe:2.3:a:ray_stode:accountsservice:0.6.10:*:*:*:*:*:*:*
    cpe:2.3:a:ray_stode:accountsservice:0.6.10:*:*:*:*:*:*:*
  • cpe:2.3:a:ray_stode:accountsservice:0.6.11:*:*:*:*:*:*:*
    cpe:2.3:a:ray_stode:accountsservice:0.6.11:*:*:*:*:*:*:*
  • cpe:2.3:a:ray_stode:accountsservice:0.6.12:*:*:*:*:*:*:*
    cpe:2.3:a:ray_stode:accountsservice:0.6.12:*:*:*:*:*:*:*
  • cpe:2.3:a:ray_stode:accountsservice:0.6.13:*:*:*:*:*:*:*
    cpe:2.3:a:ray_stode:accountsservice:0.6.13:*:*:*:*:*:*:*
  • cpe:2.3:a:ray_stode:accountsservice:0.6.14:*:*:*:*:*:*:*
    cpe:2.3:a:ray_stode:accountsservice:0.6.14:*:*:*:*:*:*:*
  • cpe:2.3:a:ray_stode:accountsservice:0.6.15:*:*:*:*:*:*:*
    cpe:2.3:a:ray_stode:accountsservice:0.6.15:*:*:*:*:*:*:*
  • cpe:2.3:a:ray_stode:accountsservice:0.6.16:*:*:*:*:*:*:*
    cpe:2.3:a:ray_stode:accountsservice:0.6.16:*:*:*:*:*:*:*
  • cpe:2.3:a:ray_stode:accountsservice:0.6.17:*:*:*:*:*:*:*
    cpe:2.3:a:ray_stode:accountsservice:0.6.17:*:*:*:*:*:*:*
  • cpe:2.3:a:ray_stode:accountsservice:0.6.18:*:*:*:*:*:*:*
    cpe:2.3:a:ray_stode:accountsservice:0.6.18:*:*:*:*:*:*:*
  • cpe:2.3:a:ray_stode:accountsservice:0.6.19:*:*:*:*:*:*:*
    cpe:2.3:a:ray_stode:accountsservice:0.6.19:*:*:*:*:*:*:*
  • cpe:2.3:a:ray_stode:accountsservice:0.6.20:*:*:*:*:*:*:*
    cpe:2.3:a:ray_stode:accountsservice:0.6.20:*:*:*:*:*:*:*
  • cpe:2.3:a:ray_stode:accountsservice:0.6.21:*:*:*:*:*:*:*
    cpe:2.3:a:ray_stode:accountsservice:0.6.21:*:*:*:*:*:*:*
CVSS
Base: 1.9 (as of 29-08-2017 - 01:31)
Impact:
Exploitability:
CWE CWE-362
CAPEC
  • Leveraging Race Conditions
    The adversary targets a race condition occurring when multiple processes access and manipulate the same resource concurrently, and the outcome of the execution depends on the particular order in which the access takes place. The adversary can leverage a race condition by "running the race", modifying the resource and modifying the normal execution flow. For instance, a race condition can occur while accessing a file: the adversary can trick the system by replacing the original file with his version and cause the system to read the malicious file.
  • Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions
    This attack targets a race condition occurring between the time of check (state) for a resource and the time of use of a resource. A typical example is file access. The adversary can leverage a file access race condition by "running the race", meaning that they would modify the resource between the first time the target program accesses the file and the time the target program uses the file. During that period of time, the adversary could replace or modify the file, causing the application to behave unexpectedly.
Access
VectorComplexityAuthentication
LOCAL MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL NONE NONE
cvss-vector via4 AV:L/AC:M/Au:N/C:P/I:N/A:N
refmap via4
bid 54223
confirm
fedora FEDORA-2012-10120
misc https://bugzilla.redhat.com/show_bug.cgi?id=832532
mlist [oss-security] 20120628 accountsservice local file disclosure flaw (CVE-2012-2737)
osvdb 83398
secunia
  • 49695
  • 49759
suse openSUSE-SU-2012:0845
ubuntu USN-1485-1
xf accountsservice-userchangeicon-info-disc(76648)
Last major update 29-08-2017 - 01:31
Published 22-07-2012 - 17:55
Last modified 29-08-2017 - 01:31
Back to Top