Vulnerability Note VU#898083
dotCMS template permissions allow arbitrary code execution
The dotCMS content management system version 1.9 and possibly earlier versions, contains a vulnerability that allows users with the appropriate permissions to create a malicious template with arbitrary code.
An authenticated dotCMS user with the permissions required to author and upload templates may create a malicious XSLT or Velocity template that can execute arbitrary java code. The arbitrary java code will run with the permissions of the web service account.
An authenticated attacker with the permissions to create a template may upload a malicious XSLT or Velocity template that can run arbitrary java code. In some cases, the attacker may be able to exploit this vulnerability to obtain a shell on the web server.
Apply an Update
dotCMS version 126.96.36.199 or 2.0.1 and later address these vulnerabilities. If you are unable to upgrade please consider the following workarounds.
Vendor Information (Learn More)
|Vendor||Status||Date Notified||Date Updated|
|dotCMS||Affected||13 Apr 2012||01 May 2012|
CVSS Metrics (Learn More)
Thanks to Ben Murphy for reporting this vulnerability.
This document was written by Jared Allar.
- CVE IDs: CVE-2012-1826
- Date Public: 25 May 2012
- Date First Published: 25 May 2012
- Date Last Updated: 25 May 2012
- Document Revision: 25
If you have feedback, comments, or additional information about this vulnerability, please send us email.