Security advisory
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/. NOTE: the vendor has patched this while leaving the version number at 1.0.0-beta.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-27387
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:25 UTC · Revision 1
Source evidence
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/. NOTE: the vendor has patched this while leaving the version number at 1.0.0-beta.
osv:CVE-2020-27387
Complete source record
{
"id": "f2cf711b1c43bdcf2cbcd02b97110a61be59967b24d00750bd2c4fd8381d56a3",
"url": "https://osv.dev/vulnerability/CVE-2020-27387",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-27387",
"summary": "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/. NOTE: the vendor has patched this while leaving the version number at 1.0.0-beta.",
"evidence": "osv:CVE-2020-27387",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-27387",
"aliases": [
"CVE-2020-27387"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/ttimot24/horizont-cms",
"type": "GIT",
"events": [
{
"introduced": "59c2843b5df2ac2e78b1d54db4e40dbe082cf233"
},
{
"last_affected": "5aa34ac4e457a49b83f24a2969593c495f3ed9ad"
},
{
"fixed": "436b5ab679fd27afa3d99c023dbe103113da4fee"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:horizontcms_project:horizontcms:1.0.0:alpha:*:*:*:*:*:*",
"range": [
{
"introduced": "1.0.0-alpha"
},
{
"last_affected": "1.0.0-alpha"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:horizontcms_project:horizontcms:1.0.0:beta:*:*:*:*:*:*",
"range": [
{
"introduced": "1.0.0-beta"
},
{
"last_affected": "1.0.0-beta"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "436b5ab679fd27afa3d99c023dbe103113da4fee"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"1.0.0-alpha",
"1.0.0-beta",
"v1.0.0-beta",
"v1.0.0-alpha.8",
"v1.0.0-alpha.7",
"v1.0.0-alpha.6",
"v1.0.0-alpha.5",
"v1.0.0-alpha.4",
"v1.0.0-alpha.3",
"v1.0.0-alpha.2",
"v1.0.0-alpha"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-27387.json"
}
}
],
"modified": "2026-10-20T10:54:19.116861737Z",
"provider": "osv",
"references": [
"https://github.com/rapid7/metasploit-framework/pull/14340",
"https://blog.vonahi.io/whats-in-a-re-name/",
"https://github.com/ttimot24/HorizontCMS/commit/436b5ab679fd27afa3d99c023dbe103113da4fee"
],
"provider_metadata": {
"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:*:*:*:*:*:*"
],
"vendor_product": "horizontcms_project:horizontcms",
"extracted_events": [
{
"range": [
{
"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"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2020-27387",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385027,
"published_at": "2020-11-05T02:15:12.067+00:00"
}