SYM_GEN_0161 - SymbioticSec/Symbiotic-Vulnerability-Database GitHub Wiki

Use of Hard-coded Credentials

Property Value
Language regex
Severity low
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 API key was found hard-coded in the source code. Storing credentials directly in code makes them easy to accidentally share or expose, increasing the risk of unauthorized access.

Impact

If an attacker obtains this API key, they could access sensitive Grafana data, modify dashboards, or escalate their privileges within your monitoring environment. This could lead to data breaches, service disruptions, or misuse of your infrastructure.