Hi everyone at webmaster-talk. This is my first post. Here is my dilema.
I am currently working to bring my websites non-production server into PCI compliance. I have resolved all issues and vulnerabilities i got from hacker safe save for this one:
try entering this into your address bar:
http://64.57.246.177/x%27%3B%22%2C%2...0-00548-00.htm
this will throw a MySQL error. Whats the problem with that you ask?
Well there is no folder on my site named: x%27%3B%22%2C%29%60 or its unencoded equivalent: x';",)`
Thus what it should be throwing is the 404 not found error.
Based on this I have to find a way to validate the URL on the server side before any pages whatsoever are loaded. (adding a redirect to the garmin_dogtracking_astro_etc...htm page is out as this is one of about 1000 product pages.
I think this could be done using maybe the <Location> directive in the .htaccess file or maybe mod_rewrite, although that is about as far as i got before i got completely lost in the Apache manual.
Basically I'm looking for a way to validate the URL before any pages have been loaded. Lemme know what you all think and happy tuesday. 
|