You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Nicholas Sherlock <n....@gmail.com> on 2009/05/24 17:21:20 UTC

[users@httpd] Re: iFrame Injection Blocking

Grant Peel wrote:
> Can this be done on the server side somehow, or is an iFrame completely 
> loaded by the browser (i.e. doe the content pas through the server 
> first, or is it cmpletely pulled by the client?).

An IFrame is completely loaded by the browser, of course. How could your 
server possibly assist in such a transaction?

Cheers,
Nicholas Sherlock


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Re: iFrame Injection Blocking

Posted by Nick Kew <ni...@webthing.com>.
On Sun, 24 May 2009 11:31:51 -0400
"Grant Peel" <gp...@thenetnow.com> wrote:

> Thanks Nicholas,
> 
> "How could your  server possibly assist in such a transaction?"  Was
> exactly the root question.
> 
> Since you've answered it in your previous statement: "An IFrame is 
> completely loaded by the browser"
> 
> Then I suppose the next question is, could one use mod_rewrite or
> some other tool to parse the content (html cide), (and obliterate it
> possibly) before it is even sent to the client?

http://www.apachetutor.org/security/information-leak

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Re: iFrame Injection Blocking

Posted by Nicholas Sherlock <n....@gmail.com>.
Grant Peel wrote:
> Then I suppose the next question is, could one use mod_rewrite or some 
> other tool to parse the content (html cide), (and obliterate it 
> possibly) before it is even sent to the client?

Not effectively, given the way it encodes itself to avoid detection. 
Anything you write will only block this _specific_ infection, and won't 
patch the gaping holes in your server that are letting it through in the 
first place. Secure your FTP credentials and update the PHP packages you 
are using.

Cheers,
Nicholas Sherlock


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Re: iFrame Injection Blocking

Posted by Eric Covener <co...@gmail.com>.
On Sun, May 24, 2009 at 11:31 AM, Grant Peel <gp...@thenetnow.com> wrote:
> Thanks Nicholas,
>
> "How could your  server possibly assist in such a transaction?"  Was exactly
> the root question.
>
> Since you've answered it in your previous statement: "An IFrame is
> completely loaded by the browser"
>
> Then I suppose the next question is, could one use mod_rewrite or some other
> tool to parse the content (html cide), (and obliterate it possibly) before
> it is even sent to the client?
>
> And yes, we are working on the root issue, etc.


mod_substitute, mod_sed, or mod_proxy_html possibly.

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Re: iFrame Injection Blocking

Posted by Grant Peel <gp...@thenetnow.com>.
Thanks Nicholas,

"How could your  server possibly assist in such a transaction?"  Was exactly 
the root question.

Since you've answered it in your previous statement: "An IFrame is 
completely loaded by the browser"

Then I suppose the next question is, could one use mod_rewrite or some other 
tool to parse the content (html cide), (and obliterate it possibly) before 
it is even sent to the client?

And yes, we are working on the root issue, etc.

Thanks,

-Grant


----- Original Message ----- 
From: "Nicholas Sherlock" <n....@gmail.com>
To: <us...@httpd.apache.org>
Sent: Sunday, May 24, 2009 11:21 AM
Subject: [users@httpd] Re: iFrame Injection Blocking


> Grant Peel wrote:
>> Can this be done on the server side somehow, or is an iFrame completely 
>> loaded by the browser (i.e. doe the content pas through the server first, 
>> or is it cmpletely pulled by the client?).
>
> An IFrame is completely loaded by the browser, of course. How could your 
> server possibly assist in such a transaction?
>
> Cheers,
> Nicholas Sherlock
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
> 



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org