| Issue: |
|
|---|---|
| Date: |
|
| Severity: | Low |
| Requires Admin Access: | Yes |
| Fix Version: | 3.3.2, 3.5 |
| Credit: | Piaox From Pingan Product Safety Group |
| Description: |
The lucene search admin tool (Admin only) allows a user to construct and execute a query to run against dotCMS content. The admin tool does not sanitize the query and echo's it back to the user which allows for XSS javascript execution. |
| Mitigation: |
dotCMS 5.2 and above ships with an XSS prevention filter that validates incoming requests to admin urls. If the incoming request does not include a valid Refer or Origin Header, then the request will be blocked by the filter. In essence, this blocks an attacker's ability to remotely trigger an XSS or referer vulnerability from a domain outside of the administrative panel. |
| References |
https://packetstormsecurity.com/files/136636/DotCMS-3.5-Beta-Cross-Site-Scripting.html |