CVE-2018-11041: Cloudfoundry identity server Cloud Foundry UAA Open Redirect Vulnerability

MODERATE
Advisory Identifier: GHSA-xh4m-99qp-w483
CVSS 6.1
CWE-601
Published
Advisory Summary

CVE-2018-11041 is a MODERATE (CVSS 6.1) cloud foundry uaa open redirect vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Cloudfoundry identity server libraries in the Maven ecosystem. The issue involves cloud foundry uaa open redirect. Remediation is available by upgrading affected packages to version 4.7.5, 4.10.1, 4.12.3, 4.19.0.

CVE-2018-11041 at a Glance

CVE Identifier CVE-2018-11041
GHSA Identifier GHSA-xh4m-99qp-w483
Severity MODERATE
CVSS v3.1 Base Score 6.1
CWE Classification CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
Affected Product Cloudfoundry identity server
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 6.1

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

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

How to Fix CVE-2018-11041

To remediate this vulnerability, upgrade all affected Cloudfoundry identity server 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.cloudfoundry.identity:cloudfoundry-identity-server fixed: 4.7.5
<dependency>
    <groupId>org.cloudfoundry.identity</groupId>
    <artifactId>cloudfoundry-identity-server</artifactId>
    <version>4.7.5</version>
</dependency>
org.cloudfoundry.identity:cloudfoundry-identity-server fixed: 4.10.1
<dependency>
    <groupId>org.cloudfoundry.identity</groupId>
    <artifactId>cloudfoundry-identity-server</artifactId>
    <version>4.10.1</version>
</dependency>
org.cloudfoundry.identity:cloudfoundry-identity-server fixed: 4.12.3
<dependency>
    <groupId>org.cloudfoundry.identity</groupId>
    <artifactId>cloudfoundry-identity-server</artifactId>
    <version>4.12.3</version>
</dependency>
org.cloudfoundry.identity:cloudfoundry-identity-server fixed: 4.19.0
<dependency>
    <groupId>org.cloudfoundry.identity</groupId>
    <artifactId>cloudfoundry-identity-server</artifactId>
    <version>4.19.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.cloudfoundry.identity

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.cloudfoundry.identity

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

Note: The mvn dependency:tree -Dincludes=org.cloudfoundry.identity 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-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In Cloudfoundry identity server, 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

Cloud Foundry UAA, versions later than 4.6.0 and prior to 4.19.0 except 4.10.1 and 4.7.5 and uaa-release versions later than v48 and prior to v60 except v55.1 and v52.9, does not validate redirect URL values on a form parameter used for internal UAA redirects on the login page, allowing open redirects. A remote attacker can craft a malicious link that, when clicked, will redirect users to arbitrary websites after a successful login attempt.

CVE-2018-11041 Affected Cloudfoundry identity server Versions

4 component(s)
Fixed Versions:
4.7.54.10.14.12.34.19.0
Product / Package Ecosystem Affected Versions Fixed Version
org.cloudfoundry.identity:cloudfoundry-identity-server
Maven
< 4.7.5
4.7.5
org.cloudfoundry.identity:cloudfoundry-identity-server
Maven
≥ 4.8.0
< 4.10.1
4.10.1
org.cloudfoundry.identity:cloudfoundry-identity-server
Maven
≥ 4.11.0
< 4.12.3
4.12.3
org.cloudfoundry.identity:cloudfoundry-identity-server
Maven
≥ 4.13.0
< 4.19.0
4.19.0

References

Frequently Asked Questions

What is CVE-2018-11041?
CVE-2018-11041 is a security vulnerability in Cloudfoundry identity server involving Cloud Foundry UAA open redirect under CWE-601: URL Redirection to Untrusted Site ('Open Redirect').
Which Cloudfoundry identity server versions are affected?
Affected versions include releases prior to 4.7.5, 4.10.1, 4.12.3, 4.19.0 across affected packages: org.cloudfoundry.identity:cloudfoundry-identity-server.
What version fixes CVE-2018-11041?
Upgrading to 4.7.5, 4.10.1, 4.12.3, 4.19.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is cloudfoundry-identity-server affected?
Yes, org.cloudfoundry.identity:cloudfoundry-identity-server is affected in releases prior to 4.7.5, 4.10.1, 4.12.3, 4.19.0. Upgrade your dependency to 4.7.5, 4.10.1, 4.12.3, 4.19.0 or later.
What is the CVSS score of CVE-2018-11041?
CVE-2018-11041 has a CVSS v3.1 base score of 6.1 (MODERATE) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2018-11041?
CVE-2018-11041 is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect') (The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.).
How can I check Maven dependencies for CVE-2018-11041?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.cloudfoundry.identity'. 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-xh4m-99qp-w483",
  "modified" : "2024-03-01T23:43:06Z",
  "published" : "2022-05-14T03:05:26Z",
  "aliases" : [ "CVE-2018-11041" ],
  "summary" : "Cloud Foundry UAA open redirect",
  "details" : "Cloud Foundry UAA, versions later than 4.6.0 and prior to 4.19.0 except 4.10.1 and 4.7.5 and uaa-release versions later than v48 and prior to v60 except v55.1 and v52.9, does not validate redirect URL values on a form parameter used for internal UAA redirects on the login page, allowing open redirects. A remote attacker can craft a malicious link that, when clicked, will redirect users to arbitrary websites after a successful login attempt.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.cloudfoundry.identity:cloudfoundry-identity-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.7.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.cloudfoundry.identity:cloudfoundry-identity-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.8.0"
      }, {
        "fixed" : "4.10.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.cloudfoundry.identity:cloudfoundry-identity-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.11.0"
      }, {
        "fixed" : "4.12.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.cloudfoundry.identity:cloudfoundry-identity-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.13.0"
      }, {
        "fixed" : "4.19.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-11041"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cloudfoundry/uaa/commit/238ce572fdaebbb8357b265d2f77eb9761199a09"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cloudfoundry/uaa/commit/57a15dfb7e0e3a59019ebe951793b586512b196"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cloudfoundry/uaa/commit/7a8f157f7e2feed2d0ebb63b163ff735b6340b9"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cloudfoundry/uaa/commit/7d750e036cd52c5d30e73e28cbcae23126d7154"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cloudfoundry/uaa/commit/83c8627c2da7845043b65e6ba354a64b4f9c6e2f"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cloudfoundry/uaa/commit/8a599448781acd481aa9dab1b0bde3424e00ced"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cloudfoundry/uaa/commit/d17b23fc3bf9b86f111774925afadfced75315c"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cloudfoundry/uaa/commit/f6362a8f1865314aa507fc5de772848b7e55236"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/cloudfoundry/uaa"
  }, {
    "type" : "WEB",
    "url" : "https://www.cloudfoundry.org/blog/cve-2018-11041"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-601" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-03-01T23:43:06Z",
    "nvd_published_at" : "2018-06-25T15:29:00Z"
  }
}