| 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(213076);
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 11.0.0.M1 < 11.0.2 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 11.0.2. It is, therefore, affected by multiple
vulnerabilities as referenced in the fixed_in_apache_tomcat_11.0.2_security-11 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/4f0236606961176257b883213e1621b1859ed746
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?e648e413");
# https://github.com/apache/tomcat/commit/c0a23927ea5e061ca3fdff695138464179fe674a
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?a842c2cb");
# https://github.com/apache/tomcat/commit/b1f65728b37d7d227a0764344473b7e261a13408
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?4fe1c1dc");
# https://github.com/apache/tomcat/commit/a95bf2b0303442a2c9a1ac364b0e63b56049e33a
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?fa5a2c73");
# https://github.com/apache/tomcat/commit/4a335c6dcba8d6f8a54629eda392a50da267bdf4
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?963bbed9");
# https://github.com/apache/tomcat/commit/722814668708c42a61b0c1e340b15bc2b785c0d1
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?7ab927c8");
# https://github.com/apache/tomcat/commit/cb1707685472994e9d924746f8c91cb116fa5213
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?02897939");
# https://github.com/apache/tomcat/commit/cc7a98b57c6dc1df21979fcff94a36e068f4456c
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?63635078");
# https://github.com/apache/tomcat/commit/684247ae85fa633b9197b32391de59fc54703842
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?e2c9a18c");
# https://tomcat.apache.org/security-11.html#Fixed_in_Apache_Tomcat_11.0.2
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?bfb7f051");
script_set_attribute(attribute:"solution", value:
"Upgrade to Apache Tomcat version 11.0.2 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/17");
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:11");
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' : '11.0.0.M1', 'max_version' : '11.0.1', 'fixed_version' : '11.0.2' }
];
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