This blog is NOFOLLOW Free!


 06 Jan 2009 @ 1:43 PM 
 

AV Arcade BugFix – XSS Exploit

 


Thanks to dan20071 for letting me know about this :)

The Problem:

EDITED::…
This was originally reported as link spam, but could easily be a lot worse.

When registering, the user name field is open to possible attack.
Code will be processed on the members page.
The code can be overflown to the homepage fairly easily.
XSS can be used.

I would now consider this as a serious exploit.
I would suggest fixing this bug A.S.A.P

The Fix:

  1. Backup then open yoursite.com/register.php
  2. Find:
    60
    
    $info2 = htmlspecialchars($info);
  3. Add below:
    61
    
    $username = htmlspecialchars($username);
  4. Backup then open yoursite.com/admin/manage_users.php
  5. Find:
  6. 33
    
    while($row = mysql_fetch_array($sql)){<tr>
  7. Add below:
  8. 34
    
    $username = htmlspecialchars($username);
  9. Save and upload all files.
  10. Search your members list for any user names shown as code and delete (You could also I.P. ban them).
  11. This function could easily be expanded for further validation.



    • Technorati
    • StumbleUpon
    • Furl
    • del.icio.us
    • Facebook
    • MySpace
    • Live
    • Google Bookmarks
    • Sphinn
    • MisterWong
    • Reddit
    • Slashdot
    • Tumblr
    • Wikio
    • Yahoo! Buzz
    • BlinkList
    • LinkedIn
    • Print this article!
    • E-mail this story to a friend!
Tags Tags: ,
Categories: AV Arcade
Posted By: Abe
Last Edit: 08 Jan 2009 @ 06 13 PM

E-mailPermalink
 

Responses to this post » (One Total)

 
  1. Abe said...
    1:40 pm - February 11th, 2009

    This bug has been fixed in AV Arcades’ v4.0.2 update.

 

Leave A Comment ...

 


You must be logged in to post a comment.


 XHTML:
You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">
\/ More Options ...
Change Theme...
  • Role »
  • Posts »
  • Comments »
Change Theme...
  • VoidVoid (Default)
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LiteLightweight