Junglewise Threat Intelligence

CVE-2025-45868: LogicalDOC Enterprise blind SQL injection in ComparisonServlet

CVE-2025-45868 · Severity: info · CVSS 6.5 · Published 2026-07-16

Technologies: LogicalDOC Enterprise. Vendors: LogicalDOC.

Executive brief

LogicalDOC Enterprise, a document management system used by organizations to store and organize digital files, is affected by a security vulnerability in its document comparison feature. An authorized user can send specially crafted requests to the system to trick the database into revealing sensitive information character by character. This could allow an attacker to extract confidential data such as usernames, email addresses, or password hashes, potentially leading to a broader breach of the system.

Technical details

A boolean-based blind SQL injection vulnerability exists in the ComparisonServlet component of LogicalDOC Enterprise (<= 9.1.1) via the /compare endpoint. The application fails to properly sanitize or parameterize the 'fileVersion1' and 'fileVersion2' parameters before incorporating them into a Hibernate Query Language (HQL) statement. Because the HQL is translated into SQL, an authenticated attacker can inject malicious expressions. The vulnerability is exploitable via a boolean side channel: valid queries return a generated PDF comparison, while failed conditions return an error, allowing for the exfiltration of database contents such as password hashes and user records. The vendor has indicated a fix will be available in version 9.2.

Affected products

  • LogicalDOC LogicalDOC Enterprise <= 9.1.1

Timeline

  • 2026-07-16: disclosed: Initial disclosure of CVE-2025-45868
  • 2026-07-16: advisory: NVD publication date

References

Related threats