Hibernate page evidence does not prove that JSON HQL functions are enabled
Hibernate page evidence does not prove that JSON HQL functions are enabled Hibernate ORM is a library inside Java applications, not a service that usually advertises a version on the network. A ZoomEye query can find p
Hibernate page evidence does not prove that JSON HQL functions are enabled
Hibernate ORM is a library inside Java applications, not a service that usually advertises a version on the network. A ZoomEye query can find public references to Hibernate, but it cannot establish that an application uses the vulnerable json_* functions or accepts untrusted path input. The count is an application-discovery lead.
Query and observation
The count-only query was:
(http.body="Hibernate ORM" || http.header="Hibernate" || title="Hibernate")
ZoomEye used sub_type=all, page 1 and page size 1. At 2026-12-04T00:44:20.616372Z, it observed 1,648 records.
The query may match documentation, error pages, framework examples and deployed services. It does not identify the Hibernate release or the database product. MySQL and MariaDB are part of the vulnerable path, so the database backend needs its own inventory.
Mapping the application stack
Start with Java services owned by the organization and inspect their dependency locks. Hibernate 7.x configurations should be checked for hibernate.query.hql.json_functions_enabled. The vendor states that the default is false in the affected line, but an application may have enabled the feature deliberately.
Search source for HQL JSON functions and trace how the path parameter is built. A hardcoded path is different from a path assembled from a user request. If the path is dynamic, verify that the application restricts it to an explicit allowlist. Database accounts should not have permissions beyond the application's normal data set.
Monitoring and validation
After deployment, run application tests with ordinary and rejected paths. Confirm that a rejected path cannot alter the generated SQL. Database query logs may contain the transformed statement, but a connection pool or managed database service may expose only a fingerprint.
Use ZoomEye to track public applications that begin to expose Hibernate diagnostics or debug pages. Those pages can leak configuration and should be removed for reasons beyond this CVE. A public page match is not a substitute for package scanning.
Conclusion
The 1,648 observed records indicate a visible Hibernate reference footprint, not a vulnerable application count. The decisive evidence is the Hibernate version, MySQL or MariaDB use, whether JSON HQL functions are enabled and whether an attacker can influence path parameters.
References
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.