S4E just found a high-severity finding from top 10 tcp port service scan
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
medium·Product Based Web Vulnerabilities·Updated Nov 11, 2025

CockroachDB Information Disclosure Scanner

This scanner detects the use of CockroachDB Information Disclosure in digital assets. Non-admin users can see SQL text executed across the cluster due to exposure of certain UI pages and endpoints. It helps in identifying inappropriate access to SQL execution details in CockroachDB environments.

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

CockroachDB is a cloud-native, distributed SQL database system designed for high availability and scalability. It is commonly used by organizations that require robust data handling capabilities and seamless horizontal scaling across multiple regions. This database system is frequently utilized in industries such as financial services, ecommerce, and SaaS applications, ensuring transactional consistency and resilience against failures. The use of CockroachDB helps in achieving consistent and secure data operations across decentralized infrastructures. Organizations leverage CockroachDB's architecture to handle intensive OLTP workloads while providing flexibility for integration with various platforms. The software caters to enterprises needing reliable performance and easy operational management.

The CockroachDB Information Disclosure vulnerability allows non-admin users, and in some instances unauthenticated users, to access sensitive SQL execution details. This is due to improper access controls on specific UI pages and HTTP endpoints. Consequently, it creates a risk where unauthorized individuals can view SQL queries executed across the database cluster. This exposure enables potential attackers to gain insights into the database schema, query patterns, and sensitive datasets. Identifying and addressing this vulnerability is important to prevent unauthorized data access and ensure compliance with security policies. This vulnerability is critical for organizations relying on CockroachDB for their data storage and processing needs.

The vulnerability details indicate that the Statements Admin UI page and the HTTP endpoint /_status/statements are accessible to non-admin users. Specifically, these endpoints reveal SQL text and execution statistics when accessed without proper authorization. The /_status/statements endpoint returns data like query plans, statistics, and other execution-related information. This vulnerability is a result of misconfiguration, where inadequate restrictions allow unwarranted access. To exploit, an attacker would typically access these pages directly, potentially bypassing usual authentication mechanisms. The vulnerability might allow data scraping or exposure of proprietary query structures.

Exploiting this vulnerability could lead to unauthorized access to sensitive database information, thereby assisting in subsequent attacks such as SQL injection or further reconnaissance. Malicious users could harvest data regarding database queries and operations, undermining the security of stored information. Additionally, exposed SQL queries might contain sensitive business logic or data identifiers, exacerbating the risk of data breach. Without remediation, attackers could routinely revisit the exposed endpoints for information gathering. Organizations could face compliance issues and reputational damage due to information leakage through this vulnerability.

REFERENCES

Solution Advice
  • Restrict access to administrative endpoints like /_status/statements to authorized users only.
  • Implement robust authentication and authorization mechanisms for CockroachDB interfaces.
  • Ensure sensitive pages and API endpoints are accessible solely over secure connections (HTTPS).
  • Conduct regular security audits and vulnerability assessments to identify and mitigate such exposures.
  • Consider deploying network security measures like firewalls to minimize exposure of critical database pages.

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.

CockroachDB Information Disclosure Scanner | S4E