CVE-2021-31933 File upload in n/a

High 7.2 Published Updated

Remote authenticated administrators can upload malicious PHP files via improper extension filtering and directory traversal to execute arbitrary code.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-31933?

CVE-2021-31933 is a high-severity vulnerability in n/a, published on 30 Apr 2021. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A remote code execution vulnerability exists in Chamilo through 1.11.14 due to improper input sanitization of a parameter used for file uploads, and improper file-extension filtering for certain filenames (e.g., .phar or .pht). A remote authenticated administrator is able to upload a file containing arbitrary PHP code into specific directories via main/inc/lib/fileUpload.lib.php directory traversal to achieve PHP code execution.

Weakness: CWE-706

Which versions are affected by CVE-2021-31933?

It affects 1 product.

Products include Chamilo Chamilo.

How do I fix CVE-2021-31933?

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

Is CVE-2021-31933 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-ch7w-rg8w-hgcj.

Is CVE-2021-31933 in your software?

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

Check your SBOMs for free