Campsite 'g_campsiteDir' Remote and Local File Inclusion Vulnerabilities
🗓️ 30 Jun 2009 00:00:00Reported by Copyright (C) 2009 Greenbone AGType
openvas🔗 plugins.openvas.org👁 26 Views
| Reporter | Title | Published | Views | Family All 23 |
|---|---|---|---|---|
| CVE-2009-2181 | 23 Jun 200921:30 | – | attackerkb | |
| CVE-2009-2182 | 23 Jun 200921:30 | – | attackerkb | |
| CVE-2009-2183 | 23 Jun 200921:30 | – | attackerkb | |
| CVE-2009-2181 | 22 Jun 200900:00 | – | circl | |
| CVE-2009-2182 | 22 Jun 200900:00 | – | circl | |
| CVE-2009-2183 | 22 Jun 200900:00 | – | circl | |
| CVE-2009-2181 | 23 Jun 200921:21 | – | cve | |
| CVE-2009-2182 | 23 Jun 200921:21 | – | cve | |
| CVE-2009-2183 | 23 Jun 200921:21 | – | cve | |
| CVE-2009-2181 | 23 Jun 200921:21 | – | cvelist |
10
| Source | Link |
|---|---|
| milw0rm | www.milw0rm.com/exploits/8995 |
| vupen | www.vupen.com/english/advisories/2009/1650 |
| securityfocus | www.securityfocus.com/bid/35456 |
# SPDX-FileCopyrightText: 2009 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.900385");
script_version("2025-03-05T05:38:52+0000");
script_tag(name:"last_modification", value:"2025-03-05 05:38:52 +0000 (Wed, 05 Mar 2025)");
script_tag(name:"creation_date", value:"2009-06-30 16:55:49 +0200 (Tue, 30 Jun 2009)");
script_tag(name:"cvss_base", value:"7.5");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_cve_id("CVE-2009-2181", "CVE-2009-2182", "CVE-2009-2183");
script_name("Campsite 'g_campsiteDir' Remote and Local File Inclusion Vulnerabilities");
script_xref(name:"URL", value:"http://www.milw0rm.com/exploits/8995");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/35456");
script_xref(name:"URL", value:"http://www.vupen.com/english/advisories/2009/1650");
script_tag(name:"qod_type", value:"remote_analysis");
script_category(ACT_MIXED_ATTACK);
script_copyright("Copyright (C) 2009 Greenbone AG");
script_family("Web application abuses");
script_dependencies("secpod_campsite_detect.nasl");
script_require_ports("Services/www", 80);
script_mandatory_keys("campsite/detected");
script_tag(name:"impact", value:"Successful exploitation will allow attacker to execute arbitrary local
files, and cause XSS attack, Directory Traversal attack and remote File
Injection attack on the affected application.");
script_tag(name:"affected", value:"Campware, Campsite version 3.3.0 RC1 and prior.");
script_tag(name:"insight", value:"Multiple flaws exist due to:
- Input validation errors in the 'admin-files', 'conf/liveuser_configuration.php'
'include/phorum_load.php', scripts when processing the 'g_campsiteDir' parameter.
- Input validation error in the 'admin-files/templates/list_dir.php' script
when, processing the 'listbasedir' parameter.");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"solution", value:"Upgrade to Campsite version 3.3.6 or later");
script_tag(name:"summary", value:"Campsite is prone to multiple vulnerabilities.");
exit(0);
}
include("http_func.inc");
include("port_service_func.inc");
include("version_func.inc");
campsitePort = http_get_port(default:80);
campsiteVer = get_kb_item("www/"+ campsitePort + "/Campsite");
if(campsiteVer == NULL){
exit(0);
}
ver = eregmatch(pattern:"^(.+) under (/.*)$", string:campsiteVer);
if(ver[2] != NULL)
{
if(!safe_checks())
{
sndReq = http_get(item:string(ver[2], 'conf/liveuser_configuration.php' +
'?GLOBALS[g_campsiteDir]=[SHELL]'), port:campsitePort);
rcvRes = http_send_recv(port:campsitePort, data:sndReq);
if("SHELL" >< rcvRes && "No such file or directory" >< rcvRes)
{
security_message(campsitePort);
exit(0);
}
}
}
if(ver[1] != NULL)
{
if(version_is_less_equal(version:ver[1], test_version:"3.3.0.RC1")){
security_message(campsitePort);
}
}
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
05 Mar 2025 00:00Current
6.4Medium risk
Vulners AI Score6.4
CVSS 27.5
EPSS0.05692