Lucene search

K

ModSecurity < 2.5.9 Multipart Request Header Name DoS

🗓️ 02 Jul 2013 00:00:00Reported by This script is Copyright (C) 2013-2022 Tenable Network Security, Inc.Type 
nessus
 nessus
🔗 www.tenable.com👁 15 Views

The remote web application firewall may be affected by a denial of service vulnerability. ModSecurity version is earlier than 2.5.9 and potentially affected by a denial of service vulnerability due to an error related to multipart form HTTP POST requests with a missing part header name that could allow an attacker to crash the application

Show more
Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2009-1902
3 Jun 200917:00
cve
NVD
CVE-2009-1902
3 Jun 200917:00
nvd
Prion
Null pointer dereference
3 Jun 200917:00
prion
UbuntuCve
CVE-2009-1902
3 Jun 200900:00
ubuntucve
Cvelist
CVE-2009-1902
3 Jun 200916:33
cvelist
OpenVAS
Fedora Core 10 FEDORA-2009-2686 (mod_security)
20 Mar 200900:00
openvas
OpenVAS
Gentoo Security Advisory GLSA 200907-02 (mod_security)
6 Jul 200900:00
openvas
OpenVAS
Fedora Core 10 FEDORA-2009-2686 (mod_security)
20 Mar 200900:00
openvas
OpenVAS
Gentoo Security Advisory GLSA 200907-02 (mod_security)
6 Jul 200900:00
openvas
OpenVAS
ModSecurity Multiple Remote Denial of Service Vulnerabilities
16 Jun 200900:00
openvas
Rows per page
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#

include('deprecated_nasl_level.inc');
include('compat.inc');

if (description)
{
  script_id(67125);
  script_version("1.11");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");

  script_cve_id("CVE-2009-1902");
  script_bugtraq_id(34096);
  script_xref(name:"EDB-ID", value:"8241");

  script_name(english:"ModSecurity < 2.5.9 Multipart Request Header Name DoS");

  script_set_attribute(attribute:"synopsis", value:
"The remote web application firewall may be affected by a denial of
service vulnerability.");
  script_set_attribute(attribute:"description", value:
"According to its banner, the version of ModSecurity installed on the
remote host is earlier than 2.5.9. It is, therefore, potentially
affected by a denial of service vulnerability. An error exists related
to multipart form HTTP POST requests with a missing part header name
that could allow an attacker to crash the application.

Note that Nessus has not tested for this issue but has instead relied
only on the version in the server's banner.");
  script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/2009/Mar/187");
  script_set_attribute(attribute:"solution", value:
"Upgrade to ModSecurity version 2.5.9 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");

  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:"2009/03/11");
  script_set_attribute(attribute:"patch_publication_date", value:"2009/03/05");
  script_set_attribute(attribute:"plugin_publication_date", value:"2013/07/02");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:modsecurity:modsecurity");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Firewalls");

  script_copyright(english:"This script is Copyright (C) 2013-2022 Tenable Network Security, Inc.");

  script_dependencies("modsecurity_http_version.nasl");
  script_require_keys("www/ModSecurity", "Settings/ParanoidReport");
  script_require_ports("Services/www", 80);

  exit(0);
}

include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");

port = get_http_port(default:80);

# Make sure this is ModSecurity
get_kb_item_or_exit('www/'+port+'/modsecurity');
version = get_kb_item_or_exit('www/modsecurity/'+port+'/version', exit_code:1);
backported = get_kb_item_or_exit('www/modsecurity/'+port+'/backported', exit_code:1);

if (report_paranoia < 2 && backported) audit(AUDIT_BACKPORT_SERVICE, port, "ModSecurity");

if (version == 'unknown') audit(AUDIT_UNKNOWN_WEB_SERVER_VER, "ModSecurity", port);

fixed_ver = '2.5.9';
if (
  version =~ "^[01]\." ||
  version =~ "^2\.([0-4]|5\.[0-8])($|[^0-9])"
)
{
  if (report_verbosity > 0)
  {
    source = get_kb_item_or_exit('www/modsecurity/'+port+'/source', exit_code:1);
    report =
      '\n  Version source    : ' + source +
      '\n  Installed version : ' + version +
      '\n  Fixed version     : ' + fixed_ver + '\n';
    security_hole(port:port, extra:report);
  }
  else security_hole(port);
  exit(0);
}
else audit(AUDIT_LISTEN_NOT_VULN, "ModSecurity", port, version);

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
02 Jul 2013 00:00Current
6Medium risk
Vulners AI Score6
CVSS25
EPSS0.058
15
.json
Report