Security Advisory 07-011 – Magnolia CMS Unorthorised File Upload – Original
Vulnerability discovery and development:
Portcullis Security Testing Services
Credit for Discovery:
Nico Leidecker of Portcullis Computer Security Ltd and further research was then carried out.
Magnolia 3.0.2 was tested to be vulnerable.
The Magnolia Content Management System allows the upload of files to the /dms/ directory and create arbitrary subdirectories without being authenticated. This is done via the /.magnolia/dms/uploadzip.html page, where a user can upload zip-archives, that will be extracted into a path, that can be specified by the GET parameter “path”.
An attacker may upload arbitray files and create subdirectories in the /dms/ directory. However, downloading those files requires authentication. Although, users could consider those files as trustworthy and download or execute them on their local machine.
Proof of concept exploit code is not required.
Vendor contacted by e-mail on the following dates:
Comments Provided By The Vendor:
A bug fix is available and will be released in the 3.0.3 release.
Users of other 3.0 versions can change the priority value of the security value to a value of 150.
This issue does not appear in version 3.1 due to the improved security architecture.
The bug reports for this are available below the following:-
Permission is hereby granted for the electronic redistribution of this information. It is not to be edited or altered in any way without the express written consent of Portcullis Computer Security Limited.