OpenBSD 4.1 - bgplg 'cmd' Cross-Site Scripting

EDB-ID:

31081




Platform:

CGI

Date:

2007-10-10


source: https://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>