CVE-2021-42258 BQE BillQuick Web Suite SQL Injection
Unauthenticated SQL injection in BQE BillQuick Web Suite allows remote code execution and ransomware installation via xp_cmdshell.
- Exploited in the wild
- Since 3 Nov 2021
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-42258?
CVE-2021-42258 is a critical SQL injection vulnerability in n/a, published on 22 Oct 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
BQE BillQuick Web Suite 2018 through 2021 before 22.0.9.1 allows SQL injection for unauthenticated remote code execution, as exploited in the wild in October 2021 for ransomware installation. SQL injection can, for example, use the txtID (aka username) parameter. Successful exploitation can include the ability to execute arbitrary code as MSSQLSERVER$ via xp_cmdshell.
Weakness: CWE-89
Which versions are affected by CVE-2021-42258?
It affects 1 product.
Products include Bqe Billquick Web Suite.
How do I fix CVE-2021-42258?
No fix has been published for CVE-2021-42258 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 17 Nov 2021.
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-42258 being exploited?
Yes. Attackers have exploited CVE-2021-42258 in the wild since at least 3 Nov 2021, including in ransomware campaigns.
Public exploit code: 1 Metasploit module and 1 Nuclei template.
Sources
Also known as GHSA-69qp-6hh5-mpjp.