CVE-2021-28428

Source
https://cve.org/CVERecord?id=CVE-2021-28428
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-28428.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-28428
Published
2022-04-05T16:15:11Z
Modified
2026-08-27T03:48:40Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

File upload vulnerability in HorizontCMS before 1.0.0-beta.3 via uploading a .htaccess and *.hello files using the Media Files upload functionality. The original file upload vulnerability (CVE-2020-27387) was remediated by restricting the PHP extensions; however, we confirmed that the filter was bypassed via uploading an arbitrary .htaccess and *.hello files in order to execute PHP code to gain RCE.

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:beta2:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "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-beta2"
                },
                {
                    "last_affected": "1.0.0-beta2"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "horizontcms_project:horizontcms"
        }
    ]
}
References

Affected packages

Git / github.com/ttimot24/horizont-cms

Affected ranges

Type
GIT
Repo
https://github.com/ttimot24/horizont-cms
Events
Database specific
Show details
{
    "cpe": [
        "cpe:2.3:a:horizontcms_project:horizontcms:1.0.0:-:*:*:*:*:*:*",
        "cpe:2.3:a:horizontcms_project:horizontcms:1.0.0:alpha:*:*:*:*:*:*",
        "cpe:2.3:a:horizontcms_project:horizontcms:1.0.0:beta:*:*:*:*:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "1.0.0-NA"
        },
        {
            "last_affected": "1.0.0-NA"
        },
        {
            "introduced": "1.0.0-alpha"
        },
        {
            "last_affected": "1.0.0-alpha"
        },
        {
            "introduced": "1.0.0-beta"
        },
        {
            "last_affected": "1.0.0-beta"
        }
    ],
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

1.*
1.0.0-NA
1.0.0-alpha
1.0.0-beta

Database specific

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