Cyber Posture

CVE-2025-31117

HighPublic PoC

Published: 31 March 2025

Published
31 March 2025
Modified
30 April 2025
KEV Added
Patch
CVSS Score 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS Score 0.0073 72.8th percentile
Risk Priority 15 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2025-31117 is a high-severity SSRF (CWE-918) vulnerability in Open-Emr Openemr. Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 27.2% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified are NIST 800-53 SC-7 (Boundary Protection) and SI-10 (Information Input Validation).

Threat & Defense at a Glance

What attackers do: exploitation maps to Exploit Public-Facing Application (T1190) and 3 other techniques. What defenders deploy: see the NIST 800-53 controls recommended below.
Threat & Defense Details

Mitigating Controls (NIST 800-53 r5)AI

prevent

Directly remediates the SSRF vulnerability by applying the vendor-released patch in OpenEMR version 7.0.3.1.

prevent

Validates and sanitizes user inputs to block malicious URLs or parameters that could trigger unauthorized server-side requests to internal or external resources.

prevent

Implements network boundary protections such as firewalls or proxies to restrict the application's outbound connections to only whitelisted destinations, preventing SSRF exfiltration.

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1018 Remote System Discovery Discovery
Adversaries may attempt to get a listing of other systems by IP address, hostname, or other logical identifier on a network that may be used for Lateral Movement from the current system.
T1046 Network Service Discovery Discovery
Adversaries may attempt to get a listing of services running on remote hosts and local network infrastructure devices, including those that may be vulnerable to remote software exploitation.
T1567 Exfiltration Over Web Service Exfiltration
Adversaries may use an existing, legitimate external Web service to exfiltrate data rather than their primary command and control channel.
Why these techniques?

OOB SSRF in public-facing OpenEMR enables initial access via app exploitation (T1190), forces server requests for internal system/service discovery (T1018, T1046), and supports exfiltration of config/network data via attacker-controlled HTTP/DNS OOB channels (T1567).

Confidence: MEDIUM · MITRE ATT&CK Enterprise v19.0

NVD Description

OpenEMR is a free and open source electronic health records and medical practice management application. An Out-of-Band Server-Side Request Forgery (OOB SSRF) vulnerability was identified in OpenEMR, allowing an attacker to force the server to make unauthorized requests to external…

more

or internal resources. this attack does not return a direct response but can be exploited through DNS or HTTP interactions to exfiltrate sensitive information. This vulnerability is fixed in 7.0.3.1.

Deeper analysisAI

CVE-2025-31117 is an Out-of-Band Server-Side Request Forgery (OOB SSRF) vulnerability in OpenEMR, a free and open source electronic health records and medical practice management application. The flaw allows an attacker to force the OpenEMR server to make unauthorized requests to external or internal resources, without returning a direct response to the attacker. It is associated with CWE-918 and carries a CVSS v3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N), highlighting high confidentiality impact.

Unauthenticated attackers with network access can exploit this vulnerability by triggering the server-side requests. Exploitation relies on out-of-band channels such as DNS or HTTP interactions to exfiltrate sensitive information from the server, potentially including internal network data or configuration details.

The vulnerability has been addressed in OpenEMR version 7.0.3.1, as detailed in the project's GitHub security advisory (GHSA-2pvv-ph3x-2f9h) and the corresponding fix commit (aa6f50efb2971285633fa77ea7a50949408cab12). Security practitioners should upgrade to the patched version and review access controls for any exposed OpenEMR instances.

Details

CWE(s)

Affected Products

open-emr
openemr
≤ 7.0.3.1

CVEs Like This One

CVE-2026-33321Same product: Open-Emr Openemr
CVE-2026-25164Same product: Open-Emr Openemr
CVE-2026-33914Same product: Open-Emr Openemr
CVE-2026-25146Same product: Open-Emr Openemr
CVE-2025-29789Same product: Open-Emr Openemr
CVE-2026-32238Same product: Open-Emr Openemr
CVE-2026-24908Same product: Open-Emr Openemr
CVE-2026-23627Same product: Open-Emr Openemr
CVE-2026-34053Same product: Open-Emr Openemr
CVE-2026-32126Same product: Open-Emr Openemr

References