Camunda Expression Injection via orQueries RCE
Camunda 7
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Camunda Camunda 7 |
| No fix yet |
Original description
Camunda 7.24.0 before 7.24.14 and 7.23.0 before 7.23.17 contains an expression injection vulnerability where AdhocQueryValidator.validate() fails to check sub-query expression maps within the orQueries field exposed by TaskQueryDto, allowing authenticated users to bypass the enableExpressionsInAdhocQueries restriction. Attackers can supply a malicious JUEL expression such as dueAfterExpression inside an orQueries entry to achieve arbitrary Java reflection and invoke java.lang.Runtime.exec, resulting in operating-system command execution as the engine service user.
From the CVE record · VulnCheck