Advisories

SQLBot before 1.10.4 Hard-Coded AES Key Exposes Datasource Credentials

Go back
Severity
medium
Date
Affecting
  • SQLBot < 1.10.4

CWE
  • CWE-321 Use of Hard-coded Cryptographic Key
CVSS
5.9
CVSS V4 Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Credit
George Chen, junjun
Description
SQLBot before 1.10.4 contains a hard-coded cryptographic key vulnerability that allows attackers to decrypt stored datasource credentials using a static AES key in backend/apps/datasource/utils/utils.py. Attackers who obtain core_datasource configuration values from backups, exports, or other disclosures can decrypt the AES-128 ECB data to recover plaintext database hosts, usernames, and passwords.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.