ID D2C2952D-85A1-11DC-BFFF-003048705D5A Type freebsd Reporter FreeBSD Modified 2007-10-26T00:00:00
Description
Django project reports:
A per-process cache used by Django's internationalization
("i18n") system to store the results of translation lookups
for particular values of the HTTP Accept-Language header
used the full value of that header as a key. An attacker
could take advantage of this by sending repeated requests
with extremely large strings in the Accept-Language header,
potentially causing a denial of service by filling available
memory.
Due to limitations imposed by Web server software on the
size of HTTP header fields, combined with reasonable limits
on the number of requests which may be handled by a single
server process over its lifetime, this vulnerability may be
difficult to exploit. Additionally, it is only present when
the "USE_I18N" setting in Django is "True" and the i18n
middleware component is enabled*. Nonetheless, all users of
affected versions of Django are encouraged to update.
{"modified": "2007-10-26T00:00:00", "cvelist": [], "edition": 1, "type": "freebsd", "reporter": "FreeBSD", "references": ["http://www.djangoproject.com/weblog/2007/oct/26/security-fix/"], "hashmap": [{"hash": "c7eac69422db3c2de83d39a8342306aa", "key": "affectedPackage"}, {"hash": "4913a9178621eadcdf191db17915fbcb", "key": "bulletinFamily"}, {"hash": "d41d8cd98f00b204e9800998ecf8427e", "key": "cvelist"}, {"hash": "8cd4821cb504d25572038ed182587d85", "key": "cvss"}, {"hash": "c0db2ba46358ec83a870018f4dbad22e", "key": "description"}, {"hash": "a98f2ccd8b3274b94eb6c71b8636beac", "key": "href"}, {"hash": "822013d4e2782bc3863e4f431d40bd07", "key": "modified"}, {"hash": "56765472680401499c79732468ba4340", "key": "objectVersion"}, {"hash": "822013d4e2782bc3863e4f431d40bd07", "key": "published"}, {"hash": "669a0ff4ec5126f1888faa0d39416c45", "key": "references"}, {"hash": "a3dc630729e463135f4e608954fa6e19", "key": "reporter"}, {"hash": "b71c74d778503e4996ddca4400d6d12f", "key": "title"}, {"hash": "1527e888767cdce15d200b870b39cfd0", "key": "type"}, {"hash": "cfcd208495d565ef66e7dff9f98764da", "key": "viewCount"}], "href": "https://vuxml.freebsd.org/freebsd/d2c2952d-85a1-11dc-bfff-003048705d5a.html", "description": "\nDjango project reports:\n\nA per-process cache used by Django's internationalization\n\t (\"i18n\") system to store the results of translation lookups\n\t for particular values of the HTTP Accept-Language header\n\t used the full value of that header as a key. An attacker\n\t could take advantage of this by sending repeated requests\n\t with extremely large strings in the Accept-Language header,\n\t potentially causing a denial of service by filling available\n\t memory.\nDue to limitations imposed by Web server software on the\n\t size of HTTP header fields, combined with reasonable limits\n\t on the number of requests which may be handled by a single\n\t server process over its lifetime, this vulnerability may be\n\t difficult to exploit. Additionally, it is only present when\n\t the \"USE_I18N\" setting in Django is \"True\" and the i18n\n\t middleware component is enabled*. Nonetheless, all users of\n\t affected versions of Django are encouraged to update.\n\n", "id": "D2C2952D-85A1-11DC-BFFF-003048705D5A", "lastseen": "2016-09-26T17:24:59", "cvss": {"score": 0.0, "vector": "NONE"}, "hash": "7d547cd7bbe56d25cda35b117a05175c5d12e78e1ee02e8a48f06fc34a3f2bbc", "enchantments": {"score": {"value": 3.3, "vector": "NONE", "modified": "2016-09-26T17:24:59"}, "dependencies": {"references": [{"type": "openvas", "idList": ["OPENVAS:58776"]}, {"type": "nessus", "idList": ["FREEBSD_PKG_D2C2952D85A111DCBFFF003048705D5A.NASL"]}], "modified": "2016-09-26T17:24:59"}, "vulnersScore": 3.3}, "bulletinFamily": "unix", "history": [], "published": "2007-10-26T00:00:00", "objectVersion": "1.2", "affectedPackage": [{"packageFilename": "UNKNOWN", "operator": "lt", "packageVersion": "0.96.1", "OS": "FreeBSD", "packageName": "py24-django", "OSVersion": "any", "arch": "noarch"}, {"packageFilename": "UNKNOWN", "operator": "lt", "packageVersion": "0.96.1", "OS": "FreeBSD", "packageName": "py25-django", "OSVersion": "any", "arch": "noarch"}, {"packageFilename": "UNKNOWN", "operator": "lt", "packageVersion": "0.96.1", "OS": "FreeBSD", "packageName": "py23-django", "OSVersion": "any", "arch": "noarch"}, {"packageFilename": "UNKNOWN", "operator": "lt", "packageVersion": "20071026", "OS": "FreeBSD", "packageName": "py24-django-devel", "OSVersion": "any", "arch": "noarch"}, {"packageFilename": "UNKNOWN", "operator": "lt", "packageVersion": "20071026", "OS": "FreeBSD", "packageName": "py23-django-devel", "OSVersion": "any", "arch": "noarch"}, {"packageFilename": "UNKNOWN", "operator": "lt", "packageVersion": "20071026", "OS": "FreeBSD", "packageName": "py25-django-devel", "OSVersion": "any", "arch": "noarch"}], "title": "py-django -- denial of service vulnerability", "viewCount": 0}
{"openvas": [{"lastseen": "2017-07-02T21:10:19", "bulletinFamily": "scanner", "description": "The remote host is missing an update to the system\nas announced in the referenced advisory.", "modified": "2016-09-28T00:00:00", "published": "2008-09-04T00:00:00", "href": "http://plugins.openvas.org/nasl.php?oid=58776", "id": "OPENVAS:58776", "title": "FreeBSD Ports: py23-django, py24-django, py25-django", "type": "openvas", "sourceData": "#\n#VID d2c2952d-85a1-11dc-bfff-003048705d5a\n# OpenVAS Vulnerability Test\n# $\n# Description: Auto generated from vuxml or freebsd advisories\n#\n# Authors:\n# Thomas Reinke <reinke@securityspace.com>\n#\n# Copyright:\n# Copyright (c) 2008 E-Soft Inc. http://www.securityspace.com\n# Text descriptions are largely excerpted from the referenced\n# advisories, and are Copyright (c) the respective author(s)\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2,\n# as published by the Free Software Foundation\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n#\n\ninclude(\"revisions-lib.inc\");\ntag_insight = \"The following packages are affected:\n py23-django\n py24-django\n py25-django\n py23-django-devel\n py24-django-devel\n py25-django-devel\n\n=====\";\ntag_solution = \"Update your system with the appropriate patches or\nsoftware upgrades.\n\nhttp://www.djangoproject.com/weblog/2007/oct/26/security-fix/\nhttp://www.vuxml.org/freebsd/d2c2952d-85a1-11dc-bfff-003048705d5a.html\";\ntag_summary = \"The remote host is missing an update to the system\nas announced in the referenced advisory.\";\n\n\nif(description)\n{\n script_id(58776);\n script_version(\"$Revision: 4164 $\");\n script_tag(name:\"last_modification\", value:\"$Date: 2016-09-28 09:03:16 +0200 (Wed, 28 Sep 2016) $\");\n script_tag(name:\"creation_date\", value:\"2008-09-04 20:41:11 +0200 (Thu, 04 Sep 2008)\");\n script_tag(name:\"cvss_base\", value:\"10.0\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:L/Au:N/C:C/I:C/A:C\");\n script_name(\"FreeBSD Ports: py23-django, py24-django, py25-django\");\n\n\n\n script_category(ACT_GATHER_INFO);\n\n script_copyright(\"Copyright (c) 2007 E-Soft Inc. http://www.securityspace.com\");\n script_family(\"FreeBSD Local Security Checks\");\n script_dependencies(\"gather-package-list.nasl\");\n script_mandatory_keys(\"ssh/login/freebsdrel\", \"login/SSH/success\");\n script_tag(name : \"insight\" , value : tag_insight);\n script_tag(name : \"solution\" , value : tag_solution);\n script_tag(name : \"summary\" , value : tag_summary);\n script_tag(name:\"qod_type\", value:\"package\");\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n exit(0);\n}\n\n#\n# The script code starts here\n#\n\ninclude(\"pkg-lib-bsd.inc\");\n\ntxt = \"\";\nvuln = 0;\nbver = portver(pkg:\"py23-django\");\nif(!isnull(bver) && revcomp(a:bver, b:\"0.96.1\")<0) {\n txt += 'Package py23-django version ' + bver + ' is installed which is known to be vulnerable.\\n';\n vuln = 1;\n}\nbver = portver(pkg:\"py24-django\");\nif(!isnull(bver) && revcomp(a:bver, b:\"0.96.1\")<0) {\n txt += 'Package py24-django version ' + bver + ' is installed which is known to be vulnerable.\\n';\n vuln = 1;\n}\nbver = portver(pkg:\"py25-django\");\nif(!isnull(bver) && revcomp(a:bver, b:\"0.96.1\")<0) {\n txt += 'Package py25-django version ' + bver + ' is installed which is known to be vulnerable.\\n';\n vuln = 1;\n}\nbver = portver(pkg:\"py23-django-devel\");\nif(!isnull(bver) && revcomp(a:bver, b:\"20071026\")<0) {\n txt += 'Package py23-django-devel version ' + bver + ' is installed which is known to be vulnerable.\\n';\n vuln = 1;\n}\nbver = portver(pkg:\"py24-django-devel\");\nif(!isnull(bver) && revcomp(a:bver, b:\"20071026\")<0) {\n txt += 'Package py24-django-devel version ' + bver + ' is installed which is known to be vulnerable.\\n';\n vuln = 1;\n}\nbver = portver(pkg:\"py25-django-devel\");\nif(!isnull(bver) && revcomp(a:bver, b:\"20071026\")<0) {\n txt += 'Package py25-django-devel version ' + bver + ' is installed which is known to be vulnerable.\\n';\n vuln = 1;\n}\n\nif(vuln) {\n security_message(data:string(txt));\n} else if (__pkg_match) {\n exit(99); # Not vulnerable.\n}\n", "cvss": {"score": 0.0, "vector": "NONE"}}], "nessus": [{"lastseen": "2019-11-01T02:39:52", "bulletinFamily": "scanner", "description": "Django project reports :\n\nA per-process cache used by Django", "modified": "2019-11-02T00:00:00", "id": "FREEBSD_PKG_D2C2952D85A111DCBFFF003048705D5A.NASL", "href": "https://www.tenable.com/plugins/nessus/27588", "published": "2007-10-30T00:00:00", "title": "FreeBSD : py-django -- denial of service vulnerability (d2c2952d-85a1-11dc-bfff-003048705d5a)", "type": "nessus", "sourceData": "#%NASL_MIN_LEVEL 80502\n#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were \n# extracted from the FreeBSD VuXML database :\n#\n# Copyright 2003-2018 Jacques Vidrine and contributors\n#\n# Redistribution and use in source (VuXML) and 'compiled' forms (SGML,\n# HTML, PDF, PostScript, RTF and so forth) with or without modification,\n# are permitted provided that the following conditions are met:\n# 1. Redistributions of source code (VuXML) must retain the above\n# copyright notice, this list of conditions and the following\n# disclaimer as the first lines of this file unmodified.\n# 2. Redistributions in compiled form (transformed to other DTDs,\n# published online in any format, converted to PDF, PostScript,\n# RTF and other formats) must reproduce the above copyright\n# notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n# \n# THIS DOCUMENTATION IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS \"AS IS\"\n# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\n# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS\n# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\n# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\n# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS DOCUMENTATION,\n# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n#\n\ninclude(\"compat.inc\");\n\nif (description)\n{\n script_id(27588);\n script_version(\"1.12\");\n script_cvs_date(\"Date: 2019/08/02 13:32:39\");\n\n script_name(english:\"FreeBSD : py-django -- denial of service vulnerability (d2c2952d-85a1-11dc-bfff-003048705d5a)\");\n script_summary(english:\"Checks for updated packages in pkg_info output\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\n\"The remote FreeBSD host is missing one or more security-related\nupdates.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"Django project reports :\n\nA per-process cache used by Django's internationalization ('i18n')\nsystem to store the results of translation lookups for particular\nvalues of the HTTP Accept-Language header used the full value of that\nheader as a key. An attacker could take advantage of this by sending\nrepeated requests with extremely large strings in the Accept-Language\nheader, potentially causing a denial of service by filling available\nmemory.\n\nDue to limitations imposed by Web server software on the size of HTTP\nheader fields, combined with reasonable limits on the number of\nrequests which may be handled by a single server process over its\nlifetime, this vulnerability may be difficult to exploit.\nAdditionally, it is only present when the 'USE_I18N' setting in Django\nis 'True' and the i18n middleware component is enabled*. Nonetheless,\nall users of affected versions of Django are encouraged to update.\"\n );\n # http://www.djangoproject.com/weblog/2007/oct/26/security-fix/\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://www.djangoproject.com/weblog/2007/oct/26/security-fix/\"\n );\n # https://vuxml.freebsd.org/freebsd/d2c2952d-85a1-11dc-bfff-003048705d5a.html\n script_set_attribute(\n attribute:\"see_also\",\n value:\"http://www.nessus.org/u?69fd58d0\"\n );\n script_set_attribute(attribute:\"solution\", value:\"Update the affected packages.\");\n script_set_attribute(attribute:\"risk_factor\", value:\"High\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:freebsd:freebsd:py23-django\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:freebsd:freebsd:py23-django-devel\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:freebsd:freebsd:py24-django\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:freebsd:freebsd:py24-django-devel\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:freebsd:freebsd:py25-django\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:freebsd:freebsd:py25-django-devel\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:freebsd:freebsd\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2007/10/26\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2007/10/27\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2007/10/30\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2007-2019 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n script_family(english:\"FreeBSD Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/FreeBSD/release\", \"Host/FreeBSD/pkg_info\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"freebsd_package.inc\");\n\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\nif (!get_kb_item(\"Host/FreeBSD/release\")) audit(AUDIT_OS_NOT, \"FreeBSD\");\nif (!get_kb_item(\"Host/FreeBSD/pkg_info\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\n\nflag = 0;\n\nif (pkg_test(save_report:TRUE, pkg:\"py23-django<0.96.1\")) flag++;\nif (pkg_test(save_report:TRUE, pkg:\"py24-django<0.96.1\")) flag++;\nif (pkg_test(save_report:TRUE, pkg:\"py25-django<0.96.1\")) flag++;\nif (pkg_test(save_report:TRUE, pkg:\"py23-django-devel<20071026\")) flag++;\nif (pkg_test(save_report:TRUE, pkg:\"py24-django-devel<20071026\")) flag++;\nif (pkg_test(save_report:TRUE, pkg:\"py25-django-devel<20071026\")) flag++;\n\nif (flag)\n{\n if (report_verbosity > 0) security_hole(port:0, extra:pkg_report_get());\n else security_hole(0);\n exit(0);\n}\nelse audit(AUDIT_HOST_NOT, \"affected\");\n", "cvss": {"score": 0.0, "vector": "NONE"}}]}