CVE-2025-31117
OpenEMR vulnerability analysis and mitigation

Overview

OpenEMR, a free and open source electronic health records and medical practice management application, was found to contain an Out-of-Band Server-Side Request Forgery (OOB SSRF) vulnerability. The vulnerability, identified as CVE-2025-31117, allows an attacker to force the server to make unauthorized requests to external or internal resources. While this attack does not return a direct response, it can be exploited through DNS or HTTP interactions to exfiltrate sensitive information. The vulnerability was discovered in versions prior to 7.0.3.1 and has been fixed in version 7.0.3.1 (GitHub Advisory).

Technical details

The vulnerability exists in the Dicom Viewer functionality of OpenEMR, specifically in the file import feature which offers three options: file, folder, and URL. The URL parameter can be exploited for SSRF attacks. The vulnerability has been assigned a CVSS 4.0 Base Score of 6.9 (Medium) with the vector string CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N. The issue is classified as CWE-918 (Server-Side Request Forgery) (NVD).

Impact

The vulnerability can be exploited to perform internal port scanning and gain unauthorized access to internal resources. Through DNS or HTTP interactions, attackers can potentially exfiltrate sensitive information from the system. Given that OpenEMR is a medical records system, this could potentially expose sensitive patient data (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in OpenEMR version 7.0.3.1. Users are advised to upgrade to this version or later to protect against this vulnerability. The fix involved removing the URL option from the image downloader dialog (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related OpenEMR vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-22611CRITICAL9.8
  • OpenEMROpenEMR
  • cpe:2.3:a:open-emr:openemr
NoYesApr 03, 2025
CVE-2013-10044HIGH8.7
  • OpenEMROpenEMR
  • cpe:2.3:a:open-emr:openemr
NoYesAug 01, 2025
CVE-2025-43860HIGH7.6
  • OpenEMROpenEMR
  • cpe:2.3:a:open-emr:openemr
NoYesMay 23, 2025
CVE-2025-32794HIGH7.6
  • OpenEMROpenEMR
  • cpe:2.3:a:open-emr:openemr
NoYesMay 23, 2025
CVE-2025-32967MEDIUM5.4
  • OpenEMROpenEMR
  • cpe:2.3:a:open-emr:openemr
NoYesMay 23, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management