Redis is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied text.
An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may help the attacker steal cookie-based authentication credentials and launch other attacks.
Redis versions prior to 3.2.7 are vulnerable.
Information
Redis Redis 3.0.2
Redis Redis 2.8.21
Exploit
An attacker can exploit this issue by enticing an unsuspecting user to follow a malicious URI.
References:
- Redis Homepage (Citrusbyte)
- Security: Cross Protocol Scripting protection. (Github)
- Redis 3.2.7 Released (Github)