Django up to 1.8.18/1.11.10/2.0.2 Regex Backtracking incorrect regex
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
5.2 | $0-$5k | 0.00 |
A vulnerability, which was classified as problematic, was found in Django up to 1.8.18/1.11.10/2.0.2 (Content Management System). This affects an unknown functionality of the component Regex Handler. The manipulation with an unknown input leads to a incorrect regex vulnerability (Backtracking). CWE is classifying the issue as CWE-185. The product specifies a regular expression in a way that causes data to be improperly matched or compared. This is going to have an impact on availability. The summary by CVE is:
An issue was discovered in Django 2.0 before 2.0.3, 1.11 before 1.11.11, and 1.8 before 1.8.19. If django.utils.text.Truncator's chars() and words() methods were passed the html=True argument, they were extremely slow to evaluate certain inputs due to a catastrophic backtracking vulnerability in a regular expression. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which were thus vulnerable.
The bug was discovered 03/06/2018. The weakness was shared 03/09/2018 (Website). It is possible to read the advisory at lists.debian.org. This vulnerability is uniquely identified as CVE-2018-7537 since 02/26/2018. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. The technical details are unknown and an exploit is not publicly available.
The vulnerability was handled as a non-public zero-day exploit for at least 3 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 108640 (openSUSE Security Update : python-Django (openSUSE-2018-317)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 277250 (Fedora Security Update for python-django (FEDORA-2018-bd1147f152)).
Upgrading to version 1.8.19, 1.11.11 or 2.0.3 eliminates this vulnerability. A possible mitigation has been published 3 weeks after the disclosure of the vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (108640). The entry 114338 is related to this item.
Product
Type
Name
Version
- 1.8.0
- 1.8.1
- 1.8.2
- 1.8.3
- 1.8.4
- 1.8.5
- 1.8.6
- 1.8.7
- 1.8.8
- 1.8.9
- 1.8.10
- 1.8.11
- 1.8.12
- 1.8.13
- 1.8.14
- 1.8.15
- 1.8.16
- 1.8.17
- 1.8.18
- 1.11.0
- 1.11.1
- 1.11.2
- 1.11.3
- 1.11.4
- 1.11.5
- 1.11.6
- 1.11.7
- 1.11.8
- 1.11.9
- 1.11.10
- 2.0.0
- 2.0.1
- 2.0.2
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 5.2
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.3
NVD Vector: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Name: BacktrackingClass: Incorrect regex / Backtracking
CWE: CWE-185 / CWE-697
ATT&CK: Unknown
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Nessus ID: 108640
Nessus Name: openSUSE Security Update : python-Django (openSUSE-2018-317)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 830268
OpenVAS Name: Debian Security Advisory DSA 4161-1 (python-django - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: Django 1.8.19/1.11.11/2.0.3
Timeline
02/26/2018 🔍03/06/2018 🔍
03/06/2018 🔍
03/09/2018 🔍
03/09/2018 🔍
03/10/2018 🔍
03/27/2018 🔍
03/27/2018 🔍
02/21/2023 🔍
Sources
Advisory: RHSA-2018:2927Status: Confirmed
Confirmation: 🔍
CVE: CVE-2018-7537 (🔍)
OVAL: 🔍
SecurityFocus: 103357 - Django CVE-2018-7537 Multiple Denial of Service Vulnerabilities
See also: 🔍
Entry
Created: 03/10/2018 23:07Updated: 02/21/2023 08:45
Changes: 03/10/2018 23:07 (80), 01/12/2020 10:14 (4), 02/21/2023 08:45 (4)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.