CVE-2022-1064 SQL injection through marking blog comments on bulk as spam in forkcms/forkcms
An attacker can perform SQL injection by marking blog comments as spam in bulk, potentially accessing or modifying database content.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-1064?
CVE-2022-1064 is a critical SQL injection vulnerability in forkcms/forkcms, published on 25 Mar 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
SQL injection through marking blog comments on bulk as spam in GitHub repository forkcms/forkcms prior to 5.11.1.
Weakness: CWE-89
Which versions are affected by CVE-2022-1064?
2 open source packages ship an affected version, including forkcms/forkcms. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
forkcms/forkcms Packagist | All versions | 5.11.1 |
forkcms/forkcms Packagist | All versions | 5.11.1 |
Products include Fork-Cms Fork Cms.
How do I fix CVE-2022-1064?
Upgrade forkcms/forkcms to 5.11.1 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-2022-1064 being exploited?
There is no known exploitation of CVE-2022-1064 in the wild and no public exploit code.
Other vulnerabilities in forkcms/forkcms
Sources
Also known as GHSA-rr8m-29g8-8cgc.