OpenEMRに認証済みユーザーによるSQLインジェクションの脆弱性、8.5.0で修正
Summary
OpenEMRのCCR機能に、認証済みユーザーが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のCCR機能に、認証済みユーザーが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 CcrTable::insertApprovedData() that allows authenticated users to inject SQL through request parameter names used as column names. Attackers can send crafted patient_data-*-sel parameters to the revandapprove route, lacking ACL and CSRF checks, to copy password hashes into patient fields or corrupt records.
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