r/netsec2 • • Dec 29 '11

Web Application Platforms Vulnerable to DoS Attacks using Hash Table Collisions

http://cryptanalysis.eu/blog/2011/12/28/effective-dos-attacks-against-web-application-plattforms-hashdos/
2 Upvotes

3 comments sorted by

View all comments

Show parent comment

2

u/mpeters Dec 29 '11

This just protects against the built-in hash creation based on post/get params, but not any other hash creation based on user data. Yes you can say that code should never trust user data, but it's such a common pattern that the language itself should protect against it at a lower level. Like Perl's done for almost a decade at the hash (or "array" in PHP terms) level itself.

1

u/tophatstuff Dec 30 '11

Agree; it's not "invulnerable", but it mitigates an attack that would be trivially effective on ANY script and instead reduces it to an attack that requires more specific knowledge.

As you said, fixing it at the hash table level is the better solution.