CVE-2021-40889 Code injection in n/a

Critical 9.8 Published Updated

Attackers can inject malicious PHP code into password files via the password change function, leading to remote code execution on the server.

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

What is CVE-2021-40889?

CVE-2021-40889 is a critical code injection vulnerability in n/a, published on 11 Oct 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

CMSUno version 1.7.2 is affected by a PHP code execution vulnerability. sauvePass action in {webroot}/uno/central.php file calls to file_put_contents() function to write username in password.php file when a user successfully changed their password. The attacker can inject malicious PHP code into password.php and then use the login function to execute code.

Weakness: CWE-94

Which versions are affected by CVE-2021-40889?

It affects 1 product.

Products include Cmsuno Project Cmsuno.

How do I fix CVE-2021-40889?

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

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2021-40889 being exploited?

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

Sources

Also known as GHSA-hcrw-87mg-3f84.

Is CVE-2021-40889 in your software?

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

Check your SBOMs for free