PHP 7.2.0 Beta 3 Released

Voting

Please answer this simple SPAM challenge: max(three, two)?
(Example: nine)

The Note You're Voting On

fmrose at ncsu dot edu
11 years ago
All of the fixes here assume that it is necessary to allow the user to enter system sensitive information to begin with. The proper way to handle this would be to provide something like a numbered list of files to perform an unlink action on and then the chooses the matching number. There is no way for the user to specify a clever attack circumventing whatever pattern matching filename exclusion syntax that you may have.

Anytime you have a security issue, the proper behaviour is to deny all then allow specific instances, not allow all and restrict. For the simple reason that you may not think of every possible restriction.

<< Back to user notes page

To Top