SYM_GEN_0210 - 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 service account token was found hard-coded in the source code. Storing credentials directly in code exposes them to anyone with access to the repository, increasing the risk of leaks.

Impact

If an attacker obtains this token, they could access or control Grafana services, potentially viewing sensitive dashboards, modifying configurations, or escalating privileges. This can lead to data breaches, unauthorized changes, and compromise of monitoring infrastructure.