Home page logo

fulldisclosure logo Full Disclosure mailing list archives

BadBlue 302 Status Message XSS
From: full-disclosure () lists netsys com (Matthew Murphy)
Date: Fri, 19 Jul 2002 19:38:23 -0500

BadBlue 1.74 (presumably earlier) is susceptible to a cross-site
scripting attack.  When BadBlue is passed a name of a non-existant
file path (or an existant folder) that does not end in a 0x2f character
("/") it returns a 302 status code containing some text:

HTTP/1.0 302 found
Location: /<SCRIPT>/

<html><body><pre>GET /<SCRIPT> HTTP/1.0

Obviously, if you pass in HTML markup, it continues on into the
reply un-filtered, resulting in a cross-site scripting attack.

This vulnerability cannot be exploited on Internet Explorer, or
any browser which ignores entities in HTTP redirect messages.

Successful exploitation may require a significant amount of
"garbage" HTML, as the entity is downloaded, displayed, and
then the redirect executed.

This vulnerability poses minimal risk, but should be taken very

"The reason the mainstream is thought
of as a stream is because it is
so shallow."
                     - Author Unknown

  By Date           By Thread  

Current thread:
  • BadBlue 302 Status Message XSS Matthew Murphy (Jul 20)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]