vetkit.spring.h2.console-remote-access-yaml
The H2 web console accepts connections from other hosts (web-allow-others: true). The console can run arbitrary SQL and Java code, so anyone who reaches it can take over the server.
Last updated:
Suite: Security
yaml
The H2 web console accepts connections from other hosts (web-allow-others: true). The console can run arbitrary SQL and Java code, so anyone who reaches it can take over the server.
Category: SECURITY · Engine rule severity: ERROR
How to fix it
Remove web-allow-others and disable the H2 console (spring.h2.console.enabled: false) outside local development.
References
Source: packages/engine/rules/sast/config.yml.
Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.