Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: Re: IndonesiaHack Advisory HTML injection in PHP Fusebox |
|---|---|
| Date: | 29 Jan 2006 14:47:00 -0000 |
I don't think so, this is a vulneralability since the "scriptProtect" isn't
applied to this variable
$FB_["rawFA"] = $attributes["fuseaction"];
simple example :
I have "scriptProtect" like this :
function validate($char)
{
if(preg_match('/[\'\"%|*(){}~`!@#$;\\/=+-_^]/',$char))
die("We have received an error request\n<br>");
}
Then the URL "http://xxx.xx/test.php?msg=blablabla"
test.php like the following script is vulner because validate function isn't
applied.
<?php
$test=$_GET[msg];
echo "$test";
?>
We can solve the problem by validating GET request like this :
$test=validate($_GET[msg]);
I think that this case is clear enough.
Cheers
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: MySQL 5.0 information leak?, Duncan Simpson |
|---|---|
| Next by Date: | UebiMiau Webmail System Security Vulnerability, M.Neset KABAKLI |
| Previous by Thread: | Re: IndonesiaHack Advisory HTML injection in PHP Fusebox, brian428 |
| Next by Thread: | [Full-disclosure] Reverse Engineering WMF Exploit Code, Gadi Evron |
| Indexes: | [Date] [Thread] [Top] [All Lists] |