CVE-2012-2737
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- Exploit odds
- 0.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.4% in the next 30 days (EPSS).
- Severity: 1.9 LOW (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.4% · EPSS, next 30 days
- Weakness
- CWE-362 · Race condition
- Record status
- Modified
Affected
- Ray Stode Accountsservice ≤ 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
Attack profile CVSS 2.0 · 1.9
- Attack vector
- Local
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
Raw vector
AV:L/AC:M/Au:N/C:P/I:N/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-2737.md and follow it. Check whether this project is affected by CVE-2012-2737. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- 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://secunia.com/advisories/49695
- http://secunia.com/advisories/49759
- 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
References
- 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
- 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