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: php - inject code into $_SERVER ? |
|---|---|
| Date: | Thu, 03 Feb 2005 22:30:03 +0100 |
----- Original Message ----- From: "exon" <exon@home.se>
Don't trust any input from the user or their browser.
Exactly. But trust the input from the server. You don't have much choice anyway, so it's a waste of time bothering about it.
I disagree. You never know when a new vulnerability will pop up somewhere - maybe there's not a vulnerability today, but maybe there'll be one tomorrow. Maybe it won't require "ownership" of a webserver, maybe it'll be bad handling of data that wouldn't affect anything but software using those SERVER variables... It's _never_ a waste of time to ask yourself whether or not a variable is safe, and since it's coming from _outside_ of _your_ code, what's the trouble with adding a single line to check the contents of the variable?
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: php - inject code into $_SERVER ?, C. Church |
|---|---|
| Next by Date: | Re: php - inject code into $_SERVER ?, Ole Martin Eide |
| Previous by Thread: | Re: php - inject code into $_SERVER ?, C. Church |
| Next by Thread: | Re: php - inject code into $_SERVER ?, Ole Martin Eide |
| Indexes: | [Date] [Thread] [Top] [All Lists] |