Lucene search
+L

Django Forms Library Algorithmic Complexity Vulnerability

🗓️ 29 Oct 2009 00:00:00Reported by Copyright (C) 2009 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 26 Views

Django Forms Library Algorithmic Complexity Vulnerability in Version 1.0.3 and belo

Related
Refs
Code
# SPDX-FileCopyrightText: 2009 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

CPE = "cpe:/a:djangoproject:django";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.900882");
  script_version("2025-03-05T05:38:52+0000");
  script_tag(name:"last_modification", value:"2025-03-05 05:38:52 +0000 (Wed, 05 Mar 2025)");
  script_tag(name:"creation_date", value:"2009-10-29 07:53:15 +0100 (Thu, 29 Oct 2009)");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
  script_cve_id("CVE-2009-3695");
  script_name("Django Forms Library Algorithmic Complexity Vulnerability");
  script_xref(name:"URL", value:"http://secunia.com/advisories/36948/");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/36655");
  script_xref(name:"URL", value:"http://www.vupen.com/english/advisories/2009/2871");
  script_xref(name:"URL", value:"http://www.djangoproject.com/weblog/2009/oct/09/security/");

  script_tag(name:"qod_type", value:"executable_version");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2009 Greenbone AG");
  script_family("Denial of Service");
  script_dependencies("gb_django_detect_lin.nasl");
  script_mandatory_keys("Django/Linux/Ver");

  script_tag(name:"impact", value:"Successful exploitation will allow attacker to cause a Denial of Service
  due to high CPU consumption via specially crafted email addresses or URLs.");

  script_tag(name:"affected", value:"Django version prior to 1.0 before 1.0.4 and 1.1 before 1.1.1.");

  script_tag(name:"insight", value:"The flaw is due to an error within the regular expressions used for
  validation of the 'EmailField' or 'URLField' form fields in Django's forms library.");

  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"solution", value:"Upgrade to Django version 1.0.4 or 1.1.1 or later.");

  script_tag(name:"summary", value:"Django is prone to Algorithmic Complexity vulnerability.");

  exit(0);
}

include("version_func.inc");
include("host_details.inc");

djangoVer = get_app_version(cpe: CPE);

if(djangoVer)
{
  if(version_in_range(version:djangoVer, test_version:"1.0", test_version2:"1.0.3")||
     version_is_equal(version:djangoVer, test_version:"1.1")){
    security_message(port:0);
  }
}

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

05 Mar 2025 00:00Current
6.3Medium risk
Vulners AI Score6.3
CVSS 25
EPSS0.03717
26