High severityJavaInsecure ConfigurationHIGH confidence
H2 Console Enabled
The Spring Boot H2 web console is enabled (spring.h2.console.enabled=true, CWE-16).
Standards mapping
- OWASP Top 10
- A05:2021 - Security Misconfiguration
- OWASP ASVS
- V14.3.2 (L1)
Vulnerable vs. safe
Flagged by this check
// spring.h2.console.enabled=truePasses - the safe pattern
// spring.h2.console.enabled=falseWhy it matters & how to fix it
The Spring Boot H2 web console is enabled (spring.h2.console.enabled=true, CWE-16). The console is an unauthenticated, framed web app that can execute arbitrary SQL and has a history of RCE. Never enable it in non-local environments; remove this setting from any shipped/production profile.
References
Rule ID integsec-java-h2-console-enabled - engine: Opengrep - license: MIT - Copyright (c) IntegSec Inc.
TurboPentest runs this check automatically
Connect a GitHub repo and this check runs on every white-box pentest - AI-validated and reported with proof, from $99 per target.
Start a pentestRelated checks
- JavaScript / TypeScript - Insecure ConfigurationCORS Acao Wildcard Header
- JavaScript / TypeScript - Insecure ConfigurationCORS Wildcard Origin
- JavaScript / TypeScript - Insecure ConfigurationCORS Wildcard With Credentials
- JavaScript / TypeScript - Insecure ConfigurationCSRF Protection Disabled
- JavaScript / TypeScript - Insecure ConfigurationExpress Trust Proxy All
- JavaScript / TypeScript - Insecure ConfigurationExpress X Powered By Enabled