Bug 1416704 (CVE-2017-5618) - CVE-2017-5618 screen: Privilege escalation via unsafe logfile handling
Summary: CVE-2017-5618 screen: Privilege escalation via unsafe logfile handling
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2017-5618
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:
Blocks: 1416707
TreeView+ depends on / blocked
 
Reported: 2017-01-26 09:49 UTC by Andrej Nemec
Modified: 2019-09-29 14:05 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-26 16:43:49 UTC


Attachments (Terms of Use)

Description Andrej Nemec 2017-01-26 09:49:40 UTC
A vulnerability was found in a way screen handles logfiles. A maliciously crafted logfile could allow the attacker to possibly elevate his privileges to those of root.

References:

https://lists.gnu.org/archive/html/screen-devel/2017-01/msg00025.html
http://seclists.org/oss-sec/2017/q1/184

Comment 1 Cedric Buissart 🐶 2017-01-26 16:42:13 UTC
The vulnerable code is not present in screen as shipped in Red Hat Enterprise Linux versions 5, 6 and 7.

Also, Red Hat Enterprise Linux versions 5, 6 and 7 are shipped with /usr/bin/screen SGID set to 'screen' group.

Comment 2 Andrej Nemec 2017-01-30 09:37:36 UTC
CVE assignment:

http://seclists.org/oss-sec/2017/q1/224


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