eXtropia bbs_forum.cgi Remote Arbitrary Command Execution Vulnerability

BID:2177

Info

eXtropia bbs_forum.cgi Remote Arbitrary Command Execution Vulnerability

Bugtraq ID: 2177
Class: Input Validation Error
CVE:
Remote: Yes
Local: Yes
Published: Jan 07 2001 12:00AM
Updated: Jan 07 2001 12:00AM
Credit: Reported to bugtraq by "[email protected]" <[email protected]> on 7 Jan, 2001.
Vulnerable: Extropia bbs_forum.cgi 1.0
Not Vulnerable:

Exploit / POC

eXtropia bbs_forum.cgi Remote Arbitrary Command Execution Vulnerability

scott <[email protected]> provided the following example:

www.web*site.com/cgi-bin/bbs_forum.cgi?forum=<forum_name>&read=../../../../../../etc/hosts.allow

note: The section: <forum_name> must be a valid forum on the webserver.

Solution / Fix

eXtropia bbs_forum.cgi Remote Arbitrary Command Execution Vulnerability

Solution:
Excerpted from CGI Security Advisory #3.1:

Patch: http://www.extropia.com/hacks/bbs_security.html

If you have made extensive modifications to bbs_forum.cgi and do not wish to start over from scratch, search for the line at the start of bbs_forum.cgi that says

&ReadParse;

And insert afterwards the following:

if ($in{'read'} && $in{'read'} !~ /^\d+-\d+\.msg$/i)
{
print "Invalid Message #";
die("Invalid Message # provided: " .
$in{'read'});
}
if ($in{'reply_to_message'} &&
$in{'reply_to_message'} !~ /^\d+-\d+\.msg$/i) {
print "Invalid Reply To Message #";
die("Invalid Reply To Message # provided: " .
$in{'reply_to_message'});
}

This code assures the script that the message file
form variables can only consist of the strict filename format of digits
followed by a hyphen followed by some digits followed by the literal
string ".msg".

We recommend updating your script as soon as possible.
Special thanks to cgisecurity.com for pointing our the issue.

References

eXtropia bbs_forum.cgi Remote Arbitrary Command Execution Vulnerability

References:
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report