AOH :: HP Unsorted K :: BU-1832.HTM

Kusaba X <= 0.9 XSS/CSRF vulnerabilities



Kusaba X <= 0.9 XSS/CSRF vulnerabilities
Kusaba X <= 0.9 XSS/CSRF vulnerabilities



===========================================0D
Kusaba X <= 0.9 XSS/CSRF vulnerabilities=0D
===========================================0D
=0D
Kusaba X suffers XSS and CSRF vulnerabilities that would allow an attacker to take over the web application and possibly the entire server (depending on the MySQL configuration).  The XSS vulnerability is not required to exploit the CSRF but makes the proccess very easy.=0D
=0D
=0D
XSS:=0D
===========================================0D
The =93Reason=94 field in the report function doesn't sanitize user input. The input size is limited to 256 characters, (pleanty for exploitation, but not enough for a textwall of CSRF forms). This can be circumvented by including off-site javascripts, i.e. . (iframes work too) The injected script will render and execute when a Moderator or Administrator views the reports. If a Moderator falls victim, the worst case scenario would be cookie stealing followed by session hijacking and account theft. If an Administrator were to view the malicious report, much more is possible. It would be easy to detect the difference and act accordingly, making this attack more effective.=0D 
===========================================0D
=0D
CSRF:=0D
===========================================0D
These run rampent throughout the application.  Here are two of the most severe but there's lots of fun to be had.=0D
=0D
1. Add administrative accouts=85=0D
=0D
action="http://example.chan/manage_page.php?action=staff&add" method="POST">=0D =0D =0D =0D
=0D =0D =0D 2. Execute MySQL queries=85=0D =0D
action="http://example.chan/manage_page.php?action=sql" method="POST">=0D =0D
=0D =0D ============================================0D =0D Feb 9, 2010 - Reported to Kusaba X dev team.=0D Feb 15, 2010 - Kusaba X 0.9.1 released containing patch.=0D Feb 17, 2010 - Info released=0D =0D ~~Thanks to Sazpaimon=0D ~~Greetz to the open source community

The entire AOH site is optimized to look best in Firefox® 3 on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2014 AOH
We do not send spam. If you have received spam bearing an artofhacking.com email address, please forward it with full headers to abuse@artofhacking.com.