CVE-2012-2737
The user_change_icon_file_authorized_cb function in /usr/libexec/accounts-daemon in AccountsService before 0.6.22 does not properly…
Check your servers for CVE-2012-2737
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2012-2737 affects a package, with the command that installs the fix. The free plan covers one server and does not need a credit card.
Description
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.
Exploitation
EPSS 0.36%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 22.3% of all scored CVEs. Scores of 27 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2012-2737 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2012-2737RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2012-2737Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2012-2737
trivy image --scanners vuln IMAGE | grep CVE-2012-2737
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.
References
Advisories
- http://cgit.freedesktop.org/accountsservice/commit/?id=bd51aa4cdac380f55d607f4ffdf2ab3c00d08721 cgit.freedesktop.org
- 49695 secunia.com · third party advisory
- USN-1485-1 ubuntu.com · vendor advisory
- 49759 secunia.com · third party advisory
- openSUSE-SU-2012:0845 hermes.opensuse.org · vendor advisory
- http://cgit.freedesktop.org/accountsservice/commit/?id=26213aa0e0d8dca5f36cc23f6942525224cbe9f5 cgit.freedesktop.org
- http://cgit.freedesktop.org/accountsservice/commit/?id=27f3d93a82fde4f6c7ab54f3f008af04f93f9c69 cgit.freedesktop.org
- FEDORA-2012-10120 lists.fedoraproject.org · vendor advisory
- http://cgit.freedesktop.org/accountsservice/commit/?id=4c5b12e363410e490e776e4b4a86dcce157a543d cgit.freedesktop.org
Other references
- 54223 securityfocus.com · vdb entry
- https://bugzilla.redhat.com/show_bug.cgi?id=832532 bugzilla.redhat.com
- 83398 osvdb.org · vdb entry
- accountsservice-userchangeicon-info-disc(76648) exchange.xforce.ibmcloud.com · vdb entry
- [oss-security] 20120628 accountsservice local file disclosure flaw (CVE-2012-2737) openwall.com · mailing list
Source: the record CVE-2012-2737 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse