CVE-2020-12255 File upload in n/a
Attackers can achieve remote code execution by uploading malicious PHP files disguised as images due to insufficient file validation in rConfig.
- 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-12255?
CVE-2020-12255 is a high-severity vulnerability in n/a, published on 18 May 2020. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
rConfig 3.9.4 is vulnerable to remote code execution due to improper validation in the file upload functionality. vendor.crud.php accepts a file upload by checking content-type without considering the file extension and header. Thus, an attacker can exploit this by uploading a .php file to vendor.php that contains arbitrary PHP code and changing the content-type to image/gif.
Weakness: CWE-434
Which versions are affected by CVE-2020-12255?
It affects 1 product.
Products include Rconfig Rconfig.
How do I fix CVE-2020-12255?
No fix has been published for CVE-2020-12255 yet. Limit exposure of the affected software until one is available.
Is CVE-2020-12255 being exploited?
There is no known exploitation of CVE-2020-12255 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in n/a
Sources
Also known as GHSA-5rv6-786c-qwh8.