CVE-2023-4061: Wildfly controller Wildfly-core Exposure Of Sensitive Information Vulnerability

MODERATE
Advisory Identifier: GHSA-26qx-4m49-6cfr
CVSS 6.5
CWE-200
Published
Advisory Summary

CVE-2023-4061 is a MODERATE (CVSS 6.5) wildfly-core exposure of sensitive information vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Wildfly controller libraries in the Maven ecosystem. The issue involves wildfly-core exposure of sensitive information to an unauthorized actor vulnerability. Remediation is available by upgrading affected packages to version 22.0.0.Final.

CVE-2023-4061 at a Glance

CVE Identifier CVE-2023-4061
GHSA Identifier GHSA-26qx-4m49-6cfr
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Wildfly controller
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:N/I:H/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 None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2023-4061

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

org.wildfly.core:wildfly-controller fixed: 22.0.0.Final
<dependency>
    <groupId>org.wildfly.core</groupId>
    <artifactId>wildfly-controller</artifactId>
    <version>22.0.0.Final</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=org.wildfly.core

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.wildfly.core

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

Note: The mvn dependency:tree -Dincludes=org.wildfly.core 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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Wildfly controller, 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

A flaw was found in wildfly-core. A management user could use the resolve-expression in the HAL Interface to read possible sensitive information from the Wildfly system. This issue could allow a malicious user to access the system and obtain possible sensitive information from the system.

CVE-2023-4061 Affected Wildfly controller Versions

1 component(s)
Fixed Versions:
22.0.0.Final
Product / Package Ecosystem Affected Versions Fixed Version
org.wildfly.core:wildfly-controller
Maven
< 22.0.0.Final
22.0.0.Final

References

Frequently Asked Questions

What is CVE-2023-4061?
CVE-2023-4061 is a security vulnerability in Wildfly controller involving wildfly-core Exposure of Sensitive Information to an Unauthorized Actor vulnerability under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Wildfly controller versions are affected?
Affected versions include releases prior to 22.0.0.Final across affected packages: org.wildfly.core:wildfly-controller.
What version fixes CVE-2023-4061?
Upgrading to 22.0.0.Final (or the latest patched release for your respective branch) resolves the vulnerability.
Is wildfly-controller affected?
Yes, org.wildfly.core:wildfly-controller is affected in releases prior to 22.0.0.Final. Upgrade your dependency to 22.0.0.Final or later.
What is the CVSS score of CVE-2023-4061?
CVE-2023-4061 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:N/I:H/A:N.
What CWE is associated with CVE-2023-4061?
CVE-2023-4061 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check Maven dependencies for CVE-2023-4061?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.wildfly.core'. 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-26qx-4m49-6cfr",
  "modified" : "2023-11-08T17:47:19Z",
  "published" : "2023-11-08T03:30:32Z",
  "aliases" : [ "CVE-2023-4061" ],
  "summary" : "wildfly-core Exposure of Sensitive Information to an Unauthorized Actor vulnerability",
  "details" : "A flaw was found in wildfly-core. A management user could use the resolve-expression in the HAL Interface to read possible sensitive information from the Wildfly system. This issue could allow a malicious user to access the system and obtain possible sensitive information from the system.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.wildfly.core:wildfly-controller"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "22.0.0.Final"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-4061"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wildfly/wildfly-core/pull/5703"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wildfly/wildfly-core/commit/25728f370c2e90969854717ba4bb5182727f3f49"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2023:5484"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2023:5485"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2023:5486"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2023:5488"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2023-4061"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2228608"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/wildfly/wildfly-core"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-11-08T17:47:19Z",
    "nvd_published_at" : "2023-11-08T01:15:08Z"
  }
}