[Esapi-user] [Esapi-dev] ESAPI URL validation RX is vulnerable to DoS

Jim Manico jim.manico at owasp.org
Fri Oct 29 08:34:48 EDT 2010

August, thanks for putting this issue in the Google tracker




I'll have a new URL validation function done using the Java URL class
shortly. I'll submit a patch for review before committing it.


Thanks Mostafa + August,



From: esapi-dev-bounces at lists.owasp.org
[mailto:esapi-dev-bounces at lists.owasp.org] On Behalf Of Mostafa Siraj
Sent: Thursday, October 14, 2010 6:39 PM
To: Esapi-dev at lists.owasp.org; esapi-user at lists.owasp.org
Subject: [Esapi-dev] ESAPI URL validation RX is vulnerable to DoS



Microsoft release a regex fuzzer tool, the tool purpose is to identify weak
regular expressions that are vulnerable to Denial of Service (DoS)

I tested the tool against the default regular expressions in
validation.properties on ESAPI and found that 
Validator.URL is vulnerable to DoS


Attack Vector=

You can download Microsoft Regex Fuzzer from this link

You can test the vulnerable regular expression against the attack vector
using any Regex tool like Rad <http://www.radsoftware.com.au/regexdesigner/>

An article that shows how regular expression DoS can be used to harm SaS
investors is here


Best Regards,

Mostafa Siraj <http://twitter.com/mostafasiraj> 


Our deepest fear is not that we are inadequate. Our deepest fear is that we
are powerful beyond measure. It is our light, not our darkness, that most
frightens us. We ask ourselves, who am I to be brilliant, gorgeous,
talented, and fabulous?Actually, who are you not to be? You are a child of
God. Your playing small doesn't serve the world. There's nothing enlightened
about shrinking so that other people won't feel insecure around you. We are
all meant to shine, as children do. We are born to make manifest the glory
of God that is within us. It's not just in some of us, it's in everyone. And
as we let our own light shine, we unconsciously give other people permission
to do the same. As we are liberated from our own fear, our presence
automatically liberates others. - Nelson Mandela


-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.owasp.org/pipermail/esapi-user/attachments/20101029/7e625a17/attachment.html 

More information about the Esapi-user mailing list