[Full-disclosure] WordPress <= 2.8.5 Unrestricted File Upload Arbitrary PHP Code Execution

2009-11-12 Thread Dawid Golunski
= - Release date: November 11th, 2009 - Discovered by: Dawid Golunski - Severity: Moderately High = I. VULNERABILITY - WordPress <= 2.8.5 Unrestricted File Upload Arbitrary PHP Code Exec

Re: [Full-disclosure] WordPress <= 2.8.5 Unrestricted File Upload Arbitrary PHP Code Execution

2009-11-12 Thread Milan Berger
Hi there, > IV. PROOF OF CONCEPT > - > Browser is enough to replicate this issue. Simply log in to your > wordpress blog as a low privileged > user or admin. Create a new post and use the media file upload > feature to upload a file: > > test-image.php.jpg > > containin

Re: [Full-disclosure] WordPress <= 2.8.5 Unrestricted File Upload Arbitrary PHP Code Execution

2009-11-12 Thread Martin Aberastegue
The same here tested on Wordpress 2.8.5 / Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 - PHP/5.2.6 Regards -- Martin Aberastegue http://www.martinaberastegue.com/ On Thu, Nov 12, 2009 at 9:48 AM, Milan Berger wrote: > Hi th

Re: [Full-disclosure] WordPress <= 2.8.5 Unrestricted File Upload Arbitrary PHP Code Execution

2009-11-12 Thread Martin Aberastegue
LOL I forgot to add this did not work on my box. -- Martin Aberastegue http://www.martinaberastegue.com/ On Thu, Nov 12, 2009 at 10:41 AM, Martin Aberastegue wrote: > The same here tested on Wordpress 2.8.5 / Apache/2.0.63 (Unix) > mod_ssl/2.0.63 OpenSSL/0.9.7a mod_auth_passthrough/2.1 > mod_

Re: [Full-disclosure] WordPress <= 2.8.5 Unrestricted File Upload Arbitrary PHP Code Execution

2009-11-12 Thread g30rg3_x
The same thing was discussed on WP-Hackers list[1] and it was found that the problem was introduced by Option +Multiviews[2]... And also someone point that Option +Multiviews is enabled by default on cpanel/whm[3] based servers therefore lots of cheap (and not so cheap) shared hosting providers int

Re: [Full-disclosure] WordPress <= 2.8.5 Unrestricted File Upload Arbitrary PHP Code Execution

2009-11-12 Thread Vincent Guasconi
On Thu, Nov 12, 2009 at 1:48 PM, Milan Berger wrote: >> and it should be possible to request the uploaded file via a link: >> http://link-to-our-wp-unsecured-blog.com/wp-content/uploads/2009/11/test-vuln.php.jpg > > tried this with lighttpd and wordpress 2.8.5 and PHP 5.2.11-pl0-gentoo > with Suho

Re: [Full-disclosure] WordPress <= 2.8.5 Unrestricted File Upload Arbitrary PHP Code Execution

2009-11-12 Thread Moritz Naumann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Milan Berger wrote: > Hi there, > >> IV. PROOF OF CONCEPT >> - >> Browser is enough to replicate this issue. Simply log in to your >> wordpress blog as a low privileged >> user or admin. Create a new post and use the media

Re: [Full-disclosure] WordPress <= 2.8.5 Unrestricted File Upload Arbitrary PHP Code Execution

2009-11-14 Thread YK
WordPress 2-8-6 Release, fixes two security problems. http://wordpress.org/development/2009/11/wordpress-2-8-6-security-release/ - YK http://suiseeda.ddo.jp/wordpress/ > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > Milan Berger wrote: > >> Hi there, >> >> >>> IV. PROOF O