CVE-2017-5618

HIGH

GNU screen < 4.5.1 - Unauthenticated Arbitrary File Write via Logfile Permissions

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2017-5618. PoCs published by RXDarkee.

AI-analyzed exploit summary This is a functional local privilege escalation exploit for GNU Screen 4.5.0 (CVE-2017-5618) that leverages shared library hijacking via ld.so.preload manipulation to gain root access. The exploit creates a malicious library and a setuid root shell, then tricks Screen into overwriting /etc/ld.so.preload to load the library.

Description

GNU screen before 4.5.1 allows local users to modify arbitrary files and consequently gain root privileges by leveraging improper checking of logfile permissions.

Exploits (1)

nomisec WORKING POC 2 stars
by RXDarkee · poc
https://github.com/RXDarkee/CVE-2017-5618-Screen-4.5.0-Root

This is a functional local privilege escalation exploit for GNU Screen 4.5.0 (CVE-2017-5618) that leverages shared library hijacking via ld.so.preload manipulation to gain root access. The exploit creates a malicious library and a setuid root shell, then tricks Screen into overwriting /etc/ld.so.preload to load the library.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: GNU Screen 4.5.0
Auth required
Prerequisites: Local access to a vulnerable system · GNU Screen 4.5.0 installed · Ability to compile C code
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (6)

Core 6
Core References
Release Notes, Third Party Advisory x_refsource_confirm
http://git.savannah.gnu.org/cgit/screen.git/tree/src/ChangeLog?h=v.4.5.1
Third Party Advisory x_refsource_confirm
http://savannah.gnu.org/bugs/?50142
Exploit, Mailing List, Third Party Advisory mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2017/01/29/3
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/95873
Exploit, Third Party Advisory mailing-list x_refsource_mlist
https://lists.gnu.org/archive/html/screen-devel/2017-01/msg00025.html

Scores

CVSS v3 7.8
EPSS 0.0109
EPSS Percentile 60.9%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-863
Status published
Products (1)
gnu/screen < 4.5.0
Published Mar 20, 2017
Tracked Since Feb 18, 2026