SecurityContext

CVE-2023-22973: OpenEMR - File Inclusion

  • Cve: CVE-2023-22973
  • Name: OpenEMR - File Inclusion
  • Description: A Local File Inclusion (LFI) vulnerability in interface/forms/LBF/new.php in OpenEMR < 7.0.0 allows remote authenticated users to execute code via the formname parameter.
  • Impact: Authenticated users can execute arbitrary code on the server, potentially leading to full system compromise.
  • Remediation: Update to version 7.0.0 or later.
  • Vulnerability type: file_inclusion
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker needs to be an authenticated user
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01812
  • Epss percentile: 0.79214
  • Assignee: [email protected]
  • Published at: 2023-02-22T21:15:11Z
  • Age in days: 1371
  • Modified at: 2026-06-17T05:36:32Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-22973
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Public exploits

UrlSourceAdded date
https://www.sonarsource.com/blog/openemr-remote-code-execution-in-your-healthcare-system/nvd2023-02-22

References

UrlSourceTags
https://www.open-emr.org/wiki/index.php/OpenEMR_Patches#7.0.0_Patch_.2811.2F30.2F22.29nvdPatch, Release Notes
https://www.sonarsource.com/blog/openemr-remote-code-execution-in-your-healthcare-system/nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
open-emr:openemr< 7.0.0nonvd/v1/products/open-emr/openemr

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2023-02-22
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 2328
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports