CVE-2023-27095: Hippo4j core Exposure Of Sensitive Information Vulnerability

MODERATE
Advisory Identifier: GHSA-xg89-vvwp-9c27
CVSS 6.5
CWE-732 CWE-200
Published
Advisory Summary

CVE-2023-27095 is a MODERATE (CVSS 6.5) exposure of sensitive information vulnerability (CWE-732: Incorrect Permission Assignment for Critical Resource) affecting Hippo4j core libraries in the Maven ecosystem. The issue involves exposure of sensitive information in opengoofy hippo4j. Remediation is available in the latest vendor maintenance releases.

CVE-2023-27095 at a Glance

CVE Identifier CVE-2023-27095
GHSA Identifier GHSA-xg89-vvwp-9c27
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-732: Incorrect Permission Assignment for Critical Resource
Affected Product Hippo4j core
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2023-27095

To remediate this vulnerability, upgrade all affected Hippo4j core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

cn.hippo4j:hippo4j-core fixed: Latest secure release
<dependency>
    <groupId>cn.hippo4j</groupId>
    <artifactId>hippo4j-core</artifactId>
    <version>Latest secure release</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=cn.hippo4j

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2023-27095, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=cn.hippo4j

Analyze the terminal output to locate any version of Hippo4j core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree -Dincludes=cn.hippo4j command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-732: Incorrect Permission Assignment for Critical Resource, where the product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors. In Hippo4j core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Insecure Permissions vulnerability found in OpenGoofy Hippo4j v.1.4.3 allows attacker toescalate privileges via the AddUser method of the UserController function in Tenant Management module.

CVE-2023-27095 Affected Hippo4j core Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
cn.hippo4j:hippo4j-core
Maven
≤ 1.4.3

References

Frequently Asked Questions

What is CVE-2023-27095?
CVE-2023-27095 is a security vulnerability in Hippo4j core involving Exposure of Sensitive Information in OpenGoofy Hippo4j under CWE-732: Incorrect Permission Assignment for Critical Resource.
Which Hippo4j core versions are affected?
Affected versions include releases prior to current release patches across affected packages: cn.hippo4j:hippo4j-core.
What version fixes CVE-2023-27095?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is hippo4j-core affected?
Yes, cn.hippo4j:hippo4j-core is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2023-27095?
CVE-2023-27095 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2023-27095?
CVE-2023-27095 is classified under CWE-732: Incorrect Permission Assignment for Critical Resource (The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.).
How can I check Maven dependencies for CVE-2023-27095?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=cn.hippo4j'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-xg89-vvwp-9c27",
  "modified" : "2023-03-21T18:59:51Z",
  "published" : "2023-03-16T03:30:16Z",
  "aliases" : [ "CVE-2023-27095" ],
  "summary" : "Exposure of Sensitive Information in OpenGoofy Hippo4j",
  "details" : "Insecure Permissions vulnerability found in OpenGoofy Hippo4j v.1.4.3 allows attacker toescalate privileges via the AddUser method of the UserController function in Tenant Management module.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "cn.hippo4j:hippo4j-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "1.4.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-27095"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/opengoofy/hippo4j/issues/1061"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200", "CWE-732" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-03-16T18:35:22Z",
    "nvd_published_at" : "2023-03-16T02:15:00Z"
  }
}