CVE-2022-4506: openemr/openemr - Unrestricted File Upload
- Cve: CVE-2022-4506
- Name: openemr/openemr - Unrestricted File Upload
- Description: Unrestricted Upload of File with Dangerous Type in GitHub repository openemr/openemr prior to 7.0.0.2.
- Impact: Attackers can upload malicious files, potentially leading to remote code execution or server compromise.
- Remediation: Update to version 7.0.0.2 or later.
- Vulnerability type: unrestricted_file_upload
- Vulnerability impact: remote_code_execution, file_system_write
- Requirement type: none
- 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.01141
- Epss percentile: 0.67468
- Assignee: [email protected]
- Published at: 2022-12-15T01:15:11Z
- Age in days: 1440
- Modified at: 2026-06-17T05:21:03Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-4506
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://huntr.dev/bounties/f423d193-4ab0-4f03-ad90-25e4f02e7942 | nvd | 2022-12-15 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/openemr/openemr/commit/2e7678d812df167ea3c0756382408b670e8aa51f | Patch, Third Party Advisory |
| https://huntr.dev/bounties/f423d193-4ab0-4f03-ad90-25e4f02e7942 | Exploit, Patch, Third Party Advisory |
| https://www.cve.org/CVERecord?id=CVE-2022-4506 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| open-emr:openemr | < 7.0.0.2 | no | nvd | /v1/products/open-emr/openemr |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| openemr/openemr | commit, fix | yes | /v1/repositories/openemr/openemr |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-12-15
- 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