Bahmni-Coreの管理者向けCSV取り込みに脆弱性、任意のファイルに書き込まれるおそれ
Summary
Bahmni-Coreのバージョン0.93では、管理者向けのCSV取り込み処理で入力パスの検証が不十分なため、任意のファイルに書き込まれるおそれがあります。修正版の0.93.1で対処されています。CVSSは8.7です。0.93を使っている場合は、0.93.1への更新を急ぐ必要があるか判断してください。
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.
Bahmni-Coreのバージョン0.93では、管理者向けのCSV取り込み処理で入力パスの検証が不十分なため、任意のファイルに書き込まれるおそれがあります。修正版の0.93.1で対処されています。CVSSは8.7です。0.93を使っている場合は、0.93.1への更新を急ぐ必要があるか判断してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Bahmnibahmni-core | — | Not listed |
| mavenorg.bahmni.module:bahmnicore-omod |
≥ 1.0.0, < 2.0.1→ 2.0.1 |
2.0.1 |
Original description The description as published by the source.
Impact
Insufficient validation of input paths during the admin CSV import process allows for potential arbitrary file write.
Patches
Patches should be applied to bahmnicore-omod versions 0.93 and above.
Workarounds
- On the ingress-controller or proxy block/restrict access to /openmrs/ws/rest/v1/bahmnicore/admin/upload/* onto trusted IP addresses.
- Until application of the patched version, remove access to Bahmni frontend "Admin Page" and also review list of user access, although the backend API is still exposed.
- Audit Access: Review and restrict access to the Admin CSV import to only essential personnel.
- Monitor Logs: Closely monitor system and application logs for unusual activity, particularly around data-access and file-upload endpoints.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com