SYM_GEN_0251 - 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 Grafana Cloud API token appears to be hard-coded directly in the source code. Storing credentials in code makes them easy to accidentally expose, especially if the code is shared or published.
Impact
If an attacker gains access to this token, they could potentially access or manipulate your Grafana Cloud resources, leading to data breaches, unauthorized changes, or service disruptions. This could compromise sensitive monitoring data and impact system integrity.