vendor:
CMS Made Simple
by:
None
4,7
CVSS
MEDIUM
Web Server Cache Poisoning
20
CWE
Product Name: CMS Made Simple
Affected Version From: None
Affected Version To: None
Patch Exists: YES
Related CWE: CVE-2016-2784
CPE: None
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: None
2016
Web Server Cache Poisoning in CMS Made Simple
A remote unauthenticated attacker can insert malicious content in a CMS Made Simple installation by poisoning the web server cache when Smarty Cache is activated by modifying the Host HTTP Header in his request. The vulnerability can be triggered only if the Host header is not part of the web server routing process (e.g. if several domains are served by the same web server). This can lead to phishing attacks because of the modification of the site's links, defacement or Cross-Site-Scripting attacks by a lack of filtering of HTML entities in $_SERVER variable.
Mitigation:
Use the variable $_SERVER['SERVER_NAME'] instead of the variable $_SERVER['HTTP_HOST'] given that the server name is correctly defined or use an application specific constant.