CVE-2020-27387 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...
HighCVSS 8.8
EPSS 18.5%
Framework module
- Published
- Updated
- Exploit status
- Public exploit available
- Technology
- PHP
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.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| horizontcms project horizontcms | = 1.0.0-alpha; = 1.0.0-alpha2; = 1.0.0-alpha3; = 1.0.0-alpha4 +5 more | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| horizontcms project horizontcms | = 1.0.0-alpha | No fix listed |
| horizontcms project horizontcms | = 1.0.0-alpha2 | No fix listed |
| horizontcms project horizontcms | = 1.0.0-alpha3 | No fix listed |
| horizontcms project horizontcms | = 1.0.0-alpha4 | No fix listed |
| horizontcms project horizontcms | = 1.0.0-alpha5 | No fix listed |
| horizontcms project horizontcms | = 1.0.0-alpha6 | No fix listed |
| horizontcms project horizontcms | = 1.0.0-alpha7 | No fix listed |
| horizontcms project horizontcms | = 1.0.0-alpha8 | No fix listed |
| horizontcms project horizontcms | = 1.0.0-beta | No fix listed |
References
- packetstormsecurity.com exploit third-party-advisory vdb-entry
- blog.vonahi.io exploit patch third-party-advisory
- github.com third-party-advisory
- github.com patch third-party-advisory