OpenBSD 4.1 - bgplg 'cmd' Cross-Site Scripting

Related Vulnerabilities: CVE-2007-6700  
Publish Date: 10 Oct 2007
Author: Anton Karpov
                							

                source: http://www.securityfocus.com/bid/27535/info

OpenBSD bgplg is prone to a cross-site scripting vulnerability because the application 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 help the attacker steal cookie-based authentication credentials and launch other attacks.

bgplg shipped with OpenBSD 4.1 is vulnerable; other versions may also be affected. 

http://www.example.com/cgi-bin/bgplg?cmd=show+version<script>alert("OpenBSD%20XSS)</script>