This bypasses the modsecurity rules:-
<div/style=`-:expressio\6e(\u0064omain=x)` x=modsecurity.org>
changes document.domain to modsecurity.org
I'd bypass the PHPIDS rule as well but seen as the demo doesn't display it or tell me which one it is I couldn't be bothered
Explanation:-
-I used css escapes for the "n" along with malformed hex html entities
-For the domain assignment I use unicode js escapes with hex entity encoding
-x is obtained from the html attribute and automatically is in scope of the expression
-`` are used to bypass style injection rules
------------------------------------------------------------------------------------------------------------
"People who say it cannot be done should not interrupt those who are doing it.";
labs : [
www.businessinfo.co.uk]
blog : [
www.thespanner.co.uk]
Hackvertor : [
hackvertor.co.uk]
Edited 1 time(s). Last edit at 11/17/2009 08:57AM by Gareth Heyes.