CVE-2020-17952 Code injection in topthink/think

Critical 9.8 Published Updated

Attackers can execute arbitrary PHP code remotely in the Twothink framework, potentially compromising 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-2020-17952?

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

Official description

A remote code execution (RCE) vulnerability in /library/think/App.php of Twothink v2.0 allows attackers to execute arbitrary PHP code.

Which versions are affected by CVE-2020-17952?

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

PackageAffectedFixed in
topthink/think PackagistAll versions to 6.0.9None
topthink/think PackagistAll versions to 6.0.9None

Products include Twothink Project Twothink.

How do I fix CVE-2020-17952?

No fix has been published for CVE-2020-17952 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-2020-17952 being exploited?

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

Sources

Also known as GHSA-ch3r-vp46-8g22.

Is CVE-2020-17952 in your software?

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

Check your SBOMs for free