Input validation error in Django



| Updated: 2020-07-28
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2015-5144
CWE-ID CWE-20
Exploitation vector Network
Public exploit N/A
Vulnerable software
Django
Web applications / CMS

Vendor Django Software Foundation

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Input validation error

EUVDB-ID: #VU32402

Risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2015-5144

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote non-authenticated attacker to manipulate data.

Django before 1.4.21, 1.5.x through 1.6.x, 1.7.x before 1.7.9, and 1.8.x before 1.8.3 uses an incorrect regular expression, which allows remote attackers to inject arbitrary headers and conduct HTTP response splitting attacks via a newline character in an (1) email message to the EmailValidator, a (2) URL to the URLValidator, or unspecified vectors to the (3) validate_ipv4_address or (4) validate_slug validator.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Django: 1.4.1 - 1.8.2

CPE2.3 External links

https://lists.fedoraproject.org/pipermail/package-announce/2015-November/172084.html
https://lists.opensuse.org/opensuse-updates/2015-10/msg00043.html
https://lists.opensuse.org/opensuse-updates/2015-10/msg00046.html
https://www.debian.org/security/2015/dsa-3305
https://www.oracle.com/technetwork/topics/security/bulletinoct2015-2511968.html
https://www.securityfocus.com/bid/75665
https://www.securitytracker.com/id/1032820
https://www.ubuntu.com/usn/USN-2671-1
https://security.gentoo.org/glsa/201510-06
https://www.djangoproject.com/weblog/2015/jul/08/security-releases/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###