| Source | Link |
|---|---|
| nessus | www.nessus.org/u |
| nessus | www.nessus.org/u |
| nessus | www.nessus.org/u |
| nessus | www.nessus.org/u |
| nessus | www.nessus.org/u |
| nessus | www.nessus.org/u |
| nessus | www.nessus.org/u |
| nessus | www.nessus.org/u |
| nessus | www.nessus.org/u |
| nessus | www.nessus.org/u |
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##
include('compat.inc');
if (description)
{
script_id(213077);
script_version("1.6");
script_set_attribute(attribute:"plugin_modification_date", value:"2025/03/13");
script_cve_id("CVE-2024-50379", "CVE-2024-54677", "CVE-2024-56337");
script_xref(name:"IAVA", value:"2024-A-0822-S");
script_name(english:"Apache Tomcat 10.1.0.M1 < 10.1.34 multiple vulnerabilities");
script_set_attribute(attribute:"synopsis", value:
"The remote Apache Tomcat server is affected by multiple vulnerabilities");
script_set_attribute(attribute:"description", value:
"The version of Tomcat installed on the remote host is prior to 10.1.34. It is, therefore, affected by multiple
vulnerabilities as referenced in the fixed_in_apache_tomcat_10.1.34_security-10 advisory.
- Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability during JSP compilation in Apache Tomcat
permits an RCE on case insensitive file systems when the default servlet is enabled for write (non-default
configuration). This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.1, from 10.1.0-M1 through
10.1.33, from 9.0.0.M1 through 9.0.97. Users are recommended to upgrade to version 11.0.2, 10.1.34 or
9.0.98, which fixes the issue. (CVE-2024-50379)
- Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability in Apache Tomcat. This issue affects
Apache Tomcat: from 11.0.0-M1 through 11.0.1, from 10.1.0-M1 through 10.1.33, from 9.0.0.M1 through
9.0.97. The mitigation for CVE-2024-50379 was incomplete. Users running Tomcat on a case insensitive file
system with the default servlet write enabled (readonly initialisation parameter set to the non-default
value of false) may need additional configuration to fully mitigate CVE-2024-50379 depending on which
version of Java they are using with Tomcat: - running on Java 8 or Java 11: the system property
sun.io.useCanonCaches must be explicitly set to false (it defaults to true) - running on Java 17: the
system property sun.io.useCanonCaches, if set, must be set to false (it defaults to false) - running on
Java 21 onwards: no further configuration is required (the system property and the problematic cache have
been removed) Tomcat 11.0.3, 10.1.35 and 9.0.99 onwards will include checks that sun.io.useCanonCaches is
set appropriately before allowing the default servlet to be write enabled on a case insensitive file
system. Tomcat will also set sun.io.useCanonCaches to false by default where it can. (CVE-2024-56337)
- Uncontrolled Resource Consumption vulnerability in the examples web application provided with Apache
Tomcat leads to denial of service. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.1, from
10.1.0-M1 through 10.1.33, from 9.0.0.M1 through 9.9.97. Users are recommended to upgrade to version
11.0.2, 10.1.34 or 9.0.98, which fixes the issue. (CVE-2024-54677)
Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
# https://github.com/apache/tomcat/commit/f57a9d9847c1038be61f5818d73b8be907c460d4
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?929956b6");
# https://github.com/apache/tomcat/commit/aa5b4d0043289cf054f531ec55126c980d3572e1
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?1a0972b3");
# https://github.com/apache/tomcat/commit/e8c16cdba833884e1bd49fff1f1cb699da177585
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?520244b1");
# https://github.com/apache/tomcat/commit/dbec927859d9484cb8bd680a7c67b1a560f48444
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?3f5f013a");
# https://github.com/apache/tomcat/commit/d63a10afc142b12f462a15f7d10f79fd80ff94eb
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?c22d5a17");
# https://github.com/apache/tomcat/commit/54e56495e9a106218efe9fc9c79d976c0032bbfd
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?e787d95a");
# https://github.com/apache/tomcat/commit/bbd82e9593314ade4cfd57248f9285fbad686f66
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?9a65c96c");
# https://github.com/apache/tomcat/commit/8554f6b1722b33a2ce8b0a3fad37825f3a75f2d2
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?f7716fe1");
# https://github.com/apache/tomcat/commit/05ddeeaa54df1e2dc427d0164bedd6b79f78d81f
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?19f2a336");
# https://tomcat.apache.org/security-10.html#Fixed_in_Apache_Tomcat_10.1.34
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?7f2bfde5");
script_set_attribute(attribute:"solution", value:
"Upgrade to Apache Tomcat version 10.1.34 or later.");
script_set_attribute(attribute:"agent", value:"all");
script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P");
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:N/UI:N/S:U/C:H/I:H/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-50379");
script_set_attribute(attribute:"cvss3_score_source", value:"CVE-2024-56337");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value:"2024/12/09");
script_set_attribute(attribute:"patch_publication_date", value:"2024/12/09");
script_set_attribute(attribute:"plugin_publication_date", value:"2024/12/17");
script_set_attribute(attribute:"plugin_type", value:"combined");
script_set_attribute(attribute:"cpe", value:"cpe:/a:apache:tomcat:10");
script_set_attribute(attribute:"generated_plugin", value:"current");
script_set_attribute(attribute:"stig_severity", value:"I");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Web Servers");
script_copyright(english:"This script is Copyright (C) 2024-2025 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("os_fingerprint.nasl", "tomcat_error_version.nasl", "tomcat_win_installed.nbin", "apache_tomcat_nix_installed.nbin");
script_require_keys("installed_sw/Apache Tomcat");
exit(0);
}
include('vcf_extras.inc');
vcf::tomcat::initialize();
var app_info = vcf::combined_get_app_info(app:'Apache Tomcat');
var constraints = [
{ 'min_version' : '10.1.0.M1', 'max_version' : '10.1.33', 'fixed_version' : '10.1.34' }
];
vcf::check_all_backporting(app_info:app_info);
vcf::check_granularity(app_info:app_info, sig_segments:3);
vcf::check_version_and_report(
app_info:app_info,
constraints:constraints,
severity:SECURITY_WARNING
);
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