CVE-2021-45821 json
A blind SQL injection vulnerability exists in Xbtit 3.1 via the sid parameter in ajaxchat/getHistoryChatData.php file that is accessible by…
published 4y ago modified 4mo ago also EUVD-2021-32539
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.7%
- EPSS 2.7% chance of exploitation in 30 days, percentile 85%
- public exploits
- 0
- none known
Summary
A blind SQL injection vulnerability exists in Xbtit 3.1 via the sid parameter in ajaxchat/getHistoryChatData.php file that is accessible by a registered user. As a result, a malicious user can extract sensitive data such as usernames and passwords and in some cases use this vulnerability in order to get a remote code execution on the remote web server.
Is CVE-2021-45821 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
2.68% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/btiteam/xbtit-3.1/blob/master/ajaxchat/getHistoryChatData.php referenced PoC, tagged "exploit" by a source, unverified
- emaragkos.gr https://emaragkos.gr/infosec-adventures/xbtit-3-1-sql-njection/ referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/btiteam/xbtit-3.1/issues/6 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/btiteam/xbtit-3.1/blob/master/ajaxchat/getHistoryChatData.php
exploit, third-party-advisory
-
emaragkos.gr
/infosec-adventures/xbtit-3-1-sql-njection/
exploit, third-party-advisory
-
github.com
/btiteam/xbtit-3.1/issues/6
exploit, third-party-advisory
Sources
- CVE List CVE-2021-45821
- NVD CVE-2021-45821
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.