Bug 1561684 (CVE-2014-2312) - CVE-2014-2312 thermald: privilege escalation in android_main.cpp
Summary: CVE-2014-2312 thermald: privilege escalation in android_main.cpp
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2014-2312
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1561685 1561686
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-28 17:05 UTC by Laura Pardo
Modified: 2019-09-29 14:35 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-17 15:24:58 UTC
Embargoed:


Attachments (Terms of Use)

Description Laura Pardo 2018-03-28 17:05:12 UTC
The main function in android_main.cpp in thermald allows local users to write to arbitrary files via a symlink attack on /tmp/thermald.pid on systems that lack of symlink and hardlink protections in world-writable directories


References:
http://www.openwall.com/lists/oss-security/2014/03/08/4

Comment 1 Laura Pardo 2018-03-28 17:05:40 UTC
Created thermald tracking bugs for this issue:

Affects: fedora-all [bug 1561686]
Affects: epel-7 [bug 1561685]

Comment 2 Benjamin Berg 2019-05-17 15:24:58 UTC
This CVE is specific to code that is only used on Android. In other cases the code in main.cpp is used which creates the PID file in /var/run/thermald, AFAICT there is no privilege escalation there as normal users are unable to write the location.


Note You need to log in before you can comment on or make changes to this bug.