Lucene search

K

Apache Hadoop HDFS Permissive listXAttr Authorization

🗓️ 12 Feb 2019 00:00:00Reported by Copyright (C) 2019 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 109 Views

HDFS exposes extended attribute key/value pairs during listXAttrs, verifying only path-level search access to the directory rather than path-level read permission to the referent. This affects features that store sensitive data in extended attributes, such as HDFS encryption secrets

Show more
Related
Refs
Code
ReporterTitlePublishedViews
Family
Cvelist
CVE-2018-1296
7 Feb 201922:00
cvelist
OSV
CVE-2018-1296
7 Feb 201922:29
osv
OSV
Exposure of Sensitive Information to an Unauthorized Actor in Hadoop
12 Feb 201917:26
osv
RedhatCVE
CVE-2018-1296
12 Oct 201901:22
redhatcve
Veracode
Information Leakage
8 Feb 201908:27
veracode
Github Security Blog
Exposure of Sensitive Information to an Unauthorized Actor in Hadoop
12 Feb 201917:26
github
CVE
CVE-2018-1296
7 Feb 201922:29
cve
NVD
CVE-2018-1296
7 Feb 201922:29
nvd
Prion
Design/Logic Flaw
7 Feb 201922:29
prion
IBM Security Bulletins
Security Bulletin: IBM Cognos Analytics has addressed multiple vulnerabilities
22 Jun 202215:20
ibm
Rows per page
# Copyright (C) 2019 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:apache:hadoop";

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.141986");
  script_version("2022-04-13T07:21:45+0000");
  script_tag(name:"last_modification", value:"2022-04-13 07:21:45 +0000 (Wed, 13 Apr 2022)");
  script_tag(name:"creation_date", value:"2019-02-12 10:35:05 +0700 (Tue, 12 Feb 2019)");
  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_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2019-02-21 17:13:00 +0000 (Thu, 21 Feb 2019)");

  script_cve_id("CVE-2018-1296");

  script_tag(name:"qod_type", value:"remote_banner");

  script_tag(name:"solution_type", value:"Mitigation");

  script_name("Apache Hadoop HDFS Permissive listXAttr Authorization");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2019 Greenbone Networks GmbH");
  script_family("Web application abuses");
  script_dependencies("gb_apache_hadoop_detect.nasl");
  script_mandatory_keys("Apache/Hadoop/Installed");

  script_tag(name:"summary", value:"HDFS exposes extended attribute key/value pairs during listXAttrs, verifying
only path-level search access to the directory rather than path-level read permission to the referent. This
affects features that store sensitive data in extended attributes, such as HDFS encryption secrets.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host");

  script_tag(name:"affected", value:"Apache Hadoop 3.0.0-alpha1 to 3.0.0, 2.9.0, 2.8.0 to 2.8.3 and 2.5.0 to
2.7.5.");

  script_tag(name:"solution", value:"If a file contains sensitive data in extended attributes, users and admins
need to change the permission to prevent others from listing the directory which contains the file.");

  script_xref(name:"URL", value:"https://lists.apache.org/thread.html/a5b15bc76fbdad2ee40761aacf954a13aeef67e305f86d483f267e8e@%3Cuser.hadoop.apache.org%3E");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/106764");

  exit(0);
}

include("host_details.inc");
include("version_func.inc");

if (!port = get_app_port(cpe: CPE))
  exit(0);

if (!version = get_app_version(cpe: CPE, port: port))
  exit(0);

if (version_in_range(version: version, test_version: "2.5.0", test_version2: "2.7.5")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "See advisory");
  security_message(port: port, data: report);
  exit(0);
}

if (version_in_range(version: version, test_version: "2.8.0", test_version2: "2.8.3")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "See advisory");
  security_message(port: port, data: report);
  exit(0);
}

if (version_is_equal(version: version, test_version: "2.9.0")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "See advisory");
  security_message(port: port, data: report);
  exit(0);
}

if (version_is_equal(version: version, test_version: "3.0.0")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "See advisory");
  security_message(port: port, data: report);
  exit(0);
}

exit(99);

Transform Your Security Services

Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.

Book a live demo
12 Feb 2019 00:00Current
7.6High risk
Vulners AI Score7.6
CVSS25
CVSS37.5
EPSS0.001
109
.json
Report