SYM_GEN_0241 - SymbioticSec/Symbiotic-Vulnerability-Database GitHub Wiki
Use of Hard-coded Credentials
Property | Value |
---|---|
Language | regex |
Severity | |
CWE | CWE-798: Use of Hard-coded Credentials |
OWASP | A07:2021 - Identification and Authentication Failures |
Confidence Level | Low |
Impact Level | Medium |
Likelihood Level | Low |
Description
A Square API access token was found hard-coded in the source code. Storing credentials directly in code makes them easily accessible to anyone with code access, increasing the risk of unauthorized use.
Impact
If attackers obtain the exposed access token, they could interact with your Square account, potentially making unauthorized transactions, accessing sensitive data, or causing financial loss. This could lead to account compromise, data breaches, and reputational damage to your organization.