CVE-2020-27387 File upload in n/a

High 8.8 Published Updated

Authenticated attackers can upload and execute arbitrary PHP code in HorizontCMS by renaming files to have a PHP extension.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2020-27387?

CVE-2020-27387 is a high-severity vulnerability in n/a, published on 5 Nov 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-434

Which versions are affected by CVE-2020-27387?

It affects 1 product.

Products include Horizontcms Project Horizontcms.

How do I fix CVE-2020-27387?

No fix has been published for CVE-2020-27387 yet. Limit exposure of the affected software until one is available.

Is CVE-2020-27387 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-27387 exists.

Public exploit code: 1 Metasploit module.

Sources

Also known as GHSA-fmrq-56mh-96f5.

Is CVE-2020-27387 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free