Description
OpenEMR before 8.3.0 contains a cross-site request forgery vulnerability in the DICOM viewer. The web_path GET parameter in the DICOM viewer page is embedded unsanitized as a URL without validation against expected path formats. An attacker can craft a URL that causes an authenticated user with Patients - Documents permissions to make authenticated requests to arbitrary OpenEMR endpoints, enabling forced logout and other state-changing actions.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| openemr | openemr | < 8.3.0 | 8.3.0 |
References
- GitHub Security Advisory (GHSA-wffp-pj5h-xqwp) vendor-advisory
- OpenEMR v8_3_0 Release Notes release-notes
- Patch Commit patch
- https://www.vulncheck.com/advisories/openemr-csrf-via-dicom-viewer-web-path-parameter third-party-advisory