Stealing session ids from phpinfo()
output has been a known technique for some time, and is used to bypass the HttpOnly
attribute, which prohibits JavaScript from accessing a cookie marked as such (e.g. PHPSESSID
). I just now thought of a solution that allows you to keep your phpinfo()
: we'll simply censor the sensitive data, making phpinfo()
lose some of its value to the attacker.
FPD is one of approximately 17576 three-letter abbreviations used on the Internet, and one of the few where the letter F doesn't stand for, um, let's say friend. The meaning of the acronym that I'd like to talk about is important for web application security: FPD means Full Path Disclosure.