#VU24795 OS Command Injection in secure_headers - CVE-2020-5217

 

#VU24795 OS Command Injection in secure_headers - CVE-2020-5217

Published: January 31, 2020


Vulnerability identifier: #VU24795
Vulnerability risk: High
CVSSv4.0: 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/E:U/U:Amber
CVE-ID: CVE-2020-5217
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
secure_headers
Software vendor:
Twitter

Description

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.


Remediation

Install updates from vendor's website.

External links