#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##
include('compat.inc');
if (description)
{
script_id(216688);
script_version("1.1");
script_set_attribute(attribute:"plugin_modification_date", value:"2025/02/24");
script_cve_id("CVE-2024-56337");
script_name(english:"Atlassian Confluence 6.10.x < 8.5.19 / 8.6.x < 9.2.1 (CONFSERVER-99216)");
script_set_attribute(attribute:"synopsis", value:
"The remote Atlassian Confluence host is missing a security update.");
script_set_attribute(attribute:"description", value:
"The version of Atlassian Confluence Server running on the remote host is affected by a vulnerability as referenced in
the CONFSERVER-99216 advisory.
- 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)
Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
number.");
script_set_attribute(attribute:"see_also", value:"https://jira.atlassian.com/browse/CONFSERVER-99216");
script_set_attribute(attribute:"solution", value:
"Upgrade to Atlassian Confluence version 8.5.19, 9.2.1 or later.");
script_set_attribute(attribute:"agent", value:"all");
script_set_cvss_base_vector("CVSS2#AV:N/AC:H/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: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-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:"2025/02/14");
script_set_attribute(attribute:"plugin_publication_date", value:"2025/02/24");
script_set_attribute(attribute:"plugin_type", value:"combined");
script_set_attribute(attribute:"cpe", value:"cpe:/a:atlassian:confluence");
script_set_attribute(attribute:"thorough_tests", value:"true");
script_set_attribute(attribute:"enable_cgi_scanning", value:"true");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"CGI abuses");
script_copyright(english:"This script is Copyright (C) 2025 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("confluence_detect.nasl", "confluence_nix_installed.nbin", "confluence_win_installed.nbin");
script_require_keys("installed_sw/Atlassian Confluence");
exit(0);
}
include('vcf.inc');
var app_info = vcf::combined_get_app_info(app:'Atlassian Confluence');
var constraints = [
{ 'min_version' : '6.10.0', 'fixed_version' : '8.5.19' },
{ 'min_version' : '8.6.0', 'fixed_version' : '9.2.1' }
];
vcf::check_version_and_report(
app_info:app_info,
constraints:constraints,
severity:SECURITY_HOLE
);
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