CVE-2020-27387

Source
https://cve.org/CVERecord?id=CVE-2020-27387
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-27387.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-27387
Published
2020-11-05T02:15:12.067Z
Modified
2026-07-08T05:56:24.226794306Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:a:horizontcms_project:horizontcms:1.0.0:alpha2:*:*:*:*:*:*",
                "cpe:2.3:a:horizontcms_project:horizontcms:1.0.0:alpha3:*:*:*:*:*:*",
                "cpe:2.3:a:horizontcms_project:horizontcms:1.0.0:alpha4:*:*:*:*:*:*",
                "cpe:2.3:a:horizontcms_project:horizontcms:1.0.0:alpha5:*:*:*:*:*:*",
                "cpe:2.3:a:horizontcms_project:horizontcms:1.0.0:alpha6:*:*:*:*:*:*",
                "cpe:2.3:a:horizontcms_project:horizontcms:1.0.0:alpha7:*:*:*:*:*:*",
                "cpe:2.3:a:horizontcms_project:horizontcms:1.0.0:alpha8:*:*:*:*:*:*",
                "cpe:2.3:a:horizontcms_project:horizontcms:1.0.0:alpha:*:*:*:*:*:*",
                "cpe:2.3:a:horizontcms_project:horizontcms:1.0.0:beta:*:*:*:*:*:*"
            ],
            "vendor_product": "horizontcms_project:horizontcms",
            "extracted_events": [
                {
                    "introduced": "1.0.0-alpha"
                },
                {
                    "last_affected": "1.0.0-alpha"
                },
                {
                    "introduced": "1.0.0-alpha2"
                },
                {
                    "last_affected": "1.0.0-alpha2"
                },
                {
                    "introduced": "1.0.0-alpha3"
                },
                {
                    "last_affected": "1.0.0-alpha3"
                },
                {
                    "introduced": "1.0.0-alpha4"
                },
                {
                    "last_affected": "1.0.0-alpha4"
                },
                {
                    "introduced": "1.0.0-alpha5"
                },
                {
                    "last_affected": "1.0.0-alpha5"
                },
                {
                    "introduced": "1.0.0-alpha6"
                },
                {
                    "last_affected": "1.0.0-alpha6"
                },
                {
                    "introduced": "1.0.0-alpha7"
                },
                {
                    "last_affected": "1.0.0-alpha7"
                },
                {
                    "introduced": "1.0.0-alpha8"
                },
                {
                    "last_affected": "1.0.0-alpha8"
                },
                {
                    "introduced": "1.0.0-beta"
                },
                {
                    "last_affected": "1.0.0-beta"
                }
            ],
            "source": "CPE_STRING"
        }
    ]
}
References

Affected packages

Git / github.com/ttimot24/horizont-cms

Affected ranges

Type
GIT
Repo
https://github.com/ttimot24/horizont-cms
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.0.0-beta"
        }
    ],
    "source": [
        "DESCRIPTION",
        "REFERENCES"
    ]
}

Affected versions

v1.*
v1.0.0-alpha
v1.0.0-alpha.2
v1.0.0-alpha.3
v1.0.0-alpha.4
v1.0.0-alpha.5
v1.0.0-alpha.6
v1.0.0-alpha.7
v1.0.0-alpha.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-27387.json"