CVE-2021-40961 SQL injection in n/a
An attacker can inject arbitrary SQL commands via the sortby parameter in the News module, potentially reading or modifying database contents.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-40961?
CVE-2021-40961 is a high-severity SQL injection vulnerability in Cmsmadesimple Cms Made Simple, published on 9 Jun 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
CMS Made Simple <=2.2.15 is affected by SQL injection in modules/News/function.admin_articlestab.php. The $sortby variable is concatenated with $query1, but it is possible to inject arbitrary SQL language without using the '.
Weakness: CWE-89
Which versions are affected by CVE-2021-40961?
It affects 1 product.
Products include Cmsmadesimple Cms Made Simple.
How do I fix CVE-2021-40961?
No fix has been published for CVE-2021-40961 yet. Limit exposure of the affected software until one is available.
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-40961 being exploited?
There is no known exploitation of CVE-2021-40961 in the wild and no public exploit code.
Other vulnerabilities in Cmsmadesimple Cms Made Simple
Sources
Also known as GHSA-vwqp-gjpc-g89c.