4.3 Medium
CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
PARTIAL
Availability Impact
NONE
AV:N/AC:M/Au:N/C:N/I:P/A:N
6.3 Medium
AI Score
Confidence
High
0.003 Low
EPSS
Percentile
66.4%
GetSimple CMS is prone to multiple vulnerabilities.
# Copyright (C) 2014 Greenbone Networks GmbH
# 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-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# 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.
CPE = "cpe:/a:get-simple:getsimple_cms";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.804225");
script_version("2022-04-14T11:24:11+0000");
script_cve_id("CVE-2012-6621", "CVE-2013-7243");
script_tag(name:"cvss_base", value:"4.3");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:N");
script_tag(name:"last_modification", value:"2022-04-14 11:24:11 +0000 (Thu, 14 Apr 2022)");
script_tag(name:"creation_date", value:"2014-01-21 17:46:37 +0530 (Tue, 21 Jan 2014)");
script_name("GetSimple CMS 3.1.x / 3.2.x Multiple Vulnerabilities");
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2014 Greenbone Networks GmbH");
script_family("Web application abuses");
script_dependencies("gb_getsimple_cms_http_detect.nasl");
script_require_ports("Services/www", 80);
script_mandatory_keys("getsimple_cms/http/detected");
script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/75534");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/53501");
script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/75535");
script_xref(name:"URL", value:"http://packetstormsecurity.com/files/124711");
script_xref(name:"URL", value:"http://packetstormsecurity.com/files/112643");
script_tag(name:"summary", value:"GetSimple CMS is prone to multiple vulnerabilities.");
script_tag(name:"vuldetect", value:"Sends a crafted HTTP GET request and checks the response.");
script_tag(name:"insight", value:"Flaw exists in upload.php, theme.php, pages.php, settings.php
and index.php scripts, which fail to properly sanitize user-supplied input to 'path', 'err',
'error' and 'success' parameter and 'Custom Permalink Structure', 'Display name', 'Email Address'
fields.");
script_tag(name:"impact", value:"Successful exploitation will allow remote attackers to inject
HTML code or steal the victim's cookie-based authentication credentials.");
script_tag(name:"affected", value:"GetSimple CMS 3.1, 3.1.2, 3.2.3 are known to be affected. Other
versions may also be affected.");
script_tag(name:"solution", value:"No known solution was made available for at least one year
since the disclosure of this vulnerability. Likely none will be provided anymore. General solution
options are to upgrade to a newer release, disable respective features, remove the product or
replace the product by another one.");
script_tag(name:"solution_type", value:"WillNotFix");
script_tag(name:"qod_type", value:"remote_app");
exit(0);
}
include("http_func.inc");
include("http_keepalive.inc");
include("host_details.inc");
if( ! port = get_app_port( cpe:CPE, service:"www" ) )
exit( 0 );
if( ! dir = get_app_location( cpe:CPE, port:port ) )
exit( 0 );
if( dir == "/" )
dir = "";
url = dir + '/admin/index.php?success=>"<iframe%20src=http://www.example.com>';
if( http_vuln_check( port:port, url:url, check_header:TRUE, pattern:"http://www\.example\.com" ) ) {
report = http_report_vuln_url( port:port, url:url );
security_message( port:port, data:report );
exit( 0 );
}
exit( 99 );