OpenEMRに権限昇格の脆弱性、読み取り専用クライアントが書き込み権限を取得
Summary
OpenEMRの8.4.0より前のバージョンには、SMART/OAuthのスコープ確定処理に認可の不備があり、読み取り専用として登録されたクライアントが書き込み権限を取得できます。攻撃に成功すると、予約や患者データの作成・更新・削除が行われるおそれがあります。影響を受けるのは8.4.0より前のOpenEMRで、修正版の8.4.0への更新が必要です。
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.
OpenEMRの8.4.0より前のバージョンには、SMART/OAuthのスコープ確定処理に認可の不備があり、読み取り専用として登録されたクライアントが書き込み権限を取得できます。攻撃に成功すると、予約や患者データの作成・更新・削除が行われるおそれがあります。影響を受けるのは8.4.0より前のOpenEMRで、修正版の8.4.0への更新が必要です。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| openemropenemr |
< 8.4.0→ 8.4.0 |
8.4.0 |
Original description The description as published by the source.
OpenEMR before 8.4.0 contains an improper authorization vulnerability in ScopeRepository::finalizeScopes() that allows read-only SMART/OAuth clients to obtain write scopes because ScopeEntity::containsScope() ignores registered permissions. Attackers with a client registered for user/.read can request user/.write to create, update, and delete appointments or patient data.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- web github.com