CVE-2020-27387
CVSS V2 Medium 6.5
CVSS V3 High 8.8
Description
An unrestricted file upload issue in HorizontCMS through 1.0.0-beta allows an authenticated remote attacker (with access to the FileManager) to upload and execute arbitrary PHP code by uploading a PHP payload, and then using the FileManager's rename function to provide the payload (which will receive a random name on the server) with the PHP extension, and finally executing the PHP file via an HTTP GET request to /storage/<php_file_name>. NOTE: the vendor has patched this while leaving the version number at 1.0.0-beta.
Overview
- CVE ID
- CVE-2020-27387
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2020-11-05T02:15:12
- Last Modified Date
- 2022-10-19T15:58:29
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:horizontcms_project:horizontcms:1.0.0:alpha:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:horizontcms_project:horizontcms:1.0.0:alpha2:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:horizontcms_project:horizontcms:1.0.0:alpha3:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:horizontcms_project:horizontcms:1.0.0:alpha4:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:horizontcms_project:horizontcms:1.0.0:alpha5:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:horizontcms_project:horizontcms:1.0.0:alpha6:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:horizontcms_project:horizontcms:1.0.0:alpha7:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:horizontcms_project:horizontcms:1.0.0:alpha8:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:horizontcms_project:horizontcms:1.0.0:beta:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:S/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- SINGLE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 6.5
- Severity
- MEDIUM
- Exploitability Score
- 8
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 8.8
- Base Severity
- HIGH
- Exploitability Score
- 2.8
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://github.com/rapid7/metasploit-framework/pull/14340 | Third Party Advisory |
https://github.com/ttimot24/HorizontCMS/commit/436b5ab679fd27afa3d99c023dbe103113da4fee | Patch Third Party Advisory |
https://blog.vonahi.io/whats-in-a-re-name/ | |
http://packetstormsecurity.com/files/160046/HorizontCMS-1.0.0-beta-Shell-Upload.html |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2020-27387 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27387 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 16:20:04 | Added to TrackCVE | |||
2022-12-05 16:07:02 | 2020-11-05T02:15Z | 2020-11-05T02:15:12 | CVE Published Date | updated |
2022-12-05 16:07:02 | 2022-10-19T15:58:29 | CVE Modified Date | updated | |
2022-12-05 16:07:02 | Analyzed | Vulnerability Status | updated |