OpenEMRに認証済み患者から SQLを注入される脆弱性
Summary
OpenEMRの患者ポータルにあるOnsiteDocument.Queryの処理で、SQLインジェクションの脆弱性が見つかりました。ログイン済みの患者が、自分の範囲を超えてデータベース全体を読み取れるおそれがあり、他の患者の基本情報やユーザーのパスワードハッシュも含まれます。影響するのは8.5.0より前の版で、8.5.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の患者ポータルにあるOnsiteDocument.Queryの処理で、SQLインジェクションの脆弱性が見つかりました。ログイン済みの患者が、自分の範囲を超えてデータベース全体を読み取れるおそれがあり、他の患者の基本情報やユーザーのパスワードハッシュも含まれます。影響するのは8.5.0より前の版で、8.5.0に修正版が公開されています。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| openemropenemr |
< 8.5.0→ 8.5.0 |
8.5.0 |
Original description The description as published by the source.
OpenEMR before 8.5.0 contains an SQL injection vulnerability in the patient portal OnsiteDocument.Query endpoint, where mass-assigned _BitwiseAnd criteria parameters are placed unquoted into SQL with only quote-character escaping. Authenticated portal patients can inject SQL outside their per-patient scope to read the entire database, including other patients' demographics and users_secure password hashes.
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