OpenBSD 4.1 bgplg 'cmd' Parameter Cross-Site Scripting Vulnerability

2007-10-10T00:00:00
ID EDB-ID:31081
Type exploitdb
Reporter Anton Karpov
Modified 2007-10-10T00:00:00

Description

OpenBSD 4.1 bgplg 'cmd' Parameter Cross-Site Scripting Vulnerability. CVE-2007-6700. Webapps exploit for cgi platform

                                        
                                            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>