lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 19 Jun 2008 11:01:45 +0200
From: "Thomas Pollet" <thomas.pollet@...il.com>
To: "Andrew Farmer" <andfarm@...il.com>
Cc: full-disclosure@...ts.grok.org.uk
Subject: Re: xss dot(.) filter evasion

Hi,

2008/6/19 Andrew Farmer <andfarm@...il.com>:

> On 18 Jun 08, at 08:49, Thomas Pollet wrote:
>
>> I came across this site that implemented some filtering so the dots were
>> replaced by an underscore, also the quotes and backslash were escaped.
>> I came up with the code below to bypass this filtering (write anything to
>> the page using String.fromCharCode)
>> Someone knows a different way to do this?
>>
>
> eval makes everything easy. Well, reasonably easy.
>
> eval(unescape(String(/%2a%2a%2falert(%22xss%22);%2f%2a%2a/)));
>

the problem was I couldn't call the String class method fromCharCode as it
would be called by String.fromCharCode, so just using eval didn't really
solve this.
Using with(String) i didn't need to call fromCharCode the way a class method
is normally called.
Thanks for replying though.

Regards,
Thomas Pollet

Content of type "text/html" skipped

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ