OpenEMR up to 5.0.1.3 Patient Portal import_template.php docid path traversal
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.7 | $0-$5k | 0.00 |
Summary
A vulnerability was found in OpenEMR up to 5.0.1.3. It has been classified as critical. This impacts an unknown function of the file portal/import_template.php of the component Patient Portal. The manipulation of the argument docid as part of Directory leads to path traversal. This vulnerability is listed as CVE-2018-15141. The attack may be initiated remotely. In addition, an exploit is available. Upgrading the affected component is recommended.
Details
A vulnerability was found in OpenEMR up to 5.0.1.3 (Business Process Management Software). It has been rated as critical. This issue affects an unknown code block of the file portal/import_template.php of the component Patient Portal. The manipulation of the argument docid as part of a Directory leads to a path traversal vulnerability. Using CWE to declare the problem leads to CWE-22. The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. Impacted is integrity, and availability. The summary by CVE is:
Directory traversal in portal/import_template.php in versions of OpenEMR before 5.0.1.4 allows a remote attacker authenticated in the patient portal to delete arbitrary files via the "docid" parameter when the mode is set to delete.
The bug was discovered 08/07/2018. The weakness was presented 08/13/2018 (GitHub Repository). The advisory is shared at github.com. The identification of this vulnerability is CVE-2018-15141 since 08/07/2018. The attack may be initiated remotely. The requirement for exploitation is a simple authentication. Technical details as well as a public exploit are known. MITRE ATT&CK project uses the attack technique T1006 for this issue.
The exploit is available at exploit-db.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 6 days. During that time the estimated underground price was around $0-$5k. By approaching the search of inurl:portal/import_template.php it is possible to find vulnerable targets with Google Hacking.
Upgrading to version 5.0.1.4 eliminates this vulnerability.
The vulnerability is also documented in the vulnerability database at Exploit-DB (45202). See VDB-122812 and VDB-122814 for similar entries. If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Type
Name
Version
License
Website
- Product: https://github.com/openemr/openemr/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.9VulDB Meta Temp Score: 5.7
VulDB Base Score: 5.4
VulDB Temp Score: 4.9
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 6.5
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Path traversalCWE: CWE-22
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
Google Hack: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: OpenEMR 5.0.1.4
Patch: github.com
Timeline
08/07/2018 🔍08/07/2018 🔍
08/13/2018 🔍
08/13/2018 🔍
08/14/2018 🔍
12/23/2024 🔍
Sources
Product: github.comAdvisory: github.com
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2018-15141 (🔍)
GCVE (CVE): GCVE-0-2018-15141
GCVE (VulDB): GCVE-100-122813
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 08/14/2018 08:09Updated: 12/23/2024 11:42
Changes: 08/14/2018 08:09 (66), 03/15/2020 10:34 (5), 05/01/2023 14:14 (4), 12/23/2024 11:42 (18)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.