OS Command Injection in secure_headers - CVE-2020-5217

 

OS Command Injection in secure_headers - CVE-2020-5217

Published: January 31, 2020


Vulnerability identifier: #VU24795
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-5217
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to insufficient validation of user-supplied input in "append/override_content_security_policy_directives". A remote unauthenticated attacker can inject a semicolon, use it to override a script directive and execute arbitrary OS commands on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

secure_headers

How to mitigate CVE-2020-5217

Install updates from vendor's website.

secure_headers - addressed in versions 3.8.0, 5.1.0, 6.2.0

External References

Related Security Bulletins