H2 Console Web Login Panel - Detect
ID: h2console-panel
Severity: info
Author: righettod
Tags: panel,h2,console,h2database
Description
Section titled “Description”H2 Console Web login panel was detected.
YAML Source
Section titled “YAML Source”id: h2console-panel
info: name: H2 Console Web Login Panel - Detect author: righettod severity: info description: H2 Console Web login panel was detected. reference: - https://mp.weixin.qq.com/s/Yn5U8WHGJZbTJsxwUU3UiQ - https://jfrog.com/blog/the-jndi-strikes-back-unauthenticated-rce-in-h2-database-console classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N cwe-id: CWE-200 cpe: cpe:2.3:a:h2database:h2:*:*:*:*:*:*:*:* metadata: max-request: 1 vendor: h2database product: h2 shodan-query: - http.title:"H2 Console" - http.title:"h2 console" - cpe:"cpe:2.3:a:h2database:h2" fofa-query: title="h2 console" google-query: intitle:"h2 console" tags: panel,h2,console,h2database
http: - method: GET path: - '{{BaseURL}}/h2-console/login.jsp'
matchers: - type: dsl dsl: - "status_code==200" - "contains(tolower(body), '<title>h2 console</title>')" condition: and# digest: 4a0a00473045022100cc266182f36a5238097d1c374ea76eb28c202f65db1e42ec1c3aef8668df173f02202efe4fff6c6fb8436906ce96660ec093b70ef6a3c349d07950be952490cce141:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/exposed-panels/h2console-panel.yaml"