Thomas 'PointedEars' Lahn wrote:
>> You would have to construct which would cause the server side script to
>> execute that method. This is most easily achieved by specifing it in the
>> query string (and altering the server side script to check that query
>> string parameter).
> Which of course would be potentially dangerous since an attacker
> could then probably execute arbitrary code server-side:
>
> http://foo.bar/baz.asp?delete_all_files%28%29
Easily avoided... Just don't include the code:
if ($action eq "delete_all_files") {
system('rm -rf /');
}
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is