Mezzanine CMS 4.1.0 Arbitrary File Upload Feb 03 2016 04:14AM
hyp3rlinx lycos com
[+] Credits: hyp3rlinx

[+] Website: hyp3rlinx.altervista.org

[+] Source: http://hyp3rlinx.altervista.org/advisories/MEZZANINE-CMS-ARBITRARY-FILE-


Mezzanine 4.1.0

Mezzanine is an open source CMS built using the python based Django framework.

Vulnerability Type:
Arbitrary File Upload

CVE Reference:

Vulnerability Details:

Issue is within the`FILEBROWSER_EXTENSIONS` setting. This setting was previously only used client-side
and was not validated server-side, allowing local malicious users ability to bypass file check for uploads
resulting in arbitrary file types like .htaccess, .EXE and .sh being uploaded to the system.

Exploit code(s):

Tested following arbitrary file uploads successfully .htaccess, .sh, .EXE ...

[26/Jan/2016 11:39:24] "GET /asset_proxy/?u=/static/filebrowser/uploadify/uploadify.swf HTTP/1.1" 200 22894
[26/Jan/2016 11:39:28] "POST /admin/media-library/check_file/ HTTP/1.1" 200 2

Upgrade right away (pip install -U filebrowser_safe).

If for some reason you're unable to upgrade seamlessly, here is the fix which you need to apply:

Disclosure Timeline:
Vendor Notification: January 26, 2016
Feburary 2, 2016 : Public Disclosure

Exploitation Technique:

Severity Level:

Request Method(s): [+] POST

Vulnerable Product: [+] Mezzanine 4.1.0


[+] Disclaimer
Permission is hereby granted for the redistribution of this advisory, provided that it is not altered except by reformatting it, and that due credit is given. Permission is explicitly given for insertion in vulnerability databases and similar, provided that due credit is given to the author.
The author is not responsible for any misuse of the information contained herein and prohibits any malicious use of all security related information or exploits by the author or elsewhere.

by hyp3rlinx

[ reply ]


Privacy Statement
Copyright 2010, SecurityFocus