|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
XSS Bug in Cherokee Webserver
rubengarrote
idominiun.com
Date: Thu Apr 06 2006 - 18:44:55 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Tuesday 4 of April of 2006, I have detected that it is possible to mount an attack of the type Cross Site Scripting (XSS) in cherokee-0.5.0 and all previous versions.
The problem resides, when introducing code HTML in the URL. Because previously, it was let now of a seemed failure, from version 0.4.8 filter the characters < > when an error 404 happens. But if cherokee does not understand the request (Error 400) gives back the string introduced by the user, without no modification, allowing that can be injected I code HTML, to the client.
Proofs of concepts: http://localhost:80<script>alert("XSS_Discovered_by_Ruben_Garrote_Garcia_4_Mar_2006");</script> http://localhost/..<script>alert("XSS_Discovered_by_Ruben_Garrote_Garcia_4_Mar_2006");<script>
Version not vulnerable: cherokee-0.5.1
Web Cherokee: www.0x50.org
Credits:
Ruben Garrote Garcia
rubengarrote
idominiun.com
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]