CVE-2012-2737
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: secalert@redhat.com — http://secunia.com/advisories/49759
Vendor advisory: secalert@redhat.com — http://secunia.com/advisories/49695
Vendor advisory: secalert@redhat.com — http://cgit.freedesktop.org/accountsservice/commit/?id=bd51aa4cdac380f55d607f4ffdf2ab3c00d08721
Vendor advisory: secalert@redhat.com — http://cgit.freedesktop.org/accountsservice/commit/?id=4c5b12e363410e490e776e4b4a86dcce157a543d
Vendor advisory: secalert@redhat.com — http://cgit.freedesktop.org/accountsservice/commit/?id=26213aa0e0d8dca5f36cc23f6942525224cbe9f5
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2012-2737
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | sid | fixed | 0.6.21-6 |
| debian | trixie | fixed | 0.6.21-6 |
| debian | bookworm | fixed | 0.6.21-6 |
| debian | forky | fixed | 0.6.21-6 |
| debian | bullseye | fixed | 0.6.21-6 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| ray_stode | accountsservice | {"endIncluding":"0.6.21"} | |
| ray_stode | accountsservice | 0.4 | |
| ray_stode | accountsservice | 0.5 | |
| ray_stode | accountsservice | 0.6 | |
| ray_stode | accountsservice | 0.6.1 | |
| ray_stode | accountsservice | 0.6.2 | |
| ray_stode | accountsservice | 0.6.3 | |
| ray_stode | accountsservice | 0.6.4 | |
| ray_stode | accountsservice | 0.6.5 | |
| ray_stode | accountsservice | 0.6.6 | |
| ray_stode | accountsservice | 0.6.7 | |
| ray_stode | accountsservice | 0.6.8 | |
| ray_stode | accountsservice | 0.6.9 | |
| ray_stode | accountsservice | 0.6.10 | |
| ray_stode | accountsservice | 0.6.11 | |
| ray_stode | accountsservice | 0.6.12 | |
| ray_stode | accountsservice | 0.6.13 | |
| ray_stode | accountsservice | 0.6.14 | |
| ray_stode | accountsservice | 0.6.15 | |
| ray_stode | accountsservice | 0.6.16 | |
| ray_stode | accountsservice | 0.6.17 | |
| ray_stode | accountsservice | 0.6.18 | |
| ray_stode | accountsservice | 0.6.19 | |
| ray_stode | accountsservice | 0.6.20 | |
References
- https://security-tracker.debian.org/tracker/CVE-2012-2737
- http://cgit.freedesktop.org/accountsservice/commit/?id=26213aa0e0d8dca5f36cc23f6942525224cbe9f5
- http://cgit.freedesktop.org/accountsservice/commit/?id=27f3d93a82fde4f6c7ab54f3f008af04f93f9c69
- http://cgit.freedesktop.org/accountsservice/commit/?id=4c5b12e363410e490e776e4b4a86dcce157a543d
- http://cgit.freedesktop.org/accountsservice/commit/?id=bd51aa4cdac380f55d607f4ffdf2ab3c00d08721
- http://lists.fedoraproject.org/pipermail/package-announce/2012-July/083359.html
- http://osvdb.org/83398
- http://secunia.com/advisories/49695
- http://secunia.com/advisories/49759
- http://www.openwall.com/lists/oss-security/2012/06/28/9
- http://www.securityfocus.com/bid/54223
- http://www.ubuntu.com/usn/USN-1485-1
- https://bugzilla.redhat.com/show_bug.cgi?id=832532
- https://exchange.xforce.ibmcloud.com/vulnerabilities/76648
- https://hermes.opensuse.org/messages/15100967
CWEs
CWE-362
Verify integrity in audit chain (admin only). AS-IS.