An unrestricted file upload issue in HorizontCMS through 1.0.0-beta allows an authenticated remote attacker (with…
No fixed version listed yet.Check the vendor advisory. References ↓
An unrestricted file upload flaw in HorizontCMS through 1.0.0-beta, within the FileManager component, lets an attacker upload arbitrary files that can later be renamed to a PHP extension. An attacker with authenticated access to the FileManager can exploit this by uploading a PHP payload, renaming it to a .php file, and executing it with an HTTP GET request to /storage/, with no user interaction required.
Official description · CVE.org
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.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited 5 years after disclosure. Public exploit code (Metasploit) was available 42 days before disclosure.
- Public exploit codeMetasploit42 days before
- Disclosedday 0
- First seen exploitedVulnCheck KEV evidence+5 yrs
Patch historyEarlier and later CVEs in the same code, in date order. It shows when a fix was bypassed or incomplete and which version finally fixed it.
2 related vulnerabilities in the same code over 17 months.
Linked vulnerabilitiesLinked by evidence that a fix failed or the same code was patched again. Oldest first.
- This CVECVE-2020-27387An unrestricted file upload issue in HorizontCMS through…5 Nov 2020
relatedMedium
Why these are linked: Link confidenceHow strong the evidence is that two CVEs are related. High: stated in the CVE text or linked in an advisory, or the same code was patched one release apart. Medium: the same code, or a version step plus a similar description. Low: similar description only.
- Same code patched: FileManagerController.php (machine-matched)Functions: fileupload, renamecommit 436b5abcommit 9c4d682