Description (CNA)
LogicalDOC Community Edition through 9.3 contains a code injection vulnerability that allows authenticated users to execute OS commands by submitting Velocity templates in DocumentService.sendAsEmail subject or message fields. Attackers can invoke SystemTool exec methods or ClassTool, bypassing the forbidRuntimeUsage denylist, to run commands with LogicalDOC process privileges.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| LogicalDOC / LogicalDOC Community Edition | affected 0 through 9.3 |
CWE
CWE-94
References
- https://github.com/logicaldoc/community/discussions/119
- https://github.com/logicaldoc/community/commit/66c3a6b9b47f9f6c624047eea43b219851378f00
- https://github.com/logicaldoc/community/blob/9.3/logicaldoc-webapp/src/main/java/com/logicaldoc/web/service/DocumentServiceImpl.java#L1543
- https://github.com/logicaldoc/community/blob/9.3/logicaldoc-core/src/main/java/com/logicaldoc/core/automation/SystemTool.java#L59
- https://github.com/logicaldoc/community
- https://www.vulncheck.com/advisories/logicaldoc-community-edition-through-9.3-code-injection-via-velocity-sendasemail-template
ADP enrichment
No English description supplied.
No references supplied.