CVE-2020-17952 Code injection in topthink/think
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.
| Package | Affected | Fixed in |
|---|---|---|
topthink/think Packagist | All versions to 6.0.9 | None |
topthink/think Packagist | All versions to 6.0.9 | None |
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.