3 ms·
How can you distinguish a "500 Internal Server Error" caused by an uncaught exception handler in defensive code from a "500 Internal Server Error" caused by an
by patio11 16y ago
How can you distinguish a "500 Internal Server Error" caused by an uncaught exception handler in defensive code from a "500 Internal Server Error" caused by an undefended component crashing "exploitably"?
I think you could probably get some value out of a side channel attack like timing (this is essentially isomorphic to "I can't log you in [because your password was wrong on the first character]" versus "I can't log you in [because your password was wrong on the second character]", except with several orders of magnitude more difference in response times between two textually equivalent responses).
For example, it should be absolutely trivial to determine whether a given input made it past the web application (to the database, underlying web service, remote API, etc) or not. Whether that results in useful information, who can say.