OpenKM Community Editionで認可不備の脆弱性、ワークフロー経由でOSコマンドを実行される恐れ
Summary
OpenKM Community Editionには、ワークフロー定義を扱うREST APIで認可が検証されず、ROLE_USERの権限を持つ利用者がBeanShellスクリプトを含む処理定義を登録・実行できる脆弱性が見つかりました。実行されたコードはサービスの権限で動作し、公式Dockerイメージではroot権限になるため、Javaコードだけでなくオペレーティングシステムのコマンドも実行される恐れがあります。CVSSv4は8.7です。修正版の情報は公開されていないため、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
OpenKM Community Editionには、ワークフロー定義を扱うREST APIで認可が検証されず、ROLE_USERの権限を持つ利用者がBeanShellスクリプトを含む処理定義を登録・実行できる脆弱性が見つかりました。実行されたコードはサービスの権限で動作し、公式Dockerイメージではroot権限になるため、Javaコードだけでなくオペレーティングシステムのコマンドも実行される恐れがあります。CVSSv4は8.7です。修正版の情報は公開されていないため、最新の情報を確認してください。
Original description The description as published by the source.
Unauthorization vulnerability in the management of workflow definitions in OpenKM Community Edition. The REST endpoints registerProcessDefinition and runProcessDefinition require authentication but do not verify roles in the WorkflowService or in lower layers. An attacker with the ROLE_USER role can register and execute a process definition containing BeanShell scripts, allowing them to execute Java code and operating system commands with the service’s privileges. In the official Docker image, the process runs as root.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web cve-coordination@incibe.es
- web nvd.nist.gov
- web github.com