External risk intelligence

JimuReport H2 JDBC URL Remote Code Execution

CVE advisorySeverity: CRITICAL (CVSS 9.8)

CVE-2025-66913

JimuReport is a reporting and dashboarding tool typically deployed as a web application. Such applications are commonly exposed as internet-facing services to allow users to generate, view, and manage reports, making the underlying JDBC connection configuration reachable in many standard web deployment patterns.

Code Injection

Jeecg Jimureport

2.1.3 and earlier

Halo Surface Signal: 4 out of 5 — likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

This critical vulnerability in JimuReport allows remote code execution by processing specially crafted H2 JDBC URLs. This could enable attackers to run arbitrary Java code on affected systems without any user interaction, posing a significant security risk.

  • Remote code execution via malicious URLs.
  • Critical vulnerability impacts reporting tools.
  • Confirm relevance and exposure of JimuReport.

Attack Path

How an attacker could exploit the issue

An attacker can remotely execute arbitrary Java code by submitting a specially crafted H2 JDBC URL to the JimuReport application. This occurs because the application directly uses user-supplied URLs with the H2 driver, bypassing security checks and allowing the execution of malicious directives.

  • No authentication or user interaction required.
  • Vulnerable component: H2 JDBC URL processing.
  • Risk: Remote code execution.

Live Threat

Current exploitation, exposure, and threat context

When JimuReport processes user-controlled H2 JDBC URLs, it may allow for remote code execution. This could affect the application's service behavior and any sensitive information it can access when the application passes the attacker-supplied JDBC URL directly to the H2 driver and the necessary directives are used.

  • Arbitrary Java code execution.
  • Network access can exploit it.
  • Compromise of the reporting service.

Operational Fix

Recommended remediation, mitigation, and detection steps

The application owner is responsible for JimuReport, a reporting and dashboarding tool that can be exposed as an internet-facing service. The initial step is to identify all instances of JimuReport, confirm their exposure and criticality, and then coordinate remediation with the platform or infrastructure team, and potentially the vendor management team if a vendor-supplied product.

  • Confirm JimuReport instances and exposure.
  • Identify accountable application owners.
  • Plan remediation based on identified risk.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is JimuReport?

JimuReport is a Java-based reporting and dashboarding tool. Organizations use it to design, generate, and manage data reports and interactive dashboards. Because it is designed to display data, it is often deployed as a web application where users can interact with reporting interfaces directly through their browsers.

What does CVE-2025-66913 mean?

This vulnerability is classified as CWE-94, which refers to improper control of generation of code. In the context of CVE-2025-66913, JimuReport fails to safely handle input provided by a user when connecting to a database. Because the application passes this input directly to the H2 database driver, an attacker can use specific URL commands to trick the software into executing unauthorized Java code on the underlying server.

How is this vulnerability triggered?

An attacker triggers this flaw by providing a specially crafted JDBC connection string containing malicious directives to the application. The vulnerability requires the application to process this user-supplied URL directly. It is not triggered by standard usage of the reporting interface that does not involve the vulnerable database connection processing logic.

Is my instance of JimuReport at risk?

According to Halo Surface Signal, JimuReport is frequently deployed as an internet-facing web service to facilitate report access, which significantly increases the risk profile for this vulnerability. If your instance is reachable over the network, it is a primary concern, as the flaw allows remote execution without requiring authentication or user interaction.

Do I need to take action if I use JimuReport?

Yes. First, locate all active instances of JimuReport within your environment to determine which versions are running, as the vulnerability affects version 2.1.3 and earlier. Once identified, coordinate with your infrastructure or platform teams to prioritize remediation and restrict network access while awaiting vendor guidance.

References