Description
A sandbox escape vulnerability exists in dotCMS’s Velocity scripting engine (VTools) that allows authenticated users with scripting privileges to bypass class and package restrictions enforced by SecureUberspectorImpl. By dynamically modifying the Velocity engine’s runtime configuration and reinitializing its Uberspect, a malicious actor can remove the introspector.restrict.classes and introspector.restrict.packages protections. Once these restrictions are cleared, the attacker can access arbitrary Java classes, including java.lang.Runtime, and execute arbitrary system commands under the privileges of the application process (e.g. dotCMS or Tomcat user).
Remediation
References
Related Vulnerabilities
WordPress Plugin Sell Downloads Cross-Site Scripting (1.0.86)
Moodle Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2015-3180)
Ampache Cross-Site Request Forgery (CSRF) Vulnerability (CVE-2024-51487)
Internet Information Services CVE-2008-0074 Vulnerability (CVE-2008-0074)
WordPress Plugin RK Responsive Contact Form SQL Injection (1.0.0)