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] [thread-next>] [day] [month] [year] [list]
Date: Thu, 02 Nov 2006 21:56:49 +0200
From: Taneli Leppä <taneli@...sman.fi>
To: securfrog@...il.com
Cc: bugtraq@...urityfocus.com
Subject: Re: how to trick most of cms avatar upload filter [exemple for :
 RunCms (PoC)]

Hi,

securfrog@...il.com kirjoitti:
> then you need to take a good file editor , like: notepad++ 
> (you can take whatever picture , and edit it without destroying it .)
> we need to put some php code AFTER the picture code . 
> when  it's done , try the picture if it still work , if yes , we are ok :).

This actually seems to work. A quick workaround is to disable PHP in the
directory where the avatar images are stored (or any user-uploaded files
for that matter) in Apache:

<Directory "/var/www/html/forum/avatardir">
   php_admin_flag engine off
</Directory>

-- 
   Taneli Leppä         | Crasman Co Ltd
   <taneli@...sman.fi>  | <http://www.crasman.fi/>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ