Vulnerability record · CVE-2021-42258 · published 22 October 2021
CVE-2021-42258: BQE BillQuick Web Suite SQL injection allows unauthenticated remote code execution
Bqe · Billquick Web Suite
BQE BillQuick Web Suite 2018 through 2021 before 22.0.9.1 is vulnerable to SQL injection in the txtID (username) parameter, allowing unauthenticated attackers to execute arbitrary code. The flaw was exploited in the wild in October 2021 to install ransomware, making it a high-risk issue for exposed billing systems.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Automated analysis
critical priorityUnauthenticated remote code execution with confirmed in-the-wild exploitation for ransomware and a CVSS score of 9.8.
What it is
BQE BillQuick Web Suite 2018 through 2021 before 22.0.9.1 is vulnerable to SQL injection in the txtID (username) parameter, allowing unauthenticated attackers to execute arbitrary code. The flaw was exploited in the wild in October 2021 to install ransomware, making it a high-risk issue for exposed billing systems.
Impact
An attacker can execute arbitrary code as the MSSQLSERVER$ service account via xp_cmdshell, leading to full system compromise. This access was used in real attacks to deploy ransomware.
Attack surface
The vulnerability is reachable over the network through the web interface, requiring no authentication or user interaction. The CVSS vector confirms AV:N/AC:L/PR:N/UI:N.
Exploitation
Exploitation is confirmed in the wild: CISA KEV lists it with known ransomware campaign use, and EPSS probability is 0.744 (99.5th percentile). Reference tags include Exploit and Third Party Advisory.
What to do
- Apply the vendor update to BillQuick Web Suite version 22.0.9.1 or later immediately.
- If patching is not possible, isolate the web suite from untrusted networks and restrict access to trusted IPs.
- Disable or restrict xp_cmdshell in the underlying MSSQL server to limit post-exploitation capabilities.
- Monitor for and block SQL injection attempts targeting the txtID parameter at the web application firewall.
- Review MSSQLSERVER$ service account permissions and apply least privilege.
Detection
- Inspect web server logs for requests containing SQL injection patterns in the txtID parameter (e.g., quotes, UNION, xp_cmdshell).
- Monitor MSSQL logs for xp_cmdshell execution or unusual stored procedure calls.
- Hunt for unexpected child processes spawned by the MSSQLSERVER$ service account, such as cmd.exe or PowerShell.
- Use file integrity monitoring to detect unauthorized changes to BillQuick Web Suite files or new binaries in web directories.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Exploitation in the wild
CISA added CVE-2021-42258 to the Known Exploited Vulnerabilities catalog on 3 November 2021 as "BQE BillQuick Web Suite SQL Injection Vulnerability". CISA reports known use in ransomware campaigns. Required action: Apply updates per vendor instructions. Federal deadline 17 November 2021.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://www.huntress.com/blog/threat-advisory-hackers-are-exploiting-a-vulnerability-in-popular-billing-software-to-depl | ExploitThird Party Advisory |
| https://www.huntress.com/blog/threat-advisory-hackers-are-exploiting-a-vulnerability-in-popular-billing-software-to-depl | ExploitThird Party Advisory |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-42258 | US Government Resource |
Track CVE-2021-42258 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-42258), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.