CVE-2024-7096: Am parent WSO2 Products Vulnerable To Privilege Vulnerability

MODERATE
Advisory Identifier: GHSA-j63j-7r7r-5v4j
CVSS 4.2
CWE-863
Published
Advisory Summary

CVE-2024-7096 is a MODERATE (CVSS 4.2) wso2 products vulnerable to privilege vulnerability (CWE-863: Incorrect Authorization) affecting Am parent libraries in the Maven ecosystem. The issue involves wso2 products vulnerable to privilege escalation due to business logic flaw in soap admin services. Remediation is available by upgrading affected packages to version 4.4.0, 7.1.0.

CVE-2024-7096 at a Glance

CVE Identifier CVE-2024-7096
GHSA Identifier GHSA-j63j-7r7r-5v4j
Severity MODERATE
CVSS v3.1 Base Score 4.2
CWE Classification CWE-863: Incorrect Authorization
Affected Product Am parent
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 4.2

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

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

How to Fix CVE-2024-7096

To remediate this vulnerability, upgrade all affected Am parent 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.wso2.am:am-parent fixed: 4.4.0
<dependency>
    <groupId>org.wso2.am</groupId>
    <artifactId>am-parent</artifactId>
    <version>4.4.0</version>
</dependency>
org.wso2.is:identity-server-parent fixed: 7.1.0
<dependency>
    <groupId>org.wso2.is</groupId>
    <artifactId>identity-server-parent</artifactId>
    <version>7.1.0</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.wso2.am

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.wso2.am

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

Note: The mvn dependency:tree -Dincludes=org.wso2.am 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-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Am parent, 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 privilege escalation vulnerability exists in multiple WSO2 products due to a business logic flaw in SOAP admin services. A malicious actor can create a new user with elevated permissions only when all of the following conditions are met: * SOAP admin services are accessible to the attacker. * The deployment includes an internally used attribute that is not part of the default WSO2 product configuration. * At least one custom role exists with non-default permissions. * The attacker has knowledge of the custom role and the internal attribute used in the deployment. Exploiting this vulnerability allows malicious actors to assign higher privileges to self-registered users, bypassing intended access control mechanisms.

CVE-2024-7096 Affected Am parent Versions

2 component(s)
Fixed Versions:
4.4.07.1.0
Product / Package Ecosystem Affected Versions Fixed Version
org.wso2.am:am-parent
Maven
≥ 2.0.0
< 4.4.0
4.4.0
org.wso2.is:identity-server-parent
Maven
≥ 5.2.0
< 7.1.0
7.1.0

References

Frequently Asked Questions

What is CVE-2024-7096?
CVE-2024-7096 is a security vulnerability in Am parent involving WSO2 products vulnerable to privilege escalation due to business logic flaw in SOAP admin services under CWE-863: Incorrect Authorization.
Which Am parent versions are affected?
Affected versions include releases prior to 4.4.0, 7.1.0 across affected packages: org.wso2.am:am-parent, org.wso2.is:identity-server-parent.
What version fixes CVE-2024-7096?
Upgrading to 4.4.0, 7.1.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is am-parent affected?
Yes, org.wso2.am:am-parent is affected in releases prior to 4.4.0. Upgrade your dependency to 4.4.0 or later.
Is identity-server-parent affected?
Yes, org.wso2.is:identity-server-parent is affected in releases prior to 7.1.0. Upgrade your dependency to 7.1.0 or later.
What is the CVSS score of CVE-2024-7096?
CVE-2024-7096 has a CVSS v3.1 base score of 4.2 (MODERATE) with vector string CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2024-7096?
CVE-2024-7096 is classified under CWE-863: Incorrect Authorization (The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.).
How can I check Maven dependencies for CVE-2024-7096?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.wso2.am'. 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-j63j-7r7r-5v4j",
  "modified" : "2025-06-04T23:10:09Z",
  "published" : "2025-05-30T15:30:31Z",
  "aliases" : [ "CVE-2024-7096" ],
  "summary" : "WSO2 products vulnerable to privilege escalation due to business logic flaw in SOAP admin services",
  "details" : "A privilege escalation vulnerability exists in multiple WSO2 products due to a business logic flaw in SOAP admin services. A malicious actor can create a new user with elevated permissions only when all of the following conditions are met:\n  *  SOAP admin services are accessible to the attacker.\n  *  The deployment includes an internally used attribute that is not part of the default WSO2 product configuration.\n  *  At least one custom role exists with non-default permissions.\n  *  The attacker has knowledge of the custom role and the internal attribute used in the deployment.\n\n\nExploiting this vulnerability allows malicious actors to assign higher privileges to self-registered users, bypassing intended access control mechanisms.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.wso2.am:am-parent"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0"
      }, {
        "fixed" : "4.4.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 4.3.0"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.wso2.is:identity-server-parent"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.2.0"
      }, {
        "fixed" : "7.1.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 7.0.0"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-7096"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wso2/docs-security/blob/cfd53689909eef62fc5427e193e35e7df8ab1ef8/en/docs/security-announcements/security-advisories/2024/WSO2-2024-3573.md"
  }, {
    "type" : "WEB",
    "url" : "https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2024/WSO2-2024-3573"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-863" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-06-04T23:09:07Z",
    "nvd_published_at" : "2025-05-30T15:15:40Z"
  }
}