This is actually very interesting - thanks! Slide 14: true true... that's for many here including me. It's surprising how easy vectors can be crafted to DoS common filters and detection mechanisms. A simple example:
Quote
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa... times 2000 ... aaaaaaaaaaaaaa>
I wonder if it's even possible to fix certain types of ReDoS vulns. Depending on the expression and the data to match it seems mandatory to give the raw data a treatment with a simpler regex before hitting the "real" regex. What are your experiences with dossing back-references - necessary for detection of pattern repetition?
I think I will have to spend some quality time with the PHPIDS this weekend ;)
Edited 1 time(s). Last edit at 09/10/2009 02:31PM by .mario.