Vulnerabilities

64 via 256 paths

Dependencies

102

Source

GitHub

Find, fix and prevent vulnerabilities in your code.

Issue type
  • 64
  • 2
Severity
  • 5
  • 25
  • 31
  • 5
Status
  • 66
  • 0
  • 0

critical severity

Use of Cache Containing Sensitive Information

  • Vulnerable module: org.springframework.security:spring-security-web
  • Introduced through: org.springframework.security:spring-security-web@6.5.7

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.9.

Overview

org.springframework.security:spring-security-web is a package within Spring Security that provides security services for the Spring IO Platform.

Affected versions of this package are vulnerable to Use of Cache Containing Sensitive Information in the process of writing HTTP response headers for servlet applications. An attacker can manipulate HTTP responses by exploiting the failure to write expected headers, potentially leading to unauthorized access or information disclosure.

Remediation

Upgrade org.springframework.security:spring-security-web to version 6.5.9, 7.0.4 or higher.

References

critical severity

Deserialization of Untrusted Data

  • Vulnerable module: com.fasterxml.jackson.core:jackson-databind
  • Introduced through: com.fasterxml.jackson.core:jackson-databind@2.20.1

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp com.fasterxml.jackson.core:jackson-databind@2.20.1
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.21.4.

Overview

com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.

Affected versions of this package are vulnerable to Deserialization of Untrusted Data in the DatabindContext._resolveAndValidateGeneric() method, which validates only the raw container class of a type identifier against the configured PolymorphicTypeValidator and not its nested generic type arguments. An attacker who controls the type identifier can instantiate a denied class, and reach unauthenticated remote code execution through an available gadget, by embedding that class as a generic parameter of an allowlisted container such as java.util.ArrayList<com.evil.Gadget>, which passes validation while the nested type is loaded, instantiated, and populated with attacker-controlled values. Exploitation requires polymorphic type validation to be enabled with a configured validator, the application to deserialize untrusted JSON, and a suitable gadget class on the classpath.

Details

Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating object from sequence of bytes is called deserialization. Serialization is commonly used for communication (sharing objects between multiple hosts) and persistence (store the object state in a file or a database). It is an integral part of popular protocols like Remote Method Invocation (RMI), Java Management Extension (JMX), Java Messaging System (JMS), Action Message Format (AMF), Java Server Faces (JSF) ViewState, etc.

Deserialization of untrusted data (CWE-502) is when the application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, thus allowing the attacker to control the state or the flow of the execution.

Remediation

Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.18.8, 2.21.4 or higher.

References

critical severity

Incomplete List of Disallowed Inputs

  • Vulnerable module: com.fasterxml.jackson.core:jackson-databind
  • Introduced through: com.fasterxml.jackson.core:jackson-databind@2.20.1

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp com.fasterxml.jackson.core:jackson-databind@2.20.1
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.21.4.

Overview

com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.

Affected versions of this package are vulnerable to Incomplete List of Disallowed Inputs in the BasicPolymorphicTypeValidator.Builder.allowIfSubTypeIsArray() method, which allowlists an array based only on clazz.isArray() and does not validate the array's component type. An attacker who controls the deserialized JSON can instantiate types outside the configured allowlist by wrapping them in an array, because array elements without per-element type identifiers are constructed directly with no further validator check.

Remediation

Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.18.8, 2.21.4 or higher.

References

critical severity

HTTP Request Smuggling

  • Vulnerable module: org.eclipse.jetty:jetty-http
  • Introduced through: org.eclipse.jetty:jetty-server@12.1.5 and org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty:jetty-server@12.1.5 org.eclipse.jetty:jetty-http@12.1.5
    Remediation: Upgrade to org.eclipse.jetty:jetty-server@12.1.7.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5 org.eclipse.jetty:jetty-server@12.1.5 org.eclipse.jetty:jetty-http@12.1.5
    Remediation: Upgrade to org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.7.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5 org.eclipse.jetty:jetty-security@12.1.5 org.eclipse.jetty:jetty-server@12.1.5 org.eclipse.jetty:jetty-http@12.1.5
    Remediation: Upgrade to org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.7.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5 org.eclipse.jetty:jetty-session@12.1.5 org.eclipse.jetty:jetty-server@12.1.5 org.eclipse.jetty:jetty-http@12.1.5
    Remediation: Upgrade to org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.7.

Overview

org.eclipse.jetty:jetty-http is an is a http module for jetty server.

Affected versions of this package are vulnerable to HTTP Request Smuggling in the HTTP/1.1 parser (HttpParser.java). An attacker can inject additional HTTP requests with chunked transfer encoding with improperly terminated quoted strings.

Remediation

Upgrade org.eclipse.jetty:jetty-http to version 12.0.33, 12.1.7 or higher.

References

critical severity
new

Arbitrary Code Injection

  • Vulnerable module: org.springframework:spring-webmvc
  • Introduced through: org.springframework:spring-webmvc@6.2.15

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@7.0.9.

Overview

org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.

Affected versions of this package are vulnerable to Arbitrary Code Injection via the XsltView file when an application has a /** mapping that results in view rendering and the view name is not explicitly specified. An attacker can execute arbitrary code or make unauthorized network requests by supplying crafted input to manipulate the view resolution process.

Note: This is only exploitable if the application is configured with a /** mapping that triggers view rendering without explicitly specifying the view name.

Remediation

Upgrade org.springframework:spring-webmvc to version 7.0.9 or higher.

References

high severity
new

HTTP Request Smuggling

  • Vulnerable module: org.eclipse.jetty:jetty-http
  • Introduced through: org.eclipse.jetty:jetty-server@12.1.5 and org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty:jetty-server@12.1.5 org.eclipse.jetty:jetty-http@12.1.5
    Remediation: Upgrade to org.eclipse.jetty:jetty-server@12.1.12.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5 org.eclipse.jetty:jetty-server@12.1.5 org.eclipse.jetty:jetty-http@12.1.5
    Remediation: Upgrade to org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.12.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5 org.eclipse.jetty:jetty-security@12.1.5 org.eclipse.jetty:jetty-server@12.1.5 org.eclipse.jetty:jetty-http@12.1.5
    Remediation: Upgrade to org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.12.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5 org.eclipse.jetty:jetty-session@12.1.5 org.eclipse.jetty:jetty-server@12.1.5 org.eclipse.jetty:jetty-http@12.1.5
    Remediation: Upgrade to org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.12.

Overview

org.eclipse.jetty:jetty-http is an is a http module for jetty server.

Affected versions of this package are vulnerable to HTTP Request Smuggling in the chunked request parsing of HttpParser, which accepts a lone LF, rather than CRLF, as the line terminator for chunk extensions, chunk data, and trailers. An attacker can make Jetty and an intermediary proxy interpret different request boundaries, smuggling a request past the proxy, by sending an HTTP/1.1 chunked request whose chunk or trailer terminators use a bare LF. This requires a front-end proxy that parses the chunk framing differently from Jetty, and the exact LF handling depends on the configured HTTP compliance mode.

Remediation

Upgrade org.eclipse.jetty:jetty-http to version 12.0.38, 12.1.12 or higher.

References

high severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: com.fasterxml.jackson.core:jackson-core
  • Introduced through: com.fasterxml.jackson.core:jackson-core@2.20.1, com.fasterxml.jackson.core:jackson-databind@2.20.1 and others

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp com.fasterxml.jackson.core:jackson-core@2.20.1
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-core@2.21.1.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp com.fasterxml.jackson.core:jackson-databind@2.20.1 com.fasterxml.jackson.core:jackson-core@2.20.1
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.21.1.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp com.google.http-client:google-http-client-jackson2@2.0.3 com.fasterxml.jackson.core:jackson-core@2.20.1
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp io.dropwizard.metrics:metrics-servlets@4.2.37 io.dropwizard.metrics:metrics-json@4.2.37 com.fasterxml.jackson.core:jackson-core@2.20.1

Overview

com.fasterxml.jackson.core:jackson-core is a Core Jackson abstractions, basic JSON streaming API implementation

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in which the non-blocking async JSON parser can be made to bypass the maxNumberLength constraint (default: 1000 characters) defined in StreamReadConstraints. An attacker can cause excessive memory allocation and CPU exhaustion by submitting JSON documents containing extremely long numeric values through the asynchronous parser interface.

PoC

The following JUnit 5 test demonstrates the vulnerability. It shows that the async parser accepts a 5,000-digit number, whereas the limit should be 1,000.

package tools.jackson.core.unittest.dos;

import java.nio.charset.StandardCharsets;

import org.junit.jupiter.api.Test;

import tools.jackson.core.*;
import tools.jackson.core.exc.StreamConstraintsException;
import tools.jackson.core.json.JsonFactory;
import tools.jackson.core.json.async.NonBlockingByteArrayJsonParser;

import static org.junit.jupiter.api.Assertions.*;

/**
 * POC: Number Length Constraint Bypass in Non-Blocking (Async) JSON Parsers
 *
 * Authors: sprabhav7, rohan-repos
 * 
 * maxNumberLength default = 1000 characters (digits).
 * A number with more than 1000 digits should be rejected by any parser.
 *
 * BUG: The async parser never calls resetInt()/resetFloat() which is where
 * validateIntegerLength()/validateFPLength() lives. Instead it calls
 * _valueComplete() which skips all number length validation.
 *
 * CWE-770: Allocation of Resources Without Limits or Throttling
 */
class AsyncParserNumberLengthBypassTest {

    private static final int MAX_NUMBER_LENGTH = 1000;
    private static final int TEST_NUMBER_LENGTH = 5000;

    private final JsonFactory factory = new JsonFactory();

    // CONTROL: Sync parser correctly rejects a number exceeding maxNumberLength
    @Test
    void syncParserRejectsLongNumber() throws Exception {
        byte[] payload = buildPayloadWithLongInteger(TEST_NUMBER_LENGTH);
        
        // Output to console
        System.out.println("[SYNC] Parsing " + TEST_NUMBER_LENGTH + "-digit number (limit: " + MAX_NUMBER_LENGTH + ")");
        try {
            try (JsonParser p = factory.createParser(ObjectReadContext.empty(), payload)) {
                while (p.nextToken() != null) {
                    if (p.currentToken() == JsonToken.VALUE_NUMBER_INT) {
                        System.out.println("[SYNC] Accepted number with " + p.getText().length() + " digits — UNEXPECTED");
                    }
                }
            }
            fail("Sync parser must reject a " + TEST_NUMBER_LENGTH + "-digit number");
        } catch (StreamConstraintsException e) {
            System.out.println("[SYNC] Rejected with StreamConstraintsException: " + e.getMessage());
        }
    }

    // VULNERABILITY: Async parser accepts the SAME number that sync rejects
    @Test
    void asyncParserAcceptsLongNumber() throws Exception {
        byte[] payload = buildPayloadWithLongInteger(TEST_NUMBER_LENGTH);

        NonBlockingByteArrayJsonParser p =
            (NonBlockingByteArrayJsonParser) factory.createNonBlockingByteArrayParser(ObjectReadContext.empty());
        p.feedInput(payload, 0, payload.length);
        p.endOfInput();

        boolean foundNumber = false;
        try {
            while (p.nextToken() != null) {
                if (p.currentToken() == JsonToken.VALUE_NUMBER_INT) {
                    foundNumber = true;
                    String numberText = p.getText();
                    assertEquals(TEST_NUMBER_LENGTH, numberText.length(),
                        "Async parser silently accepted all " + TEST_NUMBER_LENGTH + " digits");
                }
            }
            // Output to console
            System.out.println("[ASYNC INT] Accepted number with " + TEST_NUMBER_LENGTH + " digits — BUG CONFIRMED");
            assertTrue(foundNumber, "Parser should have produced a VALUE_NUMBER_INT token");
        } catch (StreamConstraintsException e) {
            fail("Bug is fixed — async parser now correctly rejects long numbers: " + e.getMessage());
        }
        p.close();
    }

    private byte[] buildPayloadWithLongInteger(int numDigits) {
        StringBuilder sb = new StringBuilder(numDigits + 10);
        sb.append("{\"v\":");
        for (int i = 0; i < numDigits; i++) {
            sb.append((char) ('1' + (i % 9)));
        }
        sb.append('}');
        return sb.toString().getBytes(StandardCharsets.UTF_8);
    }
}

Details

Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.

Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.

One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.

When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.

Two common types of DoS vulnerabilities:

  • High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.

  • Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm ws package

Remediation

Upgrade com.fasterxml.jackson.core:jackson-core to version 2.18.6, 2.21.1 or higher.

References

high severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: com.fasterxml.jackson.core:jackson-core
  • Introduced through: com.fasterxml.jackson.core:jackson-core@2.20.1, com.fasterxml.jackson.core:jackson-databind@2.20.1 and others

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp com.fasterxml.jackson.core:jackson-core@2.20.1
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-core@2.21.2.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp com.fasterxml.jackson.core:jackson-databind@2.20.1 com.fasterxml.jackson.core:jackson-core@2.20.1
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.21.2.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp com.google.http-client:google-http-client-jackson2@2.0.3 com.fasterxml.jackson.core:jackson-core@2.20.1
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp io.dropwizard.metrics:metrics-servlets@4.2.37 io.dropwizard.metrics:metrics-json@4.2.37 com.fasterxml.jackson.core:jackson-core@2.20.1

Overview

com.fasterxml.jackson.core:jackson-core is a Core Jackson abstractions, basic JSON streaming API implementation

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the enforcement of document length constraints in blocking, async, and DataInput parser processes. An attacker can cause excessive resource consumption by submitting oversized JSON documents that bypass configured size limits.

Remediation

Upgrade com.fasterxml.jackson.core:jackson-core to version 2.18.7, 2.21.2 or higher.

References

high severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: com.fasterxml.jackson.core:jackson-core
  • Introduced through: com.fasterxml.jackson.core:jackson-core@2.20.1, com.fasterxml.jackson.core:jackson-databind@2.20.1 and others

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp com.fasterxml.jackson.core:jackson-core@2.20.1
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-core@2.21.4.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp com.fasterxml.jackson.core:jackson-databind@2.20.1 com.fasterxml.jackson.core:jackson-core@2.20.1
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.21.4.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp com.google.http-client:google-http-client-jackson2@2.0.3 com.fasterxml.jackson.core:jackson-core@2.20.1
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp io.dropwizard.metrics:metrics-servlets@4.2.37 io.dropwizard.metrics:metrics-json@4.2.37 com.fasterxml.jackson.core:jackson-core@2.20.1

Overview

com.fasterxml.jackson.core:jackson-core is a Core Jackson abstractions, basic JSON streaming API implementation

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the NonBlockingUtf8JsonParserBase file. An attacker can exhaust system memory by streaming JSON input in small chunks to the asynchronous parser, causing unbounded accumulation of digit characters in memory due to missing validation of number length during chunked parsing. This can lead to denial of service by overwhelming the application's memory resources.

Remediation

Upgrade com.fasterxml.jackson.core:jackson-core to version 2.18.8, 2.21.4 or higher.

References

high severity

Incorrect Implementation of Authentication Algorithm

  • Vulnerable module: org.eclipse.jetty:jetty-security
  • Introduced through: org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5 org.eclipse.jetty:jetty-security@12.1.5
    Remediation: Upgrade to org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.10.

Overview

Affected versions of this package are vulnerable to Incorrect Implementation of Authentication Algorithm due to lossy ISO-8859-1 encoding in the digest hash computation. An attacker can log in as a user with a non-Latin-1 password by supplying a collision password that replaces each non-ASCII character with ?, producing the same digest response hash. The vulnerable code feeds the username/password material into getBytes(StandardCharsets.ISO_8859_1) when computing the digest values, so characters above U+00FF are silently substituted before hashing. That lets an attacker authenticate successfully with a different password while the victim’s Digest-authenticated account accepts the forged response.

Remediation

Upgrade org.eclipse.jetty:jetty-security to version 9.4.63, 10.0.31, 11.0.31, 12.0.36, 12.1.10 or higher.

References

high severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: org.eclipse.jetty:jetty-server
  • Introduced through: org.eclipse.jetty:jetty-server@12.1.5 and org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty:jetty-server@12.1.5
    Remediation: Upgrade to org.eclipse.jetty:jetty-server@12.1.6.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5 org.eclipse.jetty:jetty-server@12.1.5
    Remediation: Upgrade to org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.6.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5 org.eclipse.jetty:jetty-security@12.1.5 org.eclipse.jetty:jetty-server@12.1.5
    Remediation: Upgrade to org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.6.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5 org.eclipse.jetty:jetty-session@12.1.5 org.eclipse.jetty:jetty-server@12.1.5
    Remediation: Upgrade to org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.6.

Overview

org.eclipse.jetty:jetty-server is a lightweight highly scalable java based web server and servlet engine.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the GzipHandler process when handling a compressed HTTP request with Content-Encoding: gzip and the response is not deflated (no Accept-Encoding: gzip). An attacker can cause resource exhaustion by sending specially crafted requests that trigger repeated allocation of JDK Inflater objects without proper release.

Remediation

Upgrade org.eclipse.jetty:jetty-server to version 12.0.32, 12.1.6 or higher.

References

high severity

Inefficient Algorithmic Complexity

  • Vulnerable module: org.springframework:spring-expression
  • Introduced through: org.springframework:spring-context@6.2.15, org.springframework.security:spring-security-web@6.5.7 and others

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework:spring-context@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context-support@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework:spring-context-support@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.

Overview

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity via evaluation of user-controlled Spring Expression Language (SpEL) expressions. An attacker can cause denial of service by supplying specially crafted SpEL expressions that trigger excessive CPU or memory consumption during expression evaluation, leading to application degradation or unavailability.

Remediation

Upgrade org.springframework:spring-expression to version 6.0.0, 6.2.19, 7.0.8 or higher.

References

high severity
new

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: org.springframework:spring-expression
  • Introduced through: org.springframework:spring-context@6.2.15, org.springframework.security:spring-security-web@6.5.7 and others

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework:spring-context@7.0.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.0.7.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@7.0.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.0.7.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context-support@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework:spring-context-support@7.0.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@7.0.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.0.7.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.0.7.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the SimpleEvaluationContext file when the SpEL expression compiler is enabled through specific configuration settings. An attacker can cause unbounded class-loading growth and bypass enforced safety checks by submitting specially crafted expressions for evaluation.

Note: This is only exploitable if the application evaluates SpEL expressions using SimpleEvaluationContext and the SpEL expression compiler is active via the spring.expression.compiler.mode property or a SpelParserConfiguration set to IMMEDIATE or MIXED.

Remediation

Upgrade org.springframework:spring-expression to version 7.0.9 or higher.

References

high severity
new

Sensitive Cookie in HTTPS Session Without "Secure" Attribute

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework:spring-web@6.2.15 and org.springframework:spring-webmvc@6.2.15

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-web@6.2.15
    Remediation: Upgrade to org.springframework:spring-web@7.0.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-web@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@7.0.9.

Overview

org.springframework:spring-web is a package that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

Affected versions of this package are vulnerable to Sensitive Cookie in HTTPS Session Without "Secure" Attribute in the JettyCoreServerHttpResponse file. An attacker can compromise user session integrity by exploiting the omission of the sameSite attribute in serialized response cookies, potentially enabling cross-site request forgery (CSRF) attacks when a user interacts with a malicious website.

Remediation

Upgrade org.springframework:spring-web to version 7.0.9 or higher.

References

high severity
new

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: org.springframework:spring-beans
  • Introduced through: org.springframework:spring-beans@6.2.15, org.springframework:spring-context@6.2.15 and others

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-beans@6.2.15
    Remediation: Upgrade to org.springframework:spring-beans@7.0.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context@6.2.15 org.springframework:spring-beans@6.2.15
    Remediation: Upgrade to org.springframework:spring-context@7.0.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-beans@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.0.7.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context-support@6.2.15 org.springframework:spring-beans@6.2.15
    Remediation: Upgrade to org.springframework:spring-context-support@7.0.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-web@6.2.15 org.springframework:spring-beans@6.2.15
    Remediation: Upgrade to org.springframework:spring-web@7.0.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-beans@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@7.0.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-beans@6.2.15
    Remediation: Upgrade to org.springframework:spring-context@7.0.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-aop@6.2.15 org.springframework:spring-beans@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.0.7.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-beans@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@7.0.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-beans@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.0.7.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context-support@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-beans@6.2.15
    Remediation: Upgrade to org.springframework:spring-context-support@7.0.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-beans@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@7.0.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-beans@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.0.7.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-web@6.2.15 org.springframework:spring-beans@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@7.0.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-beans@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.0.7.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context-support@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-beans@6.2.15
    Remediation: Upgrade to org.springframework:spring-context-support@7.0.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-beans@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@7.0.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-aop@6.2.15 org.springframework:spring-beans@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.0.7.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-beans@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.0.7.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-beans@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.0.7.

Overview

org.springframework:spring-beans is a package that is the basis for Spring Framework's IoC container. The BeanFactory interface provides an advanced configuration mechanism capable of managing any type of object.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the data binding. An attacker can exhaust system memory by supplying a crafted property path with a large index value, causing unbounded allocation of list elements when the target object contains a self-populating list whose element type exposes sub-properties.

Note: This is only exploitable if the application uses Spring's data binding infrastructure to apply user-supplied property paths onto a target object, the target object contains a self-populating list implementation as a property, and the list's element type exposes sub-properties.

Remediation

Upgrade org.springframework:spring-beans to version 7.0.9 or higher.

References

high severity
new

Directory Traversal

  • Vulnerable module: org.springframework:spring-context-support
  • Introduced through: org.springframework:spring-context-support@6.2.15

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context-support@6.2.15
    Remediation: Upgrade to org.springframework:spring-context-support@7.0.9.

Overview

Affected versions of this package are vulnerable to Directory Traversal via the SpringTemplateLoader process. An attacker can access sensitive files outside the intended template directory by supplying a crafted view name containing backslash sequences. This is only exploitable if a controller returns a view name derived from untrusted input and FreeMarker is configured to resolve templates through SpringTemplateLoader.

Details

A Directory Traversal attack (also known as path traversal) aims to access files and directories that are stored outside the intended folder. By manipulating files with "dot-dot-slash (../)" sequences and its variations, or by using absolute file paths, it may be possible to access arbitrary files and directories stored on file system, including application source code, configuration, and other critical system files.

Directory Traversal vulnerabilities can be generally divided into two types:

  • Information Disclosure: Allows the attacker to gain information about the folder structure or read the contents of sensitive files on the system.

st is a module for serving static files on web pages, and contains a vulnerability of this type. In our example, we will serve files from the public route.

If an attacker requests the following URL from our server, it will in turn leak the sensitive private key of the root user.

curl http://localhost:8080/public/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/root/.ssh/id_rsa

Note %2e is the URL encoded version of . (dot).

  • Writing arbitrary files: Allows the attacker to create or replace existing files. This type of vulnerability is also known as Zip-Slip.

One way to achieve this is by using a malicious zip archive that holds path traversal filenames. When each filename in the zip archive gets concatenated to the target extraction folder, without validation, the final path ends up outside of the target folder. If an executable or a configuration file is overwritten with a file containing malicious code, the problem can turn into an arbitrary code execution issue quite easily.

The following is an example of a zip archive with one benign file and one malicious file. Extracting the malicious file will result in traversing out of the target folder, ending up in /root/.ssh/ overwriting the authorized_keys file:

2018-04-15 22:04:29 .....           19           19  good.txt
2018-04-15 22:04:42 .....           20           20  ../../../../../../root/.ssh/authorized_keys

Remediation

Upgrade org.springframework:spring-context-support to version 7.0.9 or higher.

References

high severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: org.springframework:spring-expression
  • Introduced through: org.springframework:spring-context@6.2.15, org.springframework.security:spring-security-web@6.5.7 and others

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework:spring-context@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context-support@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework:spring-context-support@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.

Overview

org.springframework:spring-expression is a

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling. via caching of parsed Spring Expression Language (SpEL) expressions. An attacker can cause denial of service by supplying crafted user-controlled SpEL expressions that trigger unbounded growth of the expression cache. Over time, repeated evaluations can consume excessive memory, eventually leading to memory exhaustion and application unavailability.

Note: Exploitation typically requires a large number of expression evaluations, potentially millions of requests, even when reusing a single expression with dynamic inputs.

Remediation

Upgrade org.springframework:spring-expression to version 6.0.0, 6.2.19, 7.0.8 or higher.

References

high severity
new

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: org.springframework:spring-expression
  • Introduced through: org.springframework:spring-context@6.2.15, org.springframework.security:spring-security-web@6.5.7 and others

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework:spring-context@7.0.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.0.7.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@7.0.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.0.7.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context-support@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework:spring-context-support@7.0.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@7.0.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.0.7.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.0.7.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the evaluation of user-supplied SpEL expressions containing the power operator (^) with a BigDecimal or BigInteger operand and a large exponent value. An attacker can cause excessive CPU and memory consumption by submitting specially crafted expressions.

Note: This is only exploitable if the application accepts and evaluates untrusted SpEL expressions and a BigDecimal or BigInteger value is accessible within the evaluation context.

Remediation

Upgrade org.springframework:spring-expression to version 7.0.9 or higher.

References

high severity
new

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework:spring-web@6.2.15 and org.springframework:spring-webmvc@6.2.15

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-web@6.2.15
    Remediation: Upgrade to org.springframework:spring-web@7.0.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-web@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@7.0.9.

Overview

org.springframework:spring-web is a package that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the PartEventHttpMessageReader file when maxInMemorySize is set to -1. An attacker can cause excessive memory consumption by uploading large multipart requests.

Note: This is only exploitable if the configuration explicitly sets maxInMemorySize to -1.

Remediation

Upgrade org.springframework:spring-web to version 7.0.9 or higher.

References

high severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: org.springframework:spring-webmvc
  • Introduced through: org.springframework:spring-webmvc@6.2.15

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.

Overview

org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via static resource resolution when versioned resource support is enabled. An attacker can cause denial of service by sending crafted requests that trigger expensive resource resolution operations against filesystem-backed static resources. Repeated requests can consume server resources and keep HTTP connections occupied for extended periods, potentially degrading performance or rendering the application unavailable.

Note: This is only exploitable if the application uses Spring MVC or Spring WebFlux, serves static resources from the filesystem, and has versioned resource support enabled.

Remediation

Upgrade org.springframework:spring-webmvc to version 6.0.0, 6.2.19, 7.0.8 or higher.

References

high severity

Direct Request ('Forced Browsing')

  • Vulnerable module: org.springframework:spring-webmvc
  • Introduced through: org.springframework:spring-webmvc@6.2.15

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.

Overview

org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.

Affected versions of this package are vulnerable to Direct Request ('Forced Browsing') via shared caching of static resource resolutions across resource handlers. An attacker can gain unauthorized access to protected resources when a shared cache stores a resource resolution result from a publicly accessible handler and subsequently reuses it for a protected handler serving a resource with the same name. This can cause resources that should require authentication to be served without proper access control checks.

Note: This is only exploitable if the application uses Spring MVC or Spring WebFlux, configures multiple resource handlers with different resource locations, protects at least one handler with authentication, and uses a shared cache for resource resolution.

Remediation

Upgrade org.springframework:spring-webmvc to version 6.0.0, 6.2.19, 7.0.8 or higher.

References

high severity

Directory Traversal

  • Vulnerable module: org.springframework:spring-webmvc
  • Introduced through: org.springframework:spring-webmvc@6.2.15

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.17.

Overview

org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.

Affected versions of this package are vulnerable to Directory Traversal via the Script View Templates. An attacker can access sensitive file contents outside of the intended directories by leveraging the Java scripting engine in template rendering.

Note:

This is only exploitable if the application has a mapping for "/**" that results in view rendering, and where the view name is not explicitly specified.

Details

A Directory Traversal attack (also known as path traversal) aims to access files and directories that are stored outside the intended folder. By manipulating files with "dot-dot-slash (../)" sequences and its variations, or by using absolute file paths, it may be possible to access arbitrary files and directories stored on file system, including application source code, configuration, and other critical system files.

Directory Traversal vulnerabilities can be generally divided into two types:

  • Information Disclosure: Allows the attacker to gain information about the folder structure or read the contents of sensitive files on the system.

st is a module for serving static files on web pages, and contains a vulnerability of this type. In our example, we will serve files from the public route.

If an attacker requests the following URL from our server, it will in turn leak the sensitive private key of the root user.

curl http://localhost:8080/public/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/root/.ssh/id_rsa

Note %2e is the URL encoded version of . (dot).

  • Writing arbitrary files: Allows the attacker to create or replace existing files. This type of vulnerability is also known as Zip-Slip.

One way to achieve this is by using a malicious zip archive that holds path traversal filenames. When each filename in the zip archive gets concatenated to the target extraction folder, without validation, the final path ends up outside of the target folder. If an executable or a configuration file is overwritten with a file containing malicious code, the problem can turn into an arbitrary code execution issue quite easily.

The following is an example of a zip archive with one benign file and one malicious file. Extracting the malicious file will result in traversing out of the target folder, ending up in /root/.ssh/ overwriting the authorized_keys file:

2018-04-15 22:04:29 .....           19           19  good.txt
2018-04-15 22:04:42 .....           20           20  ../../../../../../root/.ssh/authorized_keys

Remediation

Upgrade org.springframework:spring-webmvc to version 6.2.17, 7.0.6 or higher.

References

high severity

Directory Traversal

  • Vulnerable module: org.springframework:spring-webmvc
  • Introduced through: org.springframework:spring-webmvc@6.2.15

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.

Overview

org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.

Affected versions of this package are vulnerable to Directory Traversal via static resource resolution when versioned resource support is enabled. An attacker can perform path traversal and access files outside the configured static resource locations by sending crafted requests that abuse the versioned resource resolution mechanism.

Note: This is only exploitable if the application uses Spring MVC or Spring WebFlux, serves static resources from the filesystem, has versioned resource support enabled, and the attacker knows or can guess metadata associated with targeted resources.

Details

A Directory Traversal attack (also known as path traversal) aims to access files and directories that are stored outside the intended folder. By manipulating files with "dot-dot-slash (../)" sequences and its variations, or by using absolute file paths, it may be possible to access arbitrary files and directories stored on file system, including application source code, configuration, and other critical system files.

Directory Traversal vulnerabilities can be generally divided into two types:

  • Information Disclosure: Allows the attacker to gain information about the folder structure or read the contents of sensitive files on the system.

st is a module for serving static files on web pages, and contains a vulnerability of this type. In our example, we will serve files from the public route.

If an attacker requests the following URL from our server, it will in turn leak the sensitive private key of the root user.

curl http://localhost:8080/public/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/root/.ssh/id_rsa

Note %2e is the URL encoded version of . (dot).

  • Writing arbitrary files: Allows the attacker to create or replace existing files. This type of vulnerability is also known as Zip-Slip.

One way to achieve this is by using a malicious zip archive that holds path traversal filenames. When each filename in the zip archive gets concatenated to the target extraction folder, without validation, the final path ends up outside of the target folder. If an executable or a configuration file is overwritten with a file containing malicious code, the problem can turn into an arbitrary code execution issue quite easily.

The following is an example of a zip archive with one benign file and one malicious file. Extracting the malicious file will result in traversing out of the target folder, ending up in /root/.ssh/ overwriting the authorized_keys file:

2018-04-15 22:04:29 .....           19           19  good.txt
2018-04-15 22:04:42 .....           20           20  ../../../../../../root/.ssh/authorized_keys

Remediation

Upgrade org.springframework:spring-webmvc to version 6.0.0, 6.2.19, 7.0.8 or higher.

References

high severity
new

Timing Attack

  • Vulnerable module: org.springframework.security:spring-security-core
  • Introduced through: org.springframework.security:spring-security-web@6.5.7

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.0.7.

Overview

org.springframework.security:spring-security-core is a package that provides security services for the Spring IO Platform.

Affected versions of this package are vulnerable to Timing Attack via the comparison of sensitive values using standard string equality rather than constant-time comparison in DigestAuthenticationFilter, KeyBasedPersistenceTokenService, BalloonHashingPassword4jPasswordEncoder, Pbkdf2Password4jPasswordEncoder, and InMemoryOAuth2AuthorizationService. An attacker can recover secret values such as password hashes, authentication digests, verification keys, or OAuth2 token values by submitting a large number of requests and precisely measuring response times. This is only exploitable if an attacker can make a very large number of requests with low network jitter and precise timing measurements.

Remediation

Upgrade org.springframework.security:spring-security-core to version 7.0.7, 7.1.1 or higher.

References

high severity

Improper Authorization

  • Vulnerable module: com.hazelcast:hazelcast
  • Introduced through: com.hazelcast:hazelcast@4.2.8

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp com.hazelcast:hazelcast@4.2.8
    Remediation: Upgrade to com.hazelcast:hazelcast@5.2.5.

Overview

com.hazelcast:hazelcast is a clustering and highly scalable data distribution platform.

Affected versions of this package are vulnerable to Improper Authorization due to missing permission checks on the Hazelcast client protocol. Authenticated users can access data stored in the cluster by exploiting this oversight.

Remediation

Upgrade com.hazelcast:hazelcast to version 5.2.5, 5.3.5 or higher.

References

high severity

User Impersonation

  • Vulnerable module: org.springframework.security:spring-security-web
  • Introduced through: org.springframework.security:spring-security-web@6.5.7

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.

Overview

org.springframework.security:spring-security-web is a package within Spring Security that provides security services for the Spring IO Platform.

Affected versions of this package are vulnerable to User Impersonation via username extraction in SubjectDnX509PrincipalExtractor. An attacker can impersonate another user by presenting a specially crafted X.509 certificate containing a malformed Common Name (CN) value that causes the extractor to resolve an incorrect username during certificate-based authentication.

Note:

  1. This vulnerability is a continuation of CVE-2026-22747, which addressed the same issue in Spring Security 7.0.x.

  2. Exploitation requires compromise or misuse of a trusted upstream certificate validation process, as this component operates within Spring Security's pre-authentication flow and assumes presented certificates have already been validated.

Remediation

Upgrade org.springframework.security:spring-security-web to version 6.5.11 or higher.

References

high severity
new

Cross-site Scripting (XSS)

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework:spring-web@6.2.15 and org.springframework:spring-webmvc@6.2.15

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-web@6.2.15
    Remediation: Upgrade to org.springframework:spring-web@7.0.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-web@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@7.0.9.

Overview

org.springframework:spring-web is a package that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the Errors.getFieldErrors() or Errors.getFieldError() accessors when rendering field errors with HTML escaping enabled. An attacker can inject arbitrary HTML or JavaScript code by supplying crafted input that is not properly escaped.

Details

Cross-site scripting (or XSS) is a code vulnerability that occurs when an attacker “injects” a malicious script into an otherwise trusted website. The injected script gets downloaded and executed by the end user’s browser when the user interacts with the compromised website.

This is done by escaping the context of the web application; the web application then delivers that data to its users along with other trusted dynamic content, without validating it. The browser unknowingly executes malicious script on the client side (through client-side languages; usually JavaScript or HTML) in order to perform actions that are otherwise typically blocked by the browser’s Same Origin Policy.

Injecting malicious code is the most prevalent manner by which XSS is exploited; for this reason, escaping characters in order to prevent this manipulation is the top method for securing code against this vulnerability.

Escaping means that the application is coded to mark key characters, and particularly key characters included in user input, to prevent those characters from being interpreted in a dangerous context. For example, in HTML, < can be coded as &lt; and > can be coded as &gt; in order to be interpreted and displayed as themselves in text, while within the code itself, they are used for HTML tags. If malicious content is injected into an application that escapes special characters and that malicious content uses < and > as HTML tags, those characters are nonetheless not interpreted as HTML tags by the browser if they’ve been correctly escaped in the application code and in this way the attempted attack is diverted.

The most prominent use of XSS is to steal cookies (source: OWASP HttpOnly) and hijack user sessions, but XSS exploits have been used to expose sensitive information, enable access to privileged services and functionality and deliver malware.

Types of attacks

There are a few methods by which XSS can be manipulated:

Type Origin Description
Stored Server The malicious code is inserted in the application (usually as a link) by the attacker. The code is activated every time a user clicks the link.
Reflected Server The attacker delivers a malicious link externally from the vulnerable web site application to a user. When clicked, malicious code is sent to the vulnerable web site, which reflects the attack back to the user’s browser.
DOM-based Client The attacker forces the user’s browser to render a malicious page. The data in the page itself delivers the cross-site scripting data.
Mutated The attacker injects code that appears safe, but is then rewritten and modified by the browser, while parsing the markup. An example is rebalancing unclosed quotation marks or even adding quotation marks to unquoted parameters.

Affected environments

The following environments are susceptible to an XSS attack:

  • Web servers
  • Application servers
  • Web application environments

How to prevent

This section describes the top best practices designed to specifically protect your code:

  • Sanitize data input in an HTTP request before reflecting it back, ensuring all data is validated, filtered or escaped before echoing anything back to the user, such as the values of query parameters during searches.
  • Convert special characters such as ?, &, /, <, > and spaces to their respective HTML or URL encoded equivalents.
  • Give users the option to disable client-side scripts.
  • Redirect invalid requests.
  • Detect simultaneous logins, including those from two separate IP addresses, and invalidate those sessions.
  • Use and enforce a Content Security Policy (source: Wikipedia) to disable any features that might be manipulated for an XSS attack.
  • Read the documentation for any of the libraries referenced in your code to understand which elements allow for embedded HTML.

Remediation

Upgrade org.springframework:spring-web to version 7.0.9 or higher.

References

high severity

Incomplete Cleanup

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework:spring-web@6.2.15 and org.springframework:spring-webmvc@6.2.15

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-web@6.2.15
    Remediation: Upgrade to org.springframework:spring-web@6.2.18.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-web@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.18.

Overview

org.springframework:spring-web is a package that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

Affected versions of this package are vulnerable to Incomplete Cleanup via multipart request handling in WebFlux. An attacker can exhaust disk space by sending multipart requests with large parts that trigger creation of temporary files, which under certain conditions are not deleted after the request completes, leading to accumulation of temp files and denial of service.

Remediation

Upgrade org.springframework:spring-web to version 6.2.18, 7.0.7 or higher.

References

high severity
new

Generation of Predictable IV with CBC Mode

  • Vulnerable module: org.springframework.security:spring-security-crypto
  • Introduced through: org.springframework.security:spring-security-web@6.5.7

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework.security:spring-security-crypto@6.5.7
    Remediation: Upgrade to org.springframework.security:spring-security-web@7.0.7.

Overview

org.springframework.security:spring-security-crypto is a spring-security-crypto library for Spring Security.

Affected versions of this package are vulnerable to Generation of Predictable IV with CBC Mode via AesBytesEncryptor when using the two-argument constructor or specifying a null IV generator with CBC mode. An attacker can correlate encrypted values, determine when two records share the same plaintext, and mount dictionary attacks by pre-encrypting candidate values and comparing the results if they have read access to the encrypted data store.

Remediation

Upgrade org.springframework.security:spring-security-crypto to version 7.0.7, 7.1.1 or higher.

References

high severity

Expression Injection

  • Vulnerable module: ch.qos.logback:logback-core
  • Introduced through: ch.qos.logback:logback-classic@1.5.25

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp ch.qos.logback:logback-classic@1.5.25 ch.qos.logback:logback-core@1.5.25
    Remediation: Upgrade to ch.qos.logback:logback-classic@1.5.36.

Overview

ch.qos.logback:logback-core is a logback-core module.

Affected versions of this package are vulnerable to Expression Injection in the Janino-evaluated condition attribute of <if> configuration elements, handled by IfModelHandler, whose denylist blocked only the literal new operator. A user who can modify the logback configuration can execute arbitrary code by writing an <if> condition that evades that denylist, either through references it did not cover such as Runtime or springframework, or through Unicode escape sequences like \u that reconstruct the blocked new operator. Exploitation requires write access to the logback configuration and the use of conditional <if> processing with Janino present on the classpath.

Remediation

Upgrade ch.qos.logback:logback-core to version 1.5.36 or higher.

References

medium severity

Improperly Controlled Modification of Dynamically-Determined Object Attributes

  • Vulnerable module: com.fasterxml.jackson.core:jackson-databind
  • Introduced through: com.fasterxml.jackson.core:jackson-databind@2.20.1

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp com.fasterxml.jackson.core:jackson-databind@2.20.1
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.21.5.

Overview

com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.

Affected versions of this package are vulnerable to Improperly Controlled Modification of Dynamically-Determined Object Attributes in the BeanDeserializerBase.createContextual() method, which applies the per-property exclusions through _handleByNameInclusion() and then rebuilds the property map from the unfiltered original, overwriting the filtered map and restoring every property the exclusion had removed. An attacker can set fields that were marked ignored, enabling mass assignment, by supplying those property names in untrusted JSON during deserialization. Exploitation requires case-insensitive property matching to be enabled via @JsonFormat with ACCEPT_CASE_INSENSITIVE_PROPERTIES alongside per-property @JsonIgnoreProperties.

Remediation

Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.18.9, 2.21.5, 2.22.1 or higher.

References

medium severity

Improperly Controlled Modification of Dynamically-Determined Object Attributes

  • Vulnerable module: com.fasterxml.jackson.core:jackson-databind
  • Introduced through: com.fasterxml.jackson.core:jackson-databind@2.20.1

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp com.fasterxml.jackson.core:jackson-databind@2.20.1
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.21.4.

Overview

com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.

Affected versions of this package are vulnerable to Improperly Controlled Modification of Dynamically-Determined Object Attributes in the POJOPropertiesCollector._removeUnwantedIgnorals process. An attacker can access or modify properties that were intended to be ignored by supplying JSON input with keys matching the renamed property names, thereby bypassing intended access restrictions.

Remediation

Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.18.8, 2.21.4 or higher.

References

medium severity

Server-side Request Forgery (SSRF)

  • Vulnerable module: com.fasterxml.jackson.core:jackson-databind
  • Introduced through: com.fasterxml.jackson.core:jackson-databind@2.20.1

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp com.fasterxml.jackson.core:jackson-databind@2.20.1
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.21.4.

Overview

com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) in the JDKFromStringDeserializer class, which constructs InetSocketAddress and resolves the hostname through DNS at deserialization time. An attacker can force the server to issue outbound DNS lookups for chosen hostnames by submitting JSON that is deserialized into a type holding an InetSocketAddress field, with no authentication required. The observable effect is limited to DNS resolution of attacker-chosen names, useful for out-of-band interaction or internal resolver probing rather than a full outbound request, and it applies only where the application deserializes untrusted JSON into types containing such fields.

Remediation

Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.18.8, 2.21.4 or higher.

References

medium severity
new

Server-side Request Forgery (SSRF)

  • Vulnerable module: com.fasterxml.jackson.core:jackson-databind
  • Introduced through: com.fasterxml.jackson.core:jackson-databind@2.20.1

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp com.fasterxml.jackson.core:jackson-databind@2.20.1
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.21.5.

Overview

com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) through the STD_INET_ADDRESS branch in FromStringDeserializer in src/main/java/com/fasterxml/jackson/databind/deser/std/FromStringDeserializer.java. An attacker can trigger outbound DNS lookups and blind SSRF behavior by supplying a hostname string in JSON that is deserialized into java.net.InetAddress. When application code binds untrusted input into an InetAddress field or type, the deserializer calls InetAddress.getByName(value) on the attacker-controlled string and resolves it before any application validation runs. This lets an attacker force DNS-based callbacks or probe internal hostnames, causing unwanted network egress and leaking resolver-visible information.

Remediation

Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.18.9, 2.21.5, 2.22.1 or higher.

References

medium severity
new

Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')

  • Vulnerable module: com.fasterxml.jackson.core:jackson-databind
  • Introduced through: com.fasterxml.jackson.core:jackson-databind@2.20.1

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp com.fasterxml.jackson.core:jackson-databind@2.20.1
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.21.6.

Overview

com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.

Affected versions of this package are vulnerable to Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') through NioPathDeserializer in src/main/java/com/fasterxml/jackson/databind/ext/NioPathDeserializer.java. An attacker can force readValue() to resolve an attacker-controlled java.nio.file.Path URI by supplying a non-file scheme such as jar:, http:, s3:, or a custom provider scheme in untrusted JSON. That input reaches new URI(value) and then Path.of(uri), which falls back to ServiceLoader<FileSystemProvider> resolution and can invoke a matching provider’s getPath(uri) during deserialization. The result is unintended provider loading and provider-driven path handling inside the application, which can trigger denial of service or other side effects depending on what FileSystemProvider implementations are present on the classpath.

Remediation

Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.18.10, 2.21.6, 2.22.2 or higher.

References

medium severity

Exposure of Data Element to Wrong Session

  • Vulnerable module: org.eclipse.jetty:jetty-server
  • Introduced through: org.eclipse.jetty:jetty-server@12.1.5 and org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty:jetty-server@12.1.5
    Remediation: Upgrade to org.eclipse.jetty:jetty-server@12.1.10.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5 org.eclipse.jetty:jetty-server@12.1.5
    Remediation: Upgrade to org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.10.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5 org.eclipse.jetty:jetty-security@12.1.5 org.eclipse.jetty:jetty-server@12.1.5
    Remediation: Upgrade to org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.10.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5 org.eclipse.jetty:jetty-session@12.1.5 org.eclipse.jetty:jetty-server@12.1.5
    Remediation: Upgrade to org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.10.

Overview

org.eclipse.jetty:jetty-server is a lightweight highly scalable java based web server and servlet engine.

Affected versions of this package are vulnerable to Exposure of Data Element to Wrong Session due to the connection-scoped _trailers handling in the HTTP/1.1 request processing path. An attacker can expose stale trailer fields to a later request on the same keep-alive connection by sending a request with trailers and then a follow-on request without them. The server reuses the same HttpConnection state across requests, so application code that reads request.getTrailers() on the second request can see trailer data from the first request. This can cause incorrect request handling and leakage of request metadata between requests handled on the same connection.

Remediation

Upgrade org.eclipse.jetty:jetty-server to version 12.0.36, 12.1.10 or higher.

References

medium severity

Improper Validation of Consistency within Input

  • Vulnerable module: org.eclipse.jetty:jetty-server
  • Introduced through: org.eclipse.jetty:jetty-server@12.1.5 and org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty:jetty-server@12.1.5
    Remediation: Upgrade to org.eclipse.jetty:jetty-server@12.1.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5 org.eclipse.jetty:jetty-server@12.1.5
    Remediation: Upgrade to org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5 org.eclipse.jetty:jetty-security@12.1.5 org.eclipse.jetty:jetty-server@12.1.5
    Remediation: Upgrade to org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5 org.eclipse.jetty:jetty-session@12.1.5 org.eclipse.jetty:jetty-server@12.1.5
    Remediation: Upgrade to org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.9.

Overview

org.eclipse.jetty:jetty-server is a lightweight highly scalable java based web server and servlet engine.

Affected versions of this package are vulnerable to Improper Validation of Consistency within Input through ComplianceUtils.verify(HttpURI, HttpFields, HttpCompliance, ComplianceViolation.Listener) in jetty-core/jetty-http/src/main/java/org/eclipse/jetty/http/ComplianceUtils.java. An attacker can bypass host consistency checks by sending a request whose :authority pseudo-header and Host header name different hosts, causing Jetty to accept the request and expose conflicting host identities to different code paths. This lets attacker-controlled host information survive inside the request, so logic that relies on Request.getServerName() or the URI authority can see one host while code reading the raw Host header sees another. In deployments that use host-based routing, ACLs, redirects, or tenant isolation, this can lead to incorrect request handling, host-based access control bypass, and attacker-influenced URL generation or logging.

Notes

  • HTTP/1.1 already had its own authority/Host consistency path in HttpConnection/HttpChannelState; the gap was in the HTTP/2 and HTTP/3 server entry flow where the shared compliance check was invoked before that comparison happened.
  • The mismatch check only rejects when both values are present and differ after normalizing case and default ports, so requests with only one of :authority or Host present are not part of this issue.

Remediation

Upgrade org.eclipse.jetty:jetty-server to version 9.4.61, 10.0.29, 11.0.29, 12.0.35, 12.1.9 or higher.

References

medium severity

Use of Non-Canonical URL Paths for Authorization Decisions

  • Vulnerable module: org.eclipse.jetty:jetty-util
  • Introduced through: org.eclipse.jetty:jetty-server@12.1.5 and org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty:jetty-server@12.1.5 org.eclipse.jetty:jetty-io@12.1.5 org.eclipse.jetty:jetty-util@12.1.5
    Remediation: Upgrade to org.eclipse.jetty:jetty-server@12.1.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty:jetty-server@12.1.5 org.eclipse.jetty:jetty-http@12.1.5 org.eclipse.jetty:jetty-util@12.1.5
    Remediation: Upgrade to org.eclipse.jetty:jetty-server@12.1.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty:jetty-server@12.1.5 org.eclipse.jetty:jetty-http@12.1.5 org.eclipse.jetty:jetty-io@12.1.5 org.eclipse.jetty:jetty-util@12.1.5
    Remediation: Upgrade to org.eclipse.jetty:jetty-server@12.1.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5 org.eclipse.jetty:jetty-server@12.1.5 org.eclipse.jetty:jetty-io@12.1.5 org.eclipse.jetty:jetty-util@12.1.5
    Remediation: Upgrade to org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5 org.eclipse.jetty:jetty-server@12.1.5 org.eclipse.jetty:jetty-http@12.1.5 org.eclipse.jetty:jetty-util@12.1.5
    Remediation: Upgrade to org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5 org.eclipse.jetty:jetty-server@12.1.5 org.eclipse.jetty:jetty-http@12.1.5 org.eclipse.jetty:jetty-io@12.1.5 org.eclipse.jetty:jetty-util@12.1.5
    Remediation: Upgrade to org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5 org.eclipse.jetty:jetty-security@12.1.5 org.eclipse.jetty:jetty-server@12.1.5 org.eclipse.jetty:jetty-io@12.1.5 org.eclipse.jetty:jetty-util@12.1.5
    Remediation: Upgrade to org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5 org.eclipse.jetty:jetty-session@12.1.5 org.eclipse.jetty:jetty-server@12.1.5 org.eclipse.jetty:jetty-io@12.1.5 org.eclipse.jetty:jetty-util@12.1.5
    Remediation: Upgrade to org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5 org.eclipse.jetty:jetty-security@12.1.5 org.eclipse.jetty:jetty-server@12.1.5 org.eclipse.jetty:jetty-http@12.1.5 org.eclipse.jetty:jetty-util@12.1.5
    Remediation: Upgrade to org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5 org.eclipse.jetty:jetty-session@12.1.5 org.eclipse.jetty:jetty-server@12.1.5 org.eclipse.jetty:jetty-http@12.1.5 org.eclipse.jetty:jetty-util@12.1.5
    Remediation: Upgrade to org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5 org.eclipse.jetty:jetty-security@12.1.5 org.eclipse.jetty:jetty-server@12.1.5 org.eclipse.jetty:jetty-http@12.1.5 org.eclipse.jetty:jetty-io@12.1.5 org.eclipse.jetty:jetty-util@12.1.5
    Remediation: Upgrade to org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.5 org.eclipse.jetty:jetty-session@12.1.5 org.eclipse.jetty:jetty-server@12.1.5 org.eclipse.jetty:jetty-http@12.1.5 org.eclipse.jetty:jetty-io@12.1.5 org.eclipse.jetty:jetty-util@12.1.5
    Remediation: Upgrade to org.eclipse.jetty.ee10:jetty-ee10-servlet@12.1.9.

Overview

org.eclipse.jetty:jetty-util is a Web Container & Clients - supports HTTP/2, HTTP/1.1, HTTP/1.0, websocket, servlets, and more.

Affected versions of this package are vulnerable to Use of Non-Canonical URL Paths for Authorization Decisions due to incorrect handling of ; path-parameter segments in the canonicalization loop. An attacker can bypass path-based security checks or reach protected content by sending a request such as /public;/../admin/secret, which leaves the .. segment unnormalized when the path is matched against constraints like SecurityHandler.PathMapped. When the semicolon segment is followed by / and then . or .., the parser carries forward a stale slash state and returns a non-normalized canonical path. That can let requests intended for a protected prefix such as /admin/* be treated as outside the protected path, resulting in unauthorized access to resources that should require authentication.

Remediation

Upgrade org.eclipse.jetty:jetty-util to version 12.0.35, 12.1.9 or higher.

References

medium severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: org.springframework:spring-core
  • Introduced through: org.springframework:spring-beans@6.2.15, org.springframework:spring-context@6.2.15 and others

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-beans@6.2.18.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-context@6.2.18.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.10.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context-support@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-context-support@6.2.18.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-web@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-web@6.2.18.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.18.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-context@6.2.18.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.10.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context-support@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-context-support@6.2.18.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-web@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-web@6.2.18.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.18.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-context@6.2.18.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-aop@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.10.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.18.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-context@6.2.18.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-expression@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.10.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-expression@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.18.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.10.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context-support@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-context-support@6.2.18.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.18.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.10.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-web@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.18.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-context@6.2.18.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-aop@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.10.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.18.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.10.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context-support@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-context-support@6.2.18.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.18.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.10.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-web@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.18.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.10.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context-support@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-context-support@6.2.18.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.18.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-aop@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.10.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.10.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context-support@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-context-support@6.2.18.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.18.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-expression@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.10.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.10.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.10.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context-support@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-context-support@6.2.18.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.18.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-aop@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.10.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.10.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.10.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.10.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.10.

Overview

org.springframework:spring-core is a core package within the spring-framework that contains multiple classes and utilities.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via static resource resolution. An attacker can cause denial of service by sending crafted requests that are slow to resolve when accessing file-system-backed static resources, causing HTTP connections to remain occupied and exhausting server resources.

Note: This is only exploitable if all the following are true:

  1. The application uses Spring MVC or Spring WebFlux.

  2. Static resources are served from the file system.

  3. The application is running on Windows.

Remediation

Upgrade org.springframework:spring-core to version 6.2.18, 7.0.7 or higher.

References

medium severity

Exposed Dangerous Method or Function

  • Vulnerable module: org.springframework:spring-expression
  • Introduced through: org.springframework:spring-context@6.2.15, org.springframework.security:spring-security-web@6.5.7 and others

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework:spring-context@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context-support@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework:spring-context-support@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.

Overview

Affected versions of this package are vulnerable to Exposed Dangerous Method or Function via Spring Expression Language (SpEL) method invocation handling. An attacker can invoke arbitrary zero-argument methods by supplying crafted SpEL expressions, even in contexts intended to restrict method execution or provide read-only access. This may allow execution of unintended application logic and access to functionality that should not be exposed through expression evaluation.

Note: This is only exploitable if the application accepts and evaluates untrusted or user-controlled SpEL expressions.

Remediation

Upgrade org.springframework:spring-expression to version 6.0.0, 6.2.19, 7.0.8 or higher.

References

medium severity

HTTP Request Smuggling

  • Vulnerable module: org.springframework:spring-webmvc
  • Introduced through: org.springframework:spring-webmvc@6.2.15

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.

Overview

org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.

Affected versions of this package are vulnerable to HTTP Request Smuggling. via multipart request parsing discrepancies between Spring MVC/WebFlux and intermediary security devices. An attacker can bypass Web Application Firewall (WAF) or proxy security controls by sending crafted multipart requests that are interpreted differently by the intermediary and the Spring application, allowing malicious content to evade inspection and reach the backend application.

Remediation

Upgrade org.springframework:spring-webmvc to version 6.0.0, 6.2.19, 7.0.8 or higher.

References

medium severity

Improper Access Control

  • Vulnerable module: com.hazelcast:hazelcast
  • Introduced through: com.hazelcast:hazelcast@4.2.8

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp com.hazelcast:hazelcast@4.2.8
    Remediation: Upgrade to com.hazelcast:hazelcast@5.2.5.

Overview

com.hazelcast:hazelcast is a clustering and highly scalable data distribution platform.

Affected versions of this package are vulnerable to Improper Access Control due to inadequate permission checking, within the SQL mapping for the CSV File Source connector. This could enable unauthorized clients to access data from files stored on a member's filesystem.

Workaround

This vulnerability can be avoided by disabling the Hazelcast Jet processing engine in Hazelcast member configuration - which will result in SQL and Jet jobs not working.

Remediation

Upgrade com.hazelcast:hazelcast to version 5.2.5, 5.3.5 or higher.

References

medium severity

Insufficiently Protected Credentials

  • Vulnerable module: com.hazelcast:hazelcast
  • Introduced through: com.hazelcast:hazelcast@4.2.8

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp com.hazelcast:hazelcast@4.2.8
    Remediation: Upgrade to com.hazelcast:hazelcast@5.1.6.

Overview

com.hazelcast:hazelcast is a clustering and highly scalable data distribution platform.

Affected versions of this package are vulnerable to Insufficiently Protected Credentials via the ConfigXmlGenerator component due to improper password masking in the member configurations. Exploiting this vulnerability allows Hazelcast Management Center users to view members' secrets.

Remediation

Upgrade com.hazelcast:hazelcast to version 5.1.6, 5.3.0 or higher.

References

medium severity

Deserialization of Untrusted Data

  • Vulnerable module: ch.qos.logback:logback-classic
  • Introduced through: ch.qos.logback:logback-classic@1.5.25

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp ch.qos.logback:logback-classic@1.5.25
    Remediation: Upgrade to ch.qos.logback:logback-classic@1.5.33.

Overview

ch.qos.logback:logback-classic is a reliable, generic, fast and flexible logging library for Java.

Affected versions of this package are vulnerable to Deserialization of Untrusted Data in HardenedObjectInputStream, whose resolveClass allowlist admitted any class whose name starts with java.lang or java.util rather than matching specific authorized classes. An attacker can instantiate dangerous classes such as java.lang.ProcessBuilder during deserialization, reaching remote code execution through a gadget chain, by delivering a malicious serialized object to a logback component that deserializes it, such as its socket receiver for serialized logging events (SocketNode). Exploitation requires the application to deserialize attacker-controlled serialized data through logback, in practice via its socket-based receiver, together with a usable gadget class on the classpath.

Workaround

This vulnerability can be avoided by not exposing logback's socket-based serialized receivers, such as SocketReceiver and ServerSocketReceiver, to untrusted networks, which removes the path by which attacker-controlled serialized objects reach the deserialization filter.

Details

Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating object from sequence of bytes is called deserialization. Serialization is commonly used for communication (sharing objects between multiple hosts) and persistence (store the object state in a file or a database). It is an integral part of popular protocols like Remote Method Invocation (RMI), Java Management Extension (JMX), Java Messaging System (JMS), Action Message Format (AMF), Java Server Faces (JSF) ViewState, etc.

Deserialization of untrusted data (CWE-502) is when the application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, thus allowing the attacker to control the state or the flow of the execution.

Remediation

Upgrade ch.qos.logback:logback-classic to version 1.5.33 or higher.

References

medium severity

Deserialization of Untrusted Data

  • Vulnerable module: ch.qos.logback:logback-core
  • Introduced through: ch.qos.logback:logback-classic@1.5.25

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp ch.qos.logback:logback-classic@1.5.25 ch.qos.logback:logback-core@1.5.25
    Remediation: Upgrade to ch.qos.logback:logback-classic@1.5.33.

Overview

ch.qos.logback:logback-core is a logback-core module.

Affected versions of this package are vulnerable to Deserialization of Untrusted Data in HardenedObjectInputStream, whose resolveClass allowlist admitted any class whose name starts with java.lang or java.util rather than matching specific authorized classes. An attacker can instantiate dangerous classes such as java.lang.ProcessBuilder during deserialization, reaching remote code execution through a gadget chain, by delivering a malicious serialized object to a logback component that deserializes it, such as its socket receiver for serialized logging events (SocketNode). Exploitation requires the application to deserialize attacker-controlled serialized data through logback, in practice via its socket-based receiver, together with a usable gadget class on the classpath.

Workaround

This vulnerability can be avoided by not exposing logback's socket-based serialized receivers, such as SocketReceiver and ServerSocketReceiver, to untrusted networks, which removes the path by which attacker-controlled serialized objects reach the deserialization filter.

Details

Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating object from sequence of bytes is called deserialization. Serialization is commonly used for communication (sharing objects between multiple hosts) and persistence (store the object state in a file or a database). It is an integral part of popular protocols like Remote Method Invocation (RMI), Java Management Extension (JMX), Java Messaging System (JMS), Action Message Format (AMF), Java Server Faces (JSF) ViewState, etc.

Deserialization of untrusted data (CWE-502) is when the application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, thus allowing the attacker to control the state or the flow of the execution.

Remediation

Upgrade ch.qos.logback:logback-core to version 1.5.33 or higher.

References

medium severity
new

Deserialization of Untrusted Data

  • Vulnerable module: com.fasterxml.jackson.core:jackson-databind
  • Introduced through: com.fasterxml.jackson.core:jackson-databind@2.20.1

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp com.fasterxml.jackson.core:jackson-databind@2.20.1
    Remediation: Upgrade to com.fasterxml.jackson.core:jackson-databind@2.21.6.

Overview

com.fasterxml.jackson.core:jackson-databind is a library which contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor.

Affected versions of this package are vulnerable to Deserialization of Untrusted Data in the isSafeSubType() method of DefaultBaseTypeLimitingValidator, whose denylist of unsafe base types omits java.lang.Comparable, so the method returns true for any subtype resolved under a Comparable base. An attacker can trigger instantiation of arbitrary classes that implement Comparable, such as java.io.File to reach path-traversal primitives, by sending JSON with attacker-controlled type identifiers. This requires the application to use a bare @JsonTypeInfo with the default validator and no explicit PolymorphicTypeValidator, and a property or class whose declared base type is Comparable.

Workaround

This vulnerability can be avoided by configuring an explicit restrictive PolymorphicTypeValidator, such as a BasicPolymorphicTypeValidator allowlist passed to activateDefaultTyping(), instead of relying on the default validator.

Note: The discoverer of this vulnerability reports that "I have not identified a class implementing Comparable that yields code execution purely through deserialization".

Details

Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating object from sequence of bytes is called deserialization. Serialization is commonly used for communication (sharing objects between multiple hosts) and persistence (store the object state in a file or a database). It is an integral part of popular protocols like Remote Method Invocation (RMI), Java Management Extension (JMX), Java Messaging System (JMS), Action Message Format (AMF), Java Server Faces (JSF) ViewState, etc.

Deserialization of untrusted data (CWE-502) is when the application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, thus allowing the attacker to control the state or the flow of the execution.

Remediation

Upgrade com.fasterxml.jackson.core:jackson-databind to version 2.18.10, 2.21.6, 2.22.2 or higher.

References

medium severity

Regular Expression Denial of Service (ReDoS)

  • Vulnerable module: org.springframework:spring-core
  • Introduced through: org.springframework:spring-beans@6.2.15, org.springframework:spring-context@6.2.15 and others

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-beans@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-context@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context-support@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-context-support@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-web@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-web@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-context@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context-support@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-context-support@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-web@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-web@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-context@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-aop@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-context@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-expression@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-expression@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context-support@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-context-support@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-web@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-context@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-aop@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context-support@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-context-support@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-web@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context-support@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-context-support@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-aop@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context-support@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-context-support@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-expression@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-context-support@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-context-support@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-context@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-aop@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-expression@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7 org.springframework:spring-context@6.2.15 org.springframework:spring-aop@6.2.15 org.springframework:spring-beans@6.2.15 org.springframework:spring-core@6.2.15
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.

Overview

org.springframework:spring-core is a core package within the spring-framework that contains multiple classes and utilities.

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via pattern processing in AntPathMatcher. An attacker can cause denial of service by supplying a crafted regular expression pattern to methods such as match(), matchStart(), or extractUriTemplateVariables(), triggering excessive backtracking and CPU consumption during pattern evaluation.

Note: This is only exploitable if attacker-controlled input is used directly or indirectly as the pattern argument to one of the affected AntPathMatcher methods.

Details

Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its original and legitimate users. There are many types of DoS attacks, ranging from trying to clog the network pipes to the system by generating a large volume of traffic from many machines (a Distributed Denial of Service - DDoS - attack) to sending crafted requests that cause a system to crash or take a disproportional amount of time to process.

The Regular expression Denial of Service (ReDoS) is a type of Denial of Service attack. Regular expressions are incredibly powerful, but they aren't very intuitive and can ultimately end up making it easy for attackers to take your site down.

Let’s take the following regular expression as an example:

regex = /A(B|C+)+D/

This regular expression accomplishes the following:

  • A The string must start with the letter 'A'
  • (B|C+)+ The string must then follow the letter A with either the letter 'B' or some number of occurrences of the letter 'C' (the + matches one or more times). The + at the end of this section states that we can look for one or more matches of this section.
  • D Finally, we ensure this section of the string ends with a 'D'

The expression would match inputs such as ABBD, ABCCCCD, ABCBCCCD and ACCCCCD

It most cases, it doesn't take very long for a regex engine to find a match:

$ time node -e '/A(B|C+)+D/.test("ACCCCCCCCCCCCCCCCCCCCCCCCCCCCD")'
0.04s user 0.01s system 95% cpu 0.052 total

$ time node -e '/A(B|C+)+D/.test("ACCCCCCCCCCCCCCCCCCCCCCCCCCCCX")'
1.79s user 0.02s system 99% cpu 1.812 total

The entire process of testing it against a 30 characters long string takes around ~52ms. But when given an invalid string, it takes nearly two seconds to complete the test, over ten times as long as it took to test a valid string. The dramatic difference is due to the way regular expressions get evaluated.

Most Regex engines will work very similarly (with minor differences). The engine will match the first possible way to accept the current character and proceed to the next one. If it then fails to match the next one, it will backtrack and see if there was another way to digest the previous character. If it goes too far down the rabbit hole only to find out the string doesn’t match in the end, and if many characters have multiple valid regex paths, the number of backtracking steps can become very large, resulting in what is known as catastrophic backtracking.

Let's look at how our expression runs into this problem, using a shorter string: "ACCCX". While it seems fairly straightforward, there are still four different ways that the engine could match those three C's:

  1. CCC
  2. CC+C
  3. C+CC
  4. C+C+C.

The engine has to try each of those combinations to see if any of them potentially match against the expression. When you combine that with the other steps the engine must take, we can use RegEx 101 debugger to see the engine has to take a total of 38 steps before it can determine the string doesn't match.

From there, the number of steps the engine must use to validate a string just continues to grow.

String Number of C's Number of steps
ACCCX 3 38
ACCCCX 4 71
ACCCCCX 5 136
ACCCCCCCCCCCCCCX 14 65,553

By the time the string includes 14 C's, the engine has to take over 65,000 steps just to see if the string is valid. These extreme situations can cause them to work very slowly (exponentially related to input size, as shown above), allowing an attacker to exploit this and can cause the service to excessively consume CPU, resulting in a Denial of Service.

Remediation

Upgrade org.springframework:spring-core to version 6.0.0, 6.2.19, 7.0.8 or higher.

References

medium severity
new

HTTP Response Splitting

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework:spring-web@6.2.15 and org.springframework:spring-webmvc@6.2.15

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-web@6.2.15
    Remediation: Upgrade to org.springframework:spring-web@7.0.9.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-web@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@7.0.9.

Overview

org.springframework:spring-web is a package that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

Affected versions of this package are vulnerable to HTTP Response Splitting via the Content-Disposition header when untrusted input is used to construct its value. An attacker can inject malicious characters to break the HTTP header or corrupt the framing of an outbound multipart body by supplying specially crafted file names or values.

Note: This is only exploitable if the application uses non-default or legacy HTTP connectors that do not reject malicious characters in header values, or if untrusted input is used to set the Content-Disposition of a part in an outbound multipart request body.

Remediation

Upgrade org.springframework:spring-web to version 7.0.9 or higher.

References

medium severity

Server-side Request Forgery (SSRF)

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework:spring-web@6.2.15 and org.springframework:spring-webmvc@6.2.15

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-web@6.2.15
    Remediation: Upgrade to org.springframework:spring-web@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-web@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.

Overview

org.springframework:spring-web is a package that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via incorrect host parsing in UriComponentsBuilder. An attacker can perform server-side request forgery by supplying a crafted URL that is interpreted differently than intended during validation, allowing requests to be sent to unintended hosts despite application-level hostname validation checks.

Remediation

Upgrade org.springframework:spring-web to version 6.2.19, 7.0.8 or higher.

References

medium severity

Information Exposure

  • Vulnerable module: org.springframework.security:spring-security-core
  • Introduced through: org.springframework.security:spring-security-web@6.5.7

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.10.

Overview

org.springframework.security:spring-security-core is a package that provides security services for the Spring IO Platform.

Affected versions of this package are vulnerable to Information Exposure in the DaoAuthenticationProvider component. An attacker can determine the status of user attributes such as enabled, expired, or locked by analyzing response times, potentially allowing user attribute enumeration through timing analysis.

Remediation

Upgrade org.springframework.security:spring-security-core to version 6.5.10, 7.0.5 or higher.

References

medium severity

Time-of-check Time-of-use (TOCTOU) Race Condition

  • Vulnerable module: org.springframework.security:spring-security-core
  • Introduced through: org.springframework.security:spring-security-web@6.5.7

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7 org.springframework.security:spring-security-core@6.5.7
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.10.

Overview

org.springframework.security:spring-security-core is a package that provides security services for the Spring IO Platform.

Affected versions of this package are vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition in the JdbcOneTimeTokenService component. An attacker can gain unauthorized access to multiple sessions by reusing a single one-time token during authentication.

Note:

This is only exploitable if the application is explicitly configured to use One-Time Token login with JdbcOneTimeTokenService.

Remediation

Upgrade org.springframework.security:spring-security-core to version 6.5.10, 7.0.5 or higher.

References

medium severity
new

Cross-site Scripting (XSS)

  • Vulnerable module: org.springframework:spring-webmvc
  • Introduced through: org.springframework:spring-webmvc@6.2.15

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@7.0.9.

Overview

org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) when sending view fragments over Server-Sent Events (SSE). An attacker can cause data streams to be corrupted and potentially inject malicious information to other users by controlling the data that is streamed to clients.

Note: This is only exploitable if the application uses Spring MVC or Spring WebFlux, sends view fragments via SSE, and the attacker can control the streamed data.

Details

Cross-site scripting (or XSS) is a code vulnerability that occurs when an attacker “injects” a malicious script into an otherwise trusted website. The injected script gets downloaded and executed by the end user’s browser when the user interacts with the compromised website.

This is done by escaping the context of the web application; the web application then delivers that data to its users along with other trusted dynamic content, without validating it. The browser unknowingly executes malicious script on the client side (through client-side languages; usually JavaScript or HTML) in order to perform actions that are otherwise typically blocked by the browser’s Same Origin Policy.

Injecting malicious code is the most prevalent manner by which XSS is exploited; for this reason, escaping characters in order to prevent this manipulation is the top method for securing code against this vulnerability.

Escaping means that the application is coded to mark key characters, and particularly key characters included in user input, to prevent those characters from being interpreted in a dangerous context. For example, in HTML, < can be coded as &lt; and > can be coded as &gt; in order to be interpreted and displayed as themselves in text, while within the code itself, they are used for HTML tags. If malicious content is injected into an application that escapes special characters and that malicious content uses < and > as HTML tags, those characters are nonetheless not interpreted as HTML tags by the browser if they’ve been correctly escaped in the application code and in this way the attempted attack is diverted.

The most prominent use of XSS is to steal cookies (source: OWASP HttpOnly) and hijack user sessions, but XSS exploits have been used to expose sensitive information, enable access to privileged services and functionality and deliver malware.

Types of attacks

There are a few methods by which XSS can be manipulated:

Type Origin Description
Stored Server The malicious code is inserted in the application (usually as a link) by the attacker. The code is activated every time a user clicks the link.
Reflected Server The attacker delivers a malicious link externally from the vulnerable web site application to a user. When clicked, malicious code is sent to the vulnerable web site, which reflects the attack back to the user’s browser.
DOM-based Client The attacker forces the user’s browser to render a malicious page. The data in the page itself delivers the cross-site scripting data.
Mutated The attacker injects code that appears safe, but is then rewritten and modified by the browser, while parsing the markup. An example is rebalancing unclosed quotation marks or even adding quotation marks to unquoted parameters.

Affected environments

The following environments are susceptible to an XSS attack:

  • Web servers
  • Application servers
  • Web application environments

How to prevent

This section describes the top best practices designed to specifically protect your code:

  • Sanitize data input in an HTTP request before reflecting it back, ensuring all data is validated, filtered or escaped before echoing anything back to the user, such as the values of query parameters during searches.
  • Convert special characters such as ?, &, /, <, > and spaces to their respective HTML or URL encoded equivalents.
  • Give users the option to disable client-side scripts.
  • Redirect invalid requests.
  • Detect simultaneous logins, including those from two separate IP addresses, and invalidate those sessions.
  • Use and enforce a Content Security Policy (source: Wikipedia) to disable any features that might be manipulated for an XSS attack.
  • Read the documentation for any of the libraries referenced in your code to understand which elements allow for embedded HTML.

Remediation

Upgrade org.springframework:spring-webmvc to version 7.0.9 or higher.

References

medium severity
new

Relative Path Traversal

  • Vulnerable module: org.freemarker:freemarker
  • Introduced through: org.freemarker:freemarker@2.3.34

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.freemarker:freemarker@2.3.34
    Remediation: Upgrade to org.freemarker:freemarker@2.3.35.

Overview

org.freemarker:freemarker is a "template engine"; a generic tool to generate text output (anything from HTML to auto generated source code) based on templates.

Affected versions of this package are vulnerable to Relative Path Traversal through the ClassTemplateLoader and WebappTemplateLoader template-loading paths. An attacker can force loading of templates outside the intended base package or webapp subdirectory by supplying a malformed locale or template name that backs out with .. segments, causing FreeMarker to resolve unintended resources during localized lookup. This can let the attacker read templates or other loader-backed resources the configured TemplateLoader can reach, breaking application rendering and exposing content that should not be selected by template lookup.

Workarounds

  • Disable localized lookup in FreeMarker configurations that are still on affected versions; this prevents the malformed-locale path traversal from being exercised during template lookup.

Remediation

Upgrade org.freemarker:freemarker to version 2.3.35 or higher.

References

medium severity

Cross-site Scripting (XSS)

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework:spring-web@6.2.15 and org.springframework:spring-webmvc@6.2.15

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-web@6.2.15
    Remediation: Upgrade to org.springframework:spring-web@6.2.19.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-web@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.

Overview

org.springframework:spring-web is a package that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via improper escaping in JavaScriptUtils.javaScriptEscape(). An attacker can inject arbitrary JavaScript code into a web page when user-controlled input is escaped using javaScriptEscape() and subsequently embedded into a JavaScript context. Incorrect escaping may allow malicious input to break out of the intended context and execute in the victim's browser.

Details

Cross-site scripting (or XSS) is a code vulnerability that occurs when an attacker “injects” a malicious script into an otherwise trusted website. The injected script gets downloaded and executed by the end user’s browser when the user interacts with the compromised website.

This is done by escaping the context of the web application; the web application then delivers that data to its users along with other trusted dynamic content, without validating it. The browser unknowingly executes malicious script on the client side (through client-side languages; usually JavaScript or HTML) in order to perform actions that are otherwise typically blocked by the browser’s Same Origin Policy.

Injecting malicious code is the most prevalent manner by which XSS is exploited; for this reason, escaping characters in order to prevent this manipulation is the top method for securing code against this vulnerability.

Escaping means that the application is coded to mark key characters, and particularly key characters included in user input, to prevent those characters from being interpreted in a dangerous context. For example, in HTML, < can be coded as &lt; and > can be coded as &gt; in order to be interpreted and displayed as themselves in text, while within the code itself, they are used for HTML tags. If malicious content is injected into an application that escapes special characters and that malicious content uses < and > as HTML tags, those characters are nonetheless not interpreted as HTML tags by the browser if they’ve been correctly escaped in the application code and in this way the attempted attack is diverted.

The most prominent use of XSS is to steal cookies (source: OWASP HttpOnly) and hijack user sessions, but XSS exploits have been used to expose sensitive information, enable access to privileged services and functionality and deliver malware.

Types of attacks

There are a few methods by which XSS can be manipulated:

Type Origin Description
Stored Server The malicious code is inserted in the application (usually as a link) by the attacker. The code is activated every time a user clicks the link.
Reflected Server The attacker delivers a malicious link externally from the vulnerable web site application to a user. When clicked, malicious code is sent to the vulnerable web site, which reflects the attack back to the user’s browser.
DOM-based Client The attacker forces the user’s browser to render a malicious page. The data in the page itself delivers the cross-site scripting data.
Mutated The attacker injects code that appears safe, but is then rewritten and modified by the browser, while parsing the markup. An example is rebalancing unclosed quotation marks or even adding quotation marks to unquoted parameters.

Affected environments

The following environments are susceptible to an XSS attack:

  • Web servers
  • Application servers
  • Web application environments

How to prevent

This section describes the top best practices designed to specifically protect your code:

  • Sanitize data input in an HTTP request before reflecting it back, ensuring all data is validated, filtered or escaped before echoing anything back to the user, such as the values of query parameters during searches.
  • Convert special characters such as ?, &, /, <, > and spaces to their respective HTML or URL encoded equivalents.
  • Give users the option to disable client-side scripts.
  • Redirect invalid requests.
  • Detect simultaneous logins, including those from two separate IP addresses, and invalidate those sessions.
  • Use and enforce a Content Security Policy (source: Wikipedia) to disable any features that might be manipulated for an XSS attack.
  • Read the documentation for any of the libraries referenced in your code to understand which elements allow for embedded HTML.

Remediation

Upgrade org.springframework:spring-web to version 6.0.0, 6.2.19, 7.0.8 or higher.

References

medium severity
new

Open Redirect

  • Vulnerable module: org.springframework:spring-webmvc
  • Introduced through: org.springframework:spring-webmvc@6.2.15

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@7.0.9.

Overview

org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.

Affected versions of this package are vulnerable to Open Redirect in the UrlHandlerFilter process when it is configured with very broadly matching patterns. An attacker can redirect users to arbitrary external sites by crafting a specially constructed URL.

Remediation

Upgrade org.springframework:spring-webmvc to version 7.0.9 or higher.

References

medium severity

Cross-site Scripting (XSS)

  • Vulnerable module: org.springframework:spring-webmvc
  • Introduced through: org.springframework:spring-webmvc@6.2.15

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.

Overview

org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via user-controlled values in the cssClass, cssErrorClass, or cssStyle attributes of JSP <form:*> tags. An attacker can inject arbitrary HTML or JavaScript into rendered pages by supplying crafted values for these attributes, potentially leading to cross-site scripting (XSS) and execution of malicious code in the browser of affected users.

Note: This is only exploitable if the application uses user-controlled input to populate the affected JSP form tag attributes.

Details

Cross-site scripting (or XSS) is a code vulnerability that occurs when an attacker “injects” a malicious script into an otherwise trusted website. The injected script gets downloaded and executed by the end user’s browser when the user interacts with the compromised website.

This is done by escaping the context of the web application; the web application then delivers that data to its users along with other trusted dynamic content, without validating it. The browser unknowingly executes malicious script on the client side (through client-side languages; usually JavaScript or HTML) in order to perform actions that are otherwise typically blocked by the browser’s Same Origin Policy.

Injecting malicious code is the most prevalent manner by which XSS is exploited; for this reason, escaping characters in order to prevent this manipulation is the top method for securing code against this vulnerability.

Escaping means that the application is coded to mark key characters, and particularly key characters included in user input, to prevent those characters from being interpreted in a dangerous context. For example, in HTML, < can be coded as &lt; and > can be coded as &gt; in order to be interpreted and displayed as themselves in text, while within the code itself, they are used for HTML tags. If malicious content is injected into an application that escapes special characters and that malicious content uses < and > as HTML tags, those characters are nonetheless not interpreted as HTML tags by the browser if they’ve been correctly escaped in the application code and in this way the attempted attack is diverted.

The most prominent use of XSS is to steal cookies (source: OWASP HttpOnly) and hijack user sessions, but XSS exploits have been used to expose sensitive information, enable access to privileged services and functionality and deliver malware.

Types of attacks

There are a few methods by which XSS can be manipulated:

Type Origin Description
Stored Server The malicious code is inserted in the application (usually as a link) by the attacker. The code is activated every time a user clicks the link.
Reflected Server The attacker delivers a malicious link externally from the vulnerable web site application to a user. When clicked, malicious code is sent to the vulnerable web site, which reflects the attack back to the user’s browser.
DOM-based Client The attacker forces the user’s browser to render a malicious page. The data in the page itself delivers the cross-site scripting data.
Mutated The attacker injects code that appears safe, but is then rewritten and modified by the browser, while parsing the markup. An example is rebalancing unclosed quotation marks or even adding quotation marks to unquoted parameters.

Affected environments

The following environments are susceptible to an XSS attack:

  • Web servers
  • Application servers
  • Web application environments

How to prevent

This section describes the top best practices designed to specifically protect your code:

  • Sanitize data input in an HTTP request before reflecting it back, ensuring all data is validated, filtered or escaped before echoing anything back to the user, such as the values of query parameters during searches.
  • Convert special characters such as ?, &, /, <, > and spaces to their respective HTML or URL encoded equivalents.
  • Give users the option to disable client-side scripts.
  • Redirect invalid requests.
  • Detect simultaneous logins, including those from two separate IP addresses, and invalidate those sessions.
  • Use and enforce a Content Security Policy (source: Wikipedia) to disable any features that might be manipulated for an XSS attack.
  • Read the documentation for any of the libraries referenced in your code to understand which elements allow for embedded HTML.

Remediation

Upgrade org.springframework:spring-webmvc to version 6.0.0, 6.2.19, 7.0.8 or higher.

References

medium severity

Open Redirect

  • Vulnerable module: org.springframework:spring-webmvc
  • Introduced through: org.springframework:spring-webmvc@6.2.15

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.

Overview

org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.

Affected versions of this package are vulnerable to Open Redirect via view resolution for "/**" mappings without an explicitly specified view name. An attacker can trigger an open redirect by crafting a URL that causes the application to interpret user-controlled input as a view name with the redirect: prefix, resulting in a redirect to an arbitrary external host.

Note: In Spring MVC applications with the same configuration, an attacker can also trigger an internal forward using the forward: prefix.

Remediation

Upgrade org.springframework:spring-webmvc to version 6.0.0, 6.2.19, 7.0.8 or higher.

References

medium severity
new

Open Redirect

  • Vulnerable module: org.springframework:spring-webmvc
  • Introduced through: org.springframework:spring-webmvc@6.2.15

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@7.0.9.

Overview

org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.

Affected versions of this package are vulnerable to Open Redirect in the UrlFileNameViewController file when it is mapped with an end-of-path and lacks a configured prefix. An attacker can redirect users to arbitrary external URLs by crafting a specially constructed request.

Remediation

Upgrade org.springframework:spring-webmvc to version 7.0.9 or higher.

References

medium severity

Open Redirect

  • Vulnerable module: org.springframework.security:spring-security-web
  • Introduced through: org.springframework.security:spring-security-web@6.5.7

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework.security:spring-security-web@6.5.7
    Remediation: Upgrade to org.springframework.security:spring-security-web@6.5.11.

Overview

org.springframework.security:spring-security-web is a package within Spring Security that provides security services for the Spring IO Platform.

Affected versions of this package are vulnerable to Open Redirect in the CookieRequestCache function. An attacker can redirect users to arbitrary external sites by crafting a malicious authentication flow that leverages the unvalidated absolute URL stored in the cookie.

Note:

This is only exploitable if all the following conditions are met:

  • The application uses CookieRequestCache (Servlet) or CookieServerRequestCache (WebFlux) as its RequestCache implementation.

  • An attacker is able to influence the value of the REDIRECT_URI cookie, for example through cookie injection via a related subdomain, an HTTP response splitting attack, or a protocol downgrade from HTTPS to HTTP.

Remediation

Upgrade org.springframework.security:spring-security-web to version 6.5.11, 7.0.6 or higher.

References

medium severity

Dual license: EPL-1.0, LGPL-2.1

  • Module: ch.qos.logback:logback-classic
  • Introduced through: ch.qos.logback:logback-classic@1.5.25

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp ch.qos.logback:logback-classic@1.5.25

Dual license: EPL-1.0, LGPL-2.1

medium severity

Dual license: EPL-1.0, LGPL-2.1

  • Module: ch.qos.logback:logback-core
  • Introduced through: ch.qos.logback:logback-classic@1.5.25

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp ch.qos.logback:logback-classic@1.5.25 ch.qos.logback:logback-core@1.5.25

Dual license: EPL-1.0, LGPL-2.1

low severity

Information Exposure

  • Vulnerable module: org.jetbrains.kotlin:kotlin-stdlib
  • Introduced through: com.slack.api:slack-api-client@1.46.0

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp com.slack.api:slack-api-client@1.46.0 com.squareup.okhttp3:okhttp@4.12.0 org.jetbrains.kotlin:kotlin-stdlib-jdk8@1.8.21 org.jetbrains.kotlin:kotlin-stdlib@1.8.21
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp com.slack.api:slack-api-client@1.46.0 com.squareup.okhttp3:okhttp@4.12.0 org.jetbrains.kotlin:kotlin-stdlib-jdk8@1.8.21 org.jetbrains.kotlin:kotlin-stdlib-jdk7@1.8.21 org.jetbrains.kotlin:kotlin-stdlib@1.8.21
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp com.slack.api:slack-api-client@1.46.0 com.squareup.okhttp3:okhttp@4.12.0 com.squareup.okio:okio@3.6.0 com.squareup.okio:okio-jvm@3.6.0 org.jetbrains.kotlin:kotlin-stdlib-jdk8@1.8.21 org.jetbrains.kotlin:kotlin-stdlib@1.8.21
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp com.slack.api:slack-api-client@1.46.0 com.squareup.okhttp3:okhttp@4.12.0 com.squareup.okio:okio@3.6.0 com.squareup.okio:okio-jvm@3.6.0 org.jetbrains.kotlin:kotlin-stdlib-jdk8@1.8.21 org.jetbrains.kotlin:kotlin-stdlib-jdk7@1.8.21 org.jetbrains.kotlin:kotlin-stdlib@1.8.21

Overview

org.jetbrains.kotlin:kotlin-stdlib is a Kotlin Standard Library for JVM.

Affected versions of this package are vulnerable to Information Exposure. A Kotlin application using createTempDir or createTempFile and placing sensitive information within either of these locations would be leaking this information in a read-only way to other users also on this system.

Note: As of version 1.4.21, the vulnerable functions have been marked as deprecated. Due to still being usable, this advisory is kept as "unfixed".

PoC by JLLeitschuh

package org.jlleitschuh.sandbox

import org.junit.jupiter.api.Test
import java.io.BufferedReader
import java.io.File
import java.io.IOException
import java.io.InputStreamReader
import java.nio.file.Files

class KotlinTempDirectoryPermissionCheck {
    @Test
    fun `kotlin check default directory permissions`() {
        val dir = createTempDir()
        runLS(dir.parentFile, dir) // Prints drwxr-xr-x
    }

    @Test
    fun `Files check default directory permissions`() {
        val dir = Files.createTempDirectory("random-directory")
        runLS(dir.toFile().parentFile, dir.toFile()) // Prints drwx------
    }

    @Test
    fun `kotlin check default file permissions`() {
        val file = createTempFile()
        runLS(file.parentFile, file) // Prints -rw-r--r--
    }

    @Test
    fun `Files check default file permissions`() {
        val file = Files.createTempFile("random-file", ".txt")
        runLS(file.toFile().parentFile, file.toFile()) // Prints -rw-------
    }

    private fun runLS(file: File, lookingFor: File) {
        val processBuilder = ProcessBuilder()
        processBuilder.command("ls", "-l", file.absolutePath)
        try {
            val process = processBuilder.start()
            val output = StringBuilder()
            val reader = BufferedReader(
                InputStreamReader(process.inputStream)
            )
            reader.lines().forEach { line ->
                if (line.contains("total")) {
                    output.append(line).append('\n')
                }
                if (line.contains(lookingFor.name)) {
                    output.append(line).append('\n')
                }
            }
            val exitVal = process.waitFor()
            if (exitVal == 0) {
                println("Success!")
                println(output)
            } else {
                //abnormal...
            }
        } catch (e: IOException) {
            e.printStackTrace()
        } catch (e: InterruptedException) {
            e.printStackTrace()
        }
    }
}

Remediation

Upgrade org.jetbrains.kotlin:kotlin-stdlib to version 2.1.0 or higher.

References

low severity

HTTP Request Smuggling

  • Vulnerable module: org.springframework:spring-webmvc
  • Introduced through: org.springframework:spring-webmvc@6.2.15

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.18.

Overview

org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.

Affected versions of this package are vulnerable to HTTP Request Smuggling via the static resource resolution and caching mechanism. An attacker can poison the resource cache by sending crafted requests that cause resources to be cached with incorrect encodings when resource chain caching and encoded resource resolution are enabled. This can lead to denial of service by breaking front-end resource loading for subsequent clients.

Note: This is only exploitable if all the following is true:

  1. The application is configuring the resource chain support with caching enabled.

  2. The application adds support for encoded resource resolution.

  3. The resource cache must be empty when the attacker has access to the application.

Remediation

Upgrade org.springframework:spring-webmvc to version 6.2.18, 7.0.7 or higher.

References

low severity

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework:spring-web@6.2.15 and org.springframework:spring-webmvc@6.2.15

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-web@6.2.15
    Remediation: Upgrade to org.springframework:spring-web@6.2.17.
  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15 org.springframework:spring-web@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.17.

Overview

org.springframework:spring-web is a package that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'). The vulnerability exists in the handling of Server-Sent Events (SSE) when streaming plain text data. An attacker can inject crafted data into the event stream, breaking message boundaries and corrupting the stream delivered to other clients. By controlling streamed content, an attacker can manipulate how subsequent events are parsed by the client, potentially altering application state or injecting misleading data.

Note:

This is only exploitable if the application streams attacker-controlled data via SSE using unstructured/plain-text messages instead of a structured format (e.g., JSON).

Remediation

Upgrade org.springframework:spring-web to version 6.2.17, 7.0.6 or higher.

References

low severity
new

Improper Neutralization

  • Vulnerable module: org.springframework:spring-webmvc
  • Introduced through: org.springframework:spring-webmvc@6.2.15

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@7.0.9.

Overview

org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.

Affected versions of this package are vulnerable to Improper Neutralization in the ServerResponse.sse process. An attacker can corrupt the data stream sent to other users by injecting malicious or malformed data into the stream when the application uses plain text messages and the attacker controls the streamed data. This is only exploitable if the application uses Spring MVC's functional web framework, streams data using Server Sent Events (SSE), does not use a structured message format like JSON, and allows an attacker to control the streamed data.

Remediation

Upgrade org.springframework:spring-webmvc to version 7.0.9 or higher.

References

low severity

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • Vulnerable module: org.springframework:spring-webmvc
  • Introduced through: org.springframework:spring-webmvc@6.2.15

Detailed paths

  • Introduced through: Cantara/Whydah-SSOLoginWebApp@Cantara/Whydah-SSOLoginWebApp org.springframework:spring-webmvc@6.2.15
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.17.

Overview

org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'). The vulnerability exists in the handling of Server-Sent Events (SSE) when streaming plain text data. An attacker can inject crafted data into the event stream, breaking message boundaries and corrupting the stream delivered to other clients. By controlling streamed content, an attacker can manipulate how subsequent events are parsed by the client, potentially altering application state or injecting misleading data.

Note:

This is only exploitable if the application streams attacker-controlled data via SSE using unstructured/plain-text messages instead of a structured format (e.g., JSON).

Remediation

Upgrade org.springframework:spring-webmvc to version 6.2.17, 7.0.6 or higher.

References