Lucene search
K

H2O-3 Arbitrary File Overwrite (CVE-2024-6854)

🗓️ 16 Dec 2024 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 12 Views

H2O-3 vulnerability allows arbitrary file overwrite on server from model export without restriction.

Related
Refs
Code
ReporterTitlePublishedViews
Family
CNNVD
H2O 安全漏洞
20 Mar 202500:00
cnnvd
CVE
CVE-2024-6854
20 Mar 202510:09
cve
Cvelist
CVE-2024-6854 Arbitrary File Overwrite in h2oai/h2o-3
20 Mar 202510:09
cvelist
EUVD
EUVD-2025-6978
3 Oct 202520:07
euvd
Github Security Blog
H2O Vulnerable to Arbitrary File Overwrite via File Export
20 Mar 202512:32
github
GitLab Advisory Database
H2O Vulnerable to Arbitrary File Overwrite via File Export
20 Mar 202500:00
gitlab
NVD
CVE-2024-6854
20 Mar 202510:15
nvd
OSV
CVE-2024-6854
20 Mar 202510:15
osv
OSV
GHSA-47F6-5P7H-5F3H H2O Vulnerable to Arbitrary File Overwrite via File Export
20 Mar 202512:32
osv
RedhatCVE
CVE-2024-6854
22 Mar 202511:44
redhatcve
Rows per page
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(213042);
  script_version("1.4");
  script_set_attribute(attribute:"plugin_modification_date", value:"2025/07/16");

  script_cve_id("CVE-2024-6854");

  script_name(english:"H2O-3 Arbitrary File Overwrite (CVE-2024-6854)");

  script_set_attribute(attribute:"synopsis", value:
"A Python library installed on the remote host is affected by a vulnerability.");
  script_set_attribute(attribute:"description", value:
"An arbitrary file overwrite vulnerability exists in H2O-3. The endpoint that allows 
for exporting models & does not limit where models can be exported to. As such an 
attacker can export a model to any file in the server file structure, overwriting it, 
by simply using the force flag.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
number.");
  # https://huntr.com/bounties/97d013f9-ac51-4c80-8dd7-8dfde11f33b2
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?38d3453f");
  # https://github.com/h2oai/h2o-3/blob/master/h2o-core/src/main/java/hex/Model.java#L3366
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?af873332");
  script_set_attribute(attribute:"solution", value:
"This vulnerability is currently not fixed. Fix the code manually or monitor new releases for a fix.");
  script_set_attribute(attribute:"agent", value:"all");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2024-6854");

  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_set_attribute(attribute:"vendor_unpatched", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2024/07/17");
  script_set_attribute(attribute:"plugin_publication_date", value:"2024/12/16");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"asset_categories", value:"component");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:h2o:h2o:3");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Artificial Intelligence");

  script_copyright(english:"This script is Copyright (C) 2024-2025 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("python_h2o3_detect.nasl");
  script_require_ports("installed_sw/H2O");

  exit(0);
}

include('vcf.inc');

var app_name = 'H2O';
var app_info = vcf::get_app_info(app:app_name);

report = 'This vulnerability remains unfixed and exists in the following locations:\n';

report += '\t Path: ' + app_info.path;
security_report_v4(port:0, severity:SECURITY_HOLE, extra:report);

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

16 Jul 2025 00:00Current
7.1High risk
Vulners AI Score7.1
CVSS 37.1
EPSS0.00693
SSVC
12