CVE-2021-40616 Incorrect Authorization in thinkcmf

Medium 6.5 Published Updated

An attacker with background user management group permissions can modify the administrator password, leading to full account takeover.

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

What is CVE-2021-40616?

CVE-2021-40616 is a medium-severity missing authorization vulnerability in n/a, published on 14 Jun 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

thinkcmf v5.1.7 has an unauthorized vulnerability. The attacker can modify the password of the administrator account with id 1 through the background user management group permissions. The use condition is that the background user management group authority is required.

Weakness: CWE-425

Which versions are affected by CVE-2021-40616?

2 open source packages ship an affected version, including thinkcmf/thinkcmf. It affects 1 product.

PackageAffectedFixed in
thinkcmf/thinkcmf PackagistAll versions6.0.0
thinkcmf/thinkcmf PackagistAll versions6.0.0

Products include Thinkcmf Thinkcmf.

How do I fix CVE-2021-40616?

Upgrade thinkcmf/thinkcmf to 6.0.0 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2021-40616 being exploited?

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

Sources

Also known as GHSA-v25c-8349-v2q3.

Is CVE-2021-40616 in your software?

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

Check your SBOMs for free