Summary
Camunda 8 contains an insecure deserialization vulnerability in its persistent web session feature that can lead to code execution as the Camunda service account. The CVSS 4.0 score is 9.2 (critical).
What happened
The persistent web session feature in Camunda 8 stores session attributes as Java-serialized data in secondary storage and deserializes them through an ObjectInputStream without an ObjectInputFilter (CWE-502). An attacker with write access to the web session index, for example on an unauthenticated Elasticsearch cluster deployed via Camunda's docker-compose files, could plant a crafted serialized object and trigger its deserialization by presenting a matching session cookie. Combined with a gadget chain, such as the bundled Commons Collections 3.1-RC1 library, this can lead to code execution as the Camunda service account.
Why it matters
The source assigns a CVSS 4.0 score of 9.2 (critical severity, assigned by CNA:VulnCheck), with vector CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N: network access, high attack complexity, no privileges or user interaction required, and high impact on confidentiality, integrity and availability. Exploitation requires write access to the session index. The source does not indicate active exploitation.
Affected products and versions
Camunda 8 (Camunda): >= 8.8.0, < 8.8.47; >= 8.9.0, < 8.9.29; >= 8.10.0, < 8.10.10; and 8.11.0-alpha1.
| Product | Versions | Fixed in |
|---|---|---|
| Camunda Camunda 8 | >= 8.8.0, < 8.8.47 | — |
| Camunda Camunda 8 | >= 8.9.0, < 8.9.29 | — |
| Camunda Camunda 8 | >= 8.10.0, < 8.10.10 | — |
| Camunda Camunda 8 | 8.11.0-alpha1 | — |
Action recommended by the source
The source does not include an explicit vendor recommendation or a fixed version for every branch. It does link release notes and fix commits for 8.8.47, 8.9.29 and 8.10.10, which are the first versions outside the affected ranges of their respective branches. For 8.11.0-alpha1 the source does not state a fix. Readers are advised to consult the release notes and the VulnCheck advisory linked in the source.
Sources and references
- https://github.com/camunda/camunda/commit/aaf0498ec37dc9b43dbbab2616f3bf5303f911ce — CVE Program
- https://github.com/camunda/camunda/commit/82b490cd41a685118b63a378d8963334711b7d8d — CVE Program
- https://github.com/camunda/camunda/commit/fc363d6d0fc7999463f23d98700b292af1737916 — CVE Program
- https://github.com/camunda/camunda/commit/5870c91d4ec8c2dae96db60f3261daed2273baf2 — CVE Program
- https://github.com/camunda/camunda/releases/tag/8.10.10 — CVE Program
- https://github.com/camunda/camunda/releases/tag/8.9.29 — CVE Program
- https://github.com/camunda/camunda/releases/tag/8.8.47 — CVE Program
- https://www.vulncheck.com/advisories/camunda-8-insecure-deserialization-via-web-session-storage — CVE Program
Weaknesses (CWE): CWE-502
Relevant change history
Advisory correction
The preliminary version was replaced by the full write-up.
Published
Preliminary advisory published.