#VU26645 Input validation error in django-cors-headers


Published: 2020-04-07

Vulnerability identifier: #VU26645

Vulnerability 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

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
django-cors-headers
Server applications / Other server solutions

Vendor: Adam Johnson

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


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.


Latest bulletins with this vulnerability