Input validation error in django-cors-headers app for Django



Published: 2020-04-07
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID N/A
CWE-ID CWE-20
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
django-cors-headers
Server applications / Other server solutions

Vendor Adam Johnson

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Input validation error

EUVDB-ID: #VU26645

Risk: Medium

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: N/A

CWE-ID: CWE-20 - Improper Input Validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to allow insecure schemas.

The vulnerability exists due to improper validation when middleware allows requests between schemes provided by a "CORS_ORIGIN_WHITELIST". A remote attacker can allow insecure schemas such as http.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

django-cors-headers: 0.01 - 2.5.3


CPE2.3 External links

http://snyk.io/vuln/SNYK-PYTHON-DJANGOCORSHEADERS-564347

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###