vendor:
N/A
by:
bashack.c
8,8
CVSS
HIGH
Multiple Subsystem Errors
N/A
CWE
Product Name: N/A
Affected Version From: N/A
Affected Version To: N/A
Patch Exists: NO
Related CWE: N/A
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Linux
2000
root exploit: multiple subsystem errors allowing root exploit
This exploit takes advantage of multiple subsystem errors in order to gain root access. The exploit involves using /etc/rc.d/ and scripts that are trusting the untrustworthy, as well as using /bin/sh to create a mode 666 file with an easily predictable name, containing the pid as the only variant. This exploit can be used to gain root access until the next run of cron.weekly. The exploit involves creating a trojan in /usr/sbin/uuconv, which follows symlinks as euid=uucp, (uid,gid,egid=you). The exploit then creates a file in the user's home directory, which contains a script that copies /bin/sh to a predictable location and sets the permissions to 4755.
Mitigation:
The best way to mitigate this vulnerability is to ensure that all scripts and programs are properly validated and that all user input is sanitized.