CVE-2021-31777 SQL Injection in t3/dce
Authenticated backend users can execute arbitrary SQL commands via the dce extension, potentially reading or modifying database content.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-31777?
CVE-2021-31777 is a medium-severity SQL injection vulnerability in n/a, published on 28 Apr 2021. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
The dce (aka Dynamic Content Element) extension 2.2.0 through 2.6.x before 2.6.2, and 2.7.x before 2.7.1, for TYPO3 allows SQL Injection via a backend user account.
Weakness: CWE-89
Which versions are affected by CVE-2021-31777?
2 open source packages ship an affected version, including t3/dce. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
t3/dce Packagist | From 2.2.0 | 2.6.2 |
t3/dce Packagist | From 2.2.0 | 2.6.2 |
Products include Dynamic Content Elements Project Dynamic Content Elements.
How do I fix CVE-2021-31777?
Upgrade t3/dce to 2.6.2 or later.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2021-31777 being exploited?
There is no known exploitation of CVE-2021-31777 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-5v5h-4w2g-gxxc.