S4E just found a high-severity finding from top 10 tcp port service scan
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
medium·Misconfiguration·Updated Aug 30, 2026

Grafana Loki API Exposure Scanner

This scanner detects the use of Grafana Loki API Exposure in digital assets.

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsurl
CostFree
3
Times Used
continuous scan runs
4.8k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
Detail

Grafana Loki is a horizontally scalable, highly available log aggregation system, inspired by Prometheus. It is used by organizations and developers for modern log collection across various environments. Known for its efficiency and integration capabilities, Loki is often deployed within cloud infrastructures and microservices architectures. Developers rely on Loki to streamline log processing and querying. By facilitating the aggregation of logs, Loki supports comprehensive system monitoring and troubleshooting. Given its robust usability, Loki forms a critical part of many application stacks.

The vulnerability detected concerns the default configuration of Grafana Loki, where authentication is disabled unless explicitly enabled or managed through a reverse-proxy/gateway. This configuration exposes the HTTP API to potential unauthorized access. When not properly secured, this vulnerability allows anyone to access and manipulate logs. It poses significant risks due to the potential leakage of sensitive information contained in log streams. Unauthorized access to logs can lead to information disclosure, resulting in a range of security challenges.

Technical details involve the unsecured HTTP API of Grafana Loki, which can be accessed without authentication. The endpoints exposed include '/loki/api/v1/labels', among others. Accessing these endpoints with the "status":"success" response confirms the presence of the vulnerability. This potential exposure primarily affects internet-facing Loki instances lacking additional authentication layers. The vulnerability extends to the read and potentially write operations on log streams via the API. As sensitive data can often be part of the logs, ensuring secure access controls is critical.

When exploited, this vulnerability may lead to unauthorized information exposure, data leakage, and potential manipulation of log files. Attackers can exploit the exposed API to extract sensitive information contained in logs. This situation can escalate to further attacks such as reconnaissance of the internal systems, or exploiting information for logistics in compromising systems. Ultimately, the leverage gained from accessing sensitive information could cause financial, reputational, and operational damage.

REFERENCES

Solution Advice
  • Enable authentication by configuring the 'auth_enabled' setting to true in Grafana Loki settings.
  • Implement a reverse-proxy or gateway with authentication layers in front of Loki instances.
  • Restrict API access to trusted networks and ensure proper network segmentation.
  • Regularly review and monitor log access and track unauthorized access attempts.
  • Educate team members on secure deployment practices and update documentation accordingly.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.