You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by Jeff Chan <je...@surbl.org> on 2004/07/26 06:23:59 UTC

Re: someone found a way to beat SURBL

On Sunday, July 25, 2004, 7:11:17 PM, Rob McEwen wrote:
> RE: someone found a way to beat SURBL

> They take the following url:

> http://google.info/url?q=

> and follow this by their own URL HTMLEncoded

> The trick is for the parser to be able to find and decode this HTMLEncoded
> url when gathering URLs for checking against SURBL.

> I purposely did not send this to the discussion group because I didn't want
> this to be "out there" for spammers to know about. However, it would be good
> for the various "parser writers" for the various software programs that work
> with SURBL to be aware of this.

Hi Rob,
This sounds like redirection handling, for which there is
code in SpamCopURI and urirhsbl, etc.  The more specific
question is whether that redirection handling code calls
parsing code that knows how to decode HTML Encoded URLs.
I'm hoping the answer is yes, but will leave it up to
Eric Kolve, Justin Mason and other developers to answer
(and/or update the code :-).

Jeff C.


Re: someone found a way to beat SURBL

Posted by Theo Van Dinter <fe...@kluge.net>.
On Sun, Jul 25, 2004 at 09:23:59PM -0700, Jeff Chan wrote:
> > http://google.info/url?q=
> > and follow this by their own URL HTMLEncoded
> 
> I'm hoping the answer is yes, but will leave it up to
> Eric Kolve, Justin Mason and other developers to answer
> (and/or update the code :-).

I guess it depends what you mean by "HTMLEncoded".  If you mean %xx or
&#xx;, 3.0 deals with those.  For instance:

http://google.info/url?q=%68%74%74%70%3a%2f%2f%77%77%77%2e%6b%6c%75%67%65%2e%6e%65%74%2f

gets parsed into:

debug: uri found: http://google.info/url?q=http://www.kluge.net/
debug: uri found: http://www.kluge.net/
debug: uri found: http://google.info/url?q=%68%74%74%70%3a%2f%2f%77%77%77%2e%6b%6c%75%67%65%2e%6e%65%74%2f

then the 3.0 SURBL stuff gets passed google.info and kluge.net to lookup. :)

-- 
Randomly Generated Tagline:
"It's because I was young.  When you're young, you're supposed to do
 stupid things, aren't you?"             - David Bishop of Kodak