CVE-2021-32630 Various

Critical 9.6 Published Updated

Authenticated attackers can upload malicious .phar files to execute arbitrary code via the document upload feature in Admidio.

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-2021-32630?

CVE-2021-32630 is a critical vulnerability in admidio, published on 20 May 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Admidio is a free, open source user management system for websites of organizations and groups. In Admidio before version 4.0.4, there is an authenticated RCE via .phar file upload. A php web shell can be uploaded via the Documents & Files upload feature. Someone with upload permissions could rename the php shell with a .phar extension, visit the file, triggering the payload for a reverse/bind shell. This can be mitigated by excluding a .phar file extension to be uploaded (like you did with .php .phtml .php5 etc). The vulnerability is patched in version 4.0.4.

Weakness: CWE-434

Which versions are affected by CVE-2021-32630?

It affects 1 product.

Products include Admidio Admidio.

How do I fix CVE-2021-32630?

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

Is CVE-2021-32630 being exploited?

There is no known exploitation of CVE-2021-32630 in the wild and no public exploit code.

Sources

Also known as GHSA-xpqj-67r8-25j2.

Is CVE-2021-32630 in your software?

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

Check your SBOMs for free