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  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: Wed, 21 May 2014 18:43:29 -0500
From: Brandon Perry <bperry.volatile@...il.com>
To: Egidio Romano <research@...mainsecurity.com>
Cc: "fulldisclosure@...lists.org" <fulldisclosure@...lists.org>,
	bugtraq@...urityfocus.com
Subject: Re: [FD] [KIS-2014-06] Dotclear <= 2.6.2 (Media Manager)
 Unrestricted File Upload Vulnerability

Hi,

These are cool. Here is a Metasploit module for the file upload. You seem
to need the ability to publish as well the the ability to manage your own
media.

Feel free to edit as you would like and make a pull request!

https://gist.github.com/brandonprry/efc0765c342a44a0dedb


On Wed, May 21, 2014 at 2:12 PM, Egidio Romano <research@...mainsecurity.com
> wrote:

> ------------------------------------------------------------------------
> Dotclear <= 2.6.2 (Media Manager) Unrestricted File Upload Vulnerability
> ------------------------------------------------------------------------
>
>
> [-] Software Link:
>
> http://dotclear.org/
>
>
> [-] Affected Versions:
>
> Version 2.6.2 and probably prior versions.
>
>
> [-] Vulnerability Description:
>
> The vulnerability exists because of the filemanager::isFileExclude()
> method not properly verifying the extension of
> uploaded files. This method just checks whether the uploaded file name
> matches the “exclude_pattern” regular expression,
> which by default is set to “/\.php$/i”. This could be exploited to execute
> arbitrary PHP code by uploading a file with
> multiple extensions or other extensions (like .php5 or .phtml) which might
> be handled as PHP scripts. Successful
> exploitation of this vulnerability requires an account with permissions to
> manage media items.
>
>
> [-] Solution:
>
> Apply the vendor workaround or define a more secure “media_exclusion”
> setting (PCRE value).
>
>
> [-] Disclosure Timeline:
>
> [14/05/2014] - Vendor notified
> [15/05/2014] - Vendor response
> [16/05/2014] - Version 2.6.3 released:
> http://dotclear.org/blog/post/2014/05/16/Dotclear-2.6.3
> [16/05/2014] - CVE number requested
> [19/05/2014] - CVE number assigned
> [21/05/2014] - Public disclosure
>
>
> [-] CVE Reference:
>
> The Common Vulnerabilities and Exposures project (cve.mitre.org)
> has assigned the name CVE-2014-3782 to this vulnerability.
>
>
> [-] Credits:
>
> Vulnerability discovered by Egidio Romano.
>
>
> [-] Original Advisory:
>
> http://karmainsecurity.com/KIS-2014-06
>
> _______________________________________________
> Sent through the Full Disclosure mailing list
> http://nmap.org/mailman/listinfo/fulldisclosure
> Web Archives & RSS: http://seclists.org/fulldisclosure/
>



-- 
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website

_______________________________________________
Sent through the Full Disclosure mailing list
http://nmap.org/mailman/listinfo/fulldisclosure
Web Archives & RSS: http://seclists.org/fulldisclosure/

Powered by blists - more mailing lists