CVE-2020-27387
Summary
| CVE | CVE-2020-27387 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2020-11-05 02:15:00 UTC |
| Updated | 2022-10-19 15:58:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-434
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Horizontcms Project | Horizontcms | 1.0.0 | All | All | All |
| Application | Horizontcms Project | Horizontcms | 1.0.0 | alpha | All | All |
| Application | Horizontcms Project | Horizontcms | 1.0.0 | alpha2 | All | All |
| Application | Horizontcms Project | Horizontcms | 1.0.0 | alpha3 | All | All |
| Application | Horizontcms Project | Horizontcms | 1.0.0 | alpha4 | All | All |
| Application | Horizontcms Project | Horizontcms | 1.0.0 | alpha5 | All | All |
| Application | Horizontcms Project | Horizontcms | 1.0.0 | alpha6 | All | All |
| Application | Horizontcms Project | Horizontcms | 1.0.0 | alpha7 | All | All |
| Application | Horizontcms Project | Horizontcms | 1.0.0 | alpha8 | All | All |
| Application | Horizontcms Project | Horizontcms | 1.0.0 | beta | All | All |
| Application | Horizontcms Project | Horizontcms | 1.0.0 | All | All | All |
| Application | Horizontcms Project | Horizontcms | 1.0.0 | alpha | All | All |
| Application | Horizontcms Project | Horizontcms | 1.0.0 | alpha2 | All | All |
| Application | Horizontcms Project | Horizontcms | 1.0.0 | alpha3 | All | All |
| Application | Horizontcms Project | Horizontcms | 1.0.0 | alpha4 | All | All |
| Application | Horizontcms Project | Horizontcms | 1.0.0 | alpha5 | All | All |
| Application | Horizontcms Project | Horizontcms | 1.0.0 | alpha6 | All | All |
| Application | Horizontcms Project | Horizontcms | 1.0.0 | alpha7 | All | All |
| Application | Horizontcms Project | Horizontcms | 1.0.0 | alpha8 | All | All |
| Application | Horizontcms Project | Horizontcms | 1.0.0 | beta | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| What’s in a name: RCE Hunting in CMSs via Unrestricted File Upload | MISC | blog.vonahi.io | |
| Add HorizontCMS 1.0.0-beta exploit module and documentation by kalba-security · Pull Request #14340 · rapid7/metasploit-framework · GitHub | MISC | github.com | Third Party Advisory |
| Security bug fix. · ttimot24/HorizontCMS@436b5ab · GitHub | MISC | github.com | Patch, Third Party Advisory |
| HorizontCMS 1.0.0-beta Shell Upload ≈ Packet Storm | MISC | packetstormsecurity.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.