< back to advisories

Magnolia Content Management System Unauthorised File Upload

Portcullis Security Advisory   07_011

Vulnerable System: 

Magnolia Content Managament System.

Vulnerability Title:  

Magnolia Content Management System Unauthorised File Upload.

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.

Affected systems: 

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 Status:

Vendor contacted by e-mail on the following dates:

16th April
18th April
26th June
16th July

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:

Copyright © Portcullis Computer Security Limited 2007, All rights reserved 

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.

The information herein contained may change without notice. Use of this 
information constitutes acceptance for use in an AS IS condition. There 
are NO warranties, implied or otherwise, with regard to this information 
or its use. Any use of this information 
is at the user's risk. In no event shall the author/distributor 
(Portcullis Computer Security Limited) be held liable for any damages 
whatsoever arising out of or in connection with the use or spread of 
this information.