Vulnerabilities

26 via 117 paths

Dependencies

126

Source

GitHub

Find, fix and prevent vulnerabilities in your code.

Issue type
  • 26
  • 2
Severity
  • 3
  • 7
  • 16
  • 2
Status
  • 28
  • 0
  • 0

critical severity
new

Deserialization of Untrusted Data

  • Vulnerable module: com.fasterxml.jackson.core:jackson-databind
  • Introduced through: com.fasterxml.jackson.module:jackson-module-jaxb-annotations@2.22.1, org.glassfish.jersey.media:jersey-media-json-jackson@3.1.11 and others

Detailed paths

  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService com.fasterxml.jackson.module:jackson-module-jaxb-annotations@2.22.1 com.fasterxml.jackson.core:jackson-databind@2.18.0
    Remediation: Upgrade to com.fasterxml.jackson.module:jackson-module-jaxb-annotations@2.22.1.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.glassfish.jersey.media:jersey-media-json-jackson@3.1.11 com.fasterxml.jackson.core:jackson-databind@2.18.0
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.flywaydb:flyway-core@9.22.3 com.fasterxml.jackson.dataformat:jackson-dataformat-toml@2.15.2 com.fasterxml.jackson.core:jackson-databind@2.18.0
    Remediation: Upgrade to org.flywaydb:flyway-core@11.8.1.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.glassfish.jersey.media:jersey-media-json-jackson@3.1.11 com.fasterxml.jackson.module:jackson-module-jakarta-xmlbind-annotations@2.18.0 com.fasterxml.jackson.core:jackson-databind@2.18.0
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.flywaydb:flyway-mysql@9.22.3 org.flywaydb:flyway-core@9.22.3 com.fasterxml.jackson.dataformat:jackson-dataformat-toml@2.15.2 com.fasterxml.jackson.core:jackson-databind@2.18.0
    Remediation: Upgrade to org.flywaydb:flyway-mysql@11.8.1.

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
new

Incomplete List of Disallowed Inputs

  • Vulnerable module: com.fasterxml.jackson.core:jackson-databind
  • Introduced through: com.fasterxml.jackson.module:jackson-module-jaxb-annotations@2.22.1, org.glassfish.jersey.media:jersey-media-json-jackson@3.1.11 and others

Detailed paths

  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService com.fasterxml.jackson.module:jackson-module-jaxb-annotations@2.22.1 com.fasterxml.jackson.core:jackson-databind@2.18.0
    Remediation: Upgrade to com.fasterxml.jackson.module:jackson-module-jaxb-annotations@2.22.1.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.glassfish.jersey.media:jersey-media-json-jackson@3.1.11 com.fasterxml.jackson.core:jackson-databind@2.18.0
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.flywaydb:flyway-core@9.22.3 com.fasterxml.jackson.dataformat:jackson-dataformat-toml@2.15.2 com.fasterxml.jackson.core:jackson-databind@2.18.0
    Remediation: Upgrade to org.flywaydb:flyway-core@11.8.1.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.glassfish.jersey.media:jersey-media-json-jackson@3.1.11 com.fasterxml.jackson.module:jackson-module-jakarta-xmlbind-annotations@2.18.0 com.fasterxml.jackson.core:jackson-databind@2.18.0
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.flywaydb:flyway-mysql@9.22.3 org.flywaydb:flyway-core@9.22.3 com.fasterxml.jackson.dataformat:jackson-dataformat-toml@2.15.2 com.fasterxml.jackson.core:jackson-databind@2.18.0
    Remediation: Upgrade to org.flywaydb:flyway-mysql@11.8.1.

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-servlet@11.0.26 and org.eclipse.jetty:jetty-webapp@11.0.26

Detailed paths

  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.eclipse.jetty:jetty-servlet@11.0.26 org.eclipse.jetty:jetty-security@11.0.26 org.eclipse.jetty:jetty-server@11.0.26 org.eclipse.jetty:jetty-http@11.0.26
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.eclipse.jetty:jetty-webapp@11.0.26 org.eclipse.jetty:jetty-servlet@11.0.26 org.eclipse.jetty:jetty-security@11.0.26 org.eclipse.jetty:jetty-server@11.0.26 org.eclipse.jetty:jetty-http@11.0.26

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

high severity

Uncontrolled Recursion

  • Vulnerable module: commons-lang:commons-lang
  • Introduced through: org.constretto:constretto-core@2.2.3, org.constretto:constretto-spring@2.2.3 and others

Detailed paths

  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.constretto:constretto-core@2.2.3 org.constretto:constretto-api@2.2.3 commons-lang:commons-lang@2.6
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.constretto:constretto-spring@2.2.3 org.constretto:constretto-api@2.2.3 commons-lang:commons-lang@2.6
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService net.whydah.sso:Whydah-Java-SDK@3.1.10 org.constretto:constretto-core@2.2.3 org.constretto:constretto-api@2.2.3 commons-lang:commons-lang@2.6
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.constretto:constretto-spring@2.2.3 org.constretto:constretto-core@2.2.3 org.constretto:constretto-api@2.2.3 commons-lang:commons-lang@2.6
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService net.whydah.sso:Whydah-Java-SDK@3.1.10 com.netflix.hystrix:hystrix-core@1.5.18 com.netflix.archaius:archaius-core@0.4.1 commons-configuration:commons-configuration@1.8 commons-lang:commons-lang@2.6

Overview

Affected versions of this package are vulnerable to Uncontrolled Recursion via the ClassUtils.getClass function. An attacker can cause the application to terminate unexpectedly by providing excessively long input values.

Remediation

There is no fixed version for commons-lang:commons-lang.

References

high severity

Inefficient Algorithmic Complexity

  • Vulnerable module: org.springframework:spring-expression
  • Introduced through: org.springframework:spring-context@6.2.18, org.springframework:spring-webmvc@6.2.18 and others

Detailed paths

  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-context@6.2.18 org.springframework:spring-expression@6.2.18
    Remediation: Upgrade to org.springframework:spring-context@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-expression@6.2.18
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.glassfish.hk2:spring-bridge@3.1.1 org.springframework:spring-context@6.2.18 org.springframework:spring-expression@6.2.18
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-context@6.2.18 org.springframework:spring-expression@6.2.18
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.

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

Allocation of Resources Without Limits or Throttling

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

Detailed paths

  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-beans@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-beans@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-context@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-context@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-jdbc@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-jdbc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-web@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-web@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-context@6.2.18 org.springframework:spring-beans@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-context@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-jdbc@6.2.18 org.springframework:spring-beans@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-jdbc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-web@6.2.18 org.springframework:spring-beans@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-web@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-beans@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-context@6.2.18 org.springframework:spring-aop@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-context@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-aop@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-context@6.2.18 org.springframework:spring-expression@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-context@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-expression@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.glassfish.hk2:spring-bridge@3.1.1 org.springframework:spring-context@6.2.18 org.springframework:spring-core@6.2.18
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-context@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-jdbc@6.2.18 org.springframework:spring-tx@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-jdbc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-web@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-context@6.2.18 org.springframework:spring-aop@6.2.18 org.springframework:spring-beans@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-context@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-aop@6.2.18 org.springframework:spring-beans@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.glassfish.hk2:spring-bridge@3.1.1 org.springframework:spring-context@6.2.18 org.springframework:spring-beans@6.2.18 org.springframework:spring-core@6.2.18
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-context@6.2.18 org.springframework:spring-beans@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-jdbc@6.2.18 org.springframework:spring-tx@6.2.18 org.springframework:spring-beans@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-jdbc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-web@6.2.18 org.springframework:spring-beans@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.glassfish.hk2:spring-bridge@3.1.1 org.springframework:spring-context@6.2.18 org.springframework:spring-aop@6.2.18 org.springframework:spring-core@6.2.18
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-context@6.2.18 org.springframework:spring-aop@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.glassfish.hk2:spring-bridge@3.1.1 org.springframework:spring-context@6.2.18 org.springframework:spring-expression@6.2.18 org.springframework:spring-core@6.2.18
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-context@6.2.18 org.springframework:spring-expression@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.glassfish.hk2:spring-bridge@3.1.1 org.springframework:spring-context@6.2.18 org.springframework:spring-aop@6.2.18 org.springframework:spring-beans@6.2.18 org.springframework:spring-core@6.2.18
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-context@6.2.18 org.springframework:spring-aop@6.2.18 org.springframework:spring-beans@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.

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 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-core to version 6.0.0, 6.2.19, 7.0.8 or higher.

References

high severity

Missing Release of Memory after Effective Lifetime

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

Detailed paths

  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-web@6.2.18
    Remediation: Upgrade to org.springframework:spring-web@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-web@6.2.18
    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 Missing Release of Memory after Effective Lifetime via multipart request processing in Spring WebFlux. An attacker can cause denial of service by sending crafted multipart requests that trigger a memory leak during request processing, leading to excessive memory consumption and potentially causing the application to become unavailable.

Note: This is only exploitable if the application uses Spring WebFlux and exposes an endpoint that accepts multipart requests.

Remediation

Upgrade org.springframework:spring-web to version 6.0.0, 6.2.19, 7.0.8 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.18

Detailed paths

  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18
    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.18

Detailed paths

  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18
    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.18

Detailed paths

  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18
    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

medium severity
new

Improperly Controlled Modification of Dynamically-Determined Object Attributes

  • Vulnerable module: com.fasterxml.jackson.core:jackson-databind
  • Introduced through: com.fasterxml.jackson.module:jackson-module-jaxb-annotations@2.22.1, org.glassfish.jersey.media:jersey-media-json-jackson@3.1.11 and others

Detailed paths

  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService com.fasterxml.jackson.module:jackson-module-jaxb-annotations@2.22.1 com.fasterxml.jackson.core:jackson-databind@2.18.0
    Remediation: Upgrade to com.fasterxml.jackson.module:jackson-module-jaxb-annotations@2.22.1.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.glassfish.jersey.media:jersey-media-json-jackson@3.1.11 com.fasterxml.jackson.core:jackson-databind@2.18.0
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.flywaydb:flyway-core@9.22.3 com.fasterxml.jackson.dataformat:jackson-dataformat-toml@2.15.2 com.fasterxml.jackson.core:jackson-databind@2.18.0
    Remediation: Upgrade to org.flywaydb:flyway-core@11.8.1.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.glassfish.jersey.media:jersey-media-json-jackson@3.1.11 com.fasterxml.jackson.module:jackson-module-jakarta-xmlbind-annotations@2.18.0 com.fasterxml.jackson.core:jackson-databind@2.18.0
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.flywaydb:flyway-mysql@9.22.3 org.flywaydb:flyway-core@9.22.3 com.fasterxml.jackson.dataformat:jackson-dataformat-toml@2.15.2 com.fasterxml.jackson.core:jackson-databind@2.18.0
    Remediation: Upgrade to org.flywaydb:flyway-mysql@11.8.1.

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
new

Server-side Request Forgery (SSRF)

  • Vulnerable module: com.fasterxml.jackson.core:jackson-databind
  • Introduced through: com.fasterxml.jackson.module:jackson-module-jaxb-annotations@2.22.1, org.glassfish.jersey.media:jersey-media-json-jackson@3.1.11 and others

Detailed paths

  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService com.fasterxml.jackson.module:jackson-module-jaxb-annotations@2.22.1 com.fasterxml.jackson.core:jackson-databind@2.18.0
    Remediation: Upgrade to com.fasterxml.jackson.module:jackson-module-jaxb-annotations@2.22.1.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.glassfish.jersey.media:jersey-media-json-jackson@3.1.11 com.fasterxml.jackson.core:jackson-databind@2.18.0
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.flywaydb:flyway-core@9.22.3 com.fasterxml.jackson.dataformat:jackson-dataformat-toml@2.15.2 com.fasterxml.jackson.core:jackson-databind@2.18.0
    Remediation: Upgrade to org.flywaydb:flyway-core@11.8.1.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.glassfish.jersey.media:jersey-media-json-jackson@3.1.11 com.fasterxml.jackson.module:jackson-module-jakarta-xmlbind-annotations@2.18.0 com.fasterxml.jackson.core:jackson-databind@2.18.0
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.flywaydb:flyway-mysql@9.22.3 org.flywaydb:flyway-core@9.22.3 com.fasterxml.jackson.dataformat:jackson-dataformat-toml@2.15.2 com.fasterxml.jackson.core:jackson-databind@2.18.0
    Remediation: Upgrade to org.flywaydb:flyway-mysql@11.8.1.

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

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: commons-configuration:commons-configuration
  • Introduced through: net.whydah.sso:Whydah-Java-SDK@3.1.10

Detailed paths

  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService net.whydah.sso:Whydah-Java-SDK@3.1.10 com.netflix.hystrix:hystrix-core@1.5.18 com.netflix.archaius:archaius-core@0.4.1 commons-configuration:commons-configuration@1.8

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due several issues in the loading of untrusted configurations. An attacker can cause excessive resource consumption by manipulating the configuration data or introducing unexpected usage patterns. Users affected by this issue are recommended to upgrade to the 2.x version line org.apache.commons:commons-configuration2, which fixes these issues.

Note: This is only exploitable if the application is configured to load untrusted configurations.

Remediation

There is no fixed version for commons-configuration:commons-configuration.

References

medium severity

Exposed Dangerous Method or Function

  • Vulnerable module: org.springframework:spring-expression
  • Introduced through: org.springframework:spring-context@6.2.18, org.springframework:spring-webmvc@6.2.18 and others

Detailed paths

  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-context@6.2.18 org.springframework:spring-expression@6.2.18
    Remediation: Upgrade to org.springframework:spring-context@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-expression@6.2.18
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.glassfish.hk2:spring-bridge@3.1.1 org.springframework:spring-context@6.2.18 org.springframework:spring-expression@6.2.18
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-context@6.2.18 org.springframework:spring-expression@6.2.18
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.

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-web
  • Introduced through: org.springframework:spring-web@6.2.18 and org.springframework:spring-webmvc@6.2.18

Detailed paths

  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-web@6.2.18
    Remediation: Upgrade to org.springframework:spring-web@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-web@6.2.18
    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 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-web to version 6.0.0, 6.2.19, 7.0.8 or higher.

References

medium severity

Improper Validation of Syntactic Correctness of Input

  • Vulnerable module: org.eclipse.jetty:jetty-http
  • Introduced through: org.eclipse.jetty:jetty-servlet@11.0.26 and org.eclipse.jetty:jetty-webapp@11.0.26

Detailed paths

  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.eclipse.jetty:jetty-servlet@11.0.26 org.eclipse.jetty:jetty-security@11.0.26 org.eclipse.jetty:jetty-server@11.0.26 org.eclipse.jetty:jetty-http@11.0.26
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.eclipse.jetty:jetty-webapp@11.0.26 org.eclipse.jetty:jetty-servlet@11.0.26 org.eclipse.jetty:jetty-security@11.0.26 org.eclipse.jetty:jetty-server@11.0.26 org.eclipse.jetty:jetty-http@11.0.26

Overview

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

Affected versions of this package are vulnerable to Improper Validation of Syntactic Correctness of Input via the HttpURI class due to insufficient validation on the authority segment of a URI. An attacker can manipulate the URI parsing to redirect requests or initiate server-side requests to unintended destinations by supplying malformed URIs that bypass validation checks.

Notes:

  1. This is only exploitable if the application uses decoded user data as encoded URIs in conjunction with the HttpURI class used directly;

  2. The Jetty usage of the HttpURI class is not vulnerable.

Workaround

This vulnerability can be mitigated by not passing decoded user data as encoded URIs to any URI class/method, including HttpURI.

PoC

http://browser.check &@vulndetector.com/
http://browser.check #@vulndetector.com/
http://browser.check?@vulndetector.com/
http://browser.check#@vulndetector.com/
http://vulndetector.com\\/

Remediation

Upgrade org.eclipse.jetty:jetty-http to version 9.4.57.v20241219, 12.0.12 or higher.

References

medium severity

Improper Validation of Syntactic Correctness of Input

  • Vulnerable module: org.eclipse.jetty:jetty-server
  • Introduced through: org.eclipse.jetty:jetty-servlet@11.0.26 and org.eclipse.jetty:jetty-webapp@11.0.26

Detailed paths

  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.eclipse.jetty:jetty-servlet@11.0.26 org.eclipse.jetty:jetty-security@11.0.26 org.eclipse.jetty:jetty-server@11.0.26
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.eclipse.jetty:jetty-webapp@11.0.26 org.eclipse.jetty:jetty-servlet@11.0.26 org.eclipse.jetty:jetty-security@11.0.26 org.eclipse.jetty:jetty-server@11.0.26

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 Syntactic Correctness of Input via the HttpURI class due to insufficient validation on the authority segment of a URI. An attacker can manipulate the URI parsing to redirect requests or initiate server-side requests to unintended destinations by supplying malformed URIs that bypass validation checks.

Notes:

  1. This is only exploitable if the application uses decoded user data as encoded URIs in conjunction with the HttpURI class used directly;

  2. The Jetty usage of the HttpURI class is not vulnerable.

Workaround

This vulnerability can be mitigated by not passing decoded user data as encoded URIs to any URI class/method, including HttpURI.

PoC

http://browser.check &@vulndetector.com/
http://browser.check #@vulndetector.com/
http://browser.check?@vulndetector.com/
http://browser.check#@vulndetector.com/
http://vulndetector.com\\/

Remediation

Upgrade org.eclipse.jetty:jetty-server to version 9.4.57.v20241219, 12.0.12 or higher.

References

medium severity

Interpretation Conflict

  • Vulnerable module: org.eclipse.jetty:jetty-server
  • Introduced through: org.eclipse.jetty:jetty-servlet@11.0.26 and org.eclipse.jetty:jetty-webapp@11.0.26

Detailed paths

  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.eclipse.jetty:jetty-servlet@11.0.26 org.eclipse.jetty:jetty-security@11.0.26 org.eclipse.jetty:jetty-server@11.0.26
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.eclipse.jetty:jetty-webapp@11.0.26 org.eclipse.jetty:jetty-servlet@11.0.26 org.eclipse.jetty:jetty-security@11.0.26 org.eclipse.jetty:jetty-server@11.0.26

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 Interpretation Conflict due to inconsistent handling of invalid or unusual URIs in the parse() function on HttpURI.java‎. An attacker can bypass security controls or access restricted resources by crafting specially formatted URIs that are interpreted differently by various system components.

Remediation

Upgrade org.eclipse.jetty:jetty-server to version 12.0.31, 12.1.5 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.18, org.springframework:spring-context@6.2.18 and others

Detailed paths

  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-beans@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-beans@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-context@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-context@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-jdbc@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-jdbc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-web@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-web@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-context@6.2.18 org.springframework:spring-beans@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-context@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-jdbc@6.2.18 org.springframework:spring-beans@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-jdbc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-web@6.2.18 org.springframework:spring-beans@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-web@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-beans@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-context@6.2.18 org.springframework:spring-aop@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-context@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-aop@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-context@6.2.18 org.springframework:spring-expression@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-context@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-expression@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.glassfish.hk2:spring-bridge@3.1.1 org.springframework:spring-context@6.2.18 org.springframework:spring-core@6.2.18
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-context@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-jdbc@6.2.18 org.springframework:spring-tx@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-jdbc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-web@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-context@6.2.18 org.springframework:spring-aop@6.2.18 org.springframework:spring-beans@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-context@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-aop@6.2.18 org.springframework:spring-beans@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.glassfish.hk2:spring-bridge@3.1.1 org.springframework:spring-context@6.2.18 org.springframework:spring-beans@6.2.18 org.springframework:spring-core@6.2.18
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-context@6.2.18 org.springframework:spring-beans@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-jdbc@6.2.18 org.springframework:spring-tx@6.2.18 org.springframework:spring-beans@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-jdbc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-web@6.2.18 org.springframework:spring-beans@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.glassfish.hk2:spring-bridge@3.1.1 org.springframework:spring-context@6.2.18 org.springframework:spring-aop@6.2.18 org.springframework:spring-core@6.2.18
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-context@6.2.18 org.springframework:spring-aop@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.glassfish.hk2:spring-bridge@3.1.1 org.springframework:spring-context@6.2.18 org.springframework:spring-expression@6.2.18 org.springframework:spring-core@6.2.18
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-context@6.2.18 org.springframework:spring-expression@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.glassfish.hk2:spring-bridge@3.1.1 org.springframework:spring-context@6.2.18 org.springframework:spring-aop@6.2.18 org.springframework:spring-beans@6.2.18 org.springframework:spring-core@6.2.18
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-context@6.2.18 org.springframework:spring-aop@6.2.18 org.springframework:spring-beans@6.2.18 org.springframework:spring-core@6.2.18
    Remediation: Upgrade to org.springframework:spring-webmvc@6.2.19.

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

Server-side Request Forgery (SSRF)

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

Detailed paths

  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-web@6.2.18
    Remediation: Upgrade to org.springframework:spring-web@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-web@6.2.18
    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

Session Fixation

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

Detailed paths

  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-web@6.2.18
    Remediation: Upgrade to org.springframework:spring-web@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-web@6.2.18
    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 Session Fixation via session fixation handling. An attacker controlling a compromised subdomain can obtain a known session identifier and subsequently cause it to be associated with an authenticated user session, allowing unauthorized use of the victim's authenticated session.

Note: This is only exploitable if an attacker can control or execute script within a subdomain of the target application (for example through a cross-site scripting vulnerability).

Remediation

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

References

medium severity

Cross-site Scripting (XSS)

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

Detailed paths

  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-web@6.2.18
    Remediation: Upgrade to org.springframework:spring-web@6.2.19.
  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18 org.springframework:spring-web@6.2.18
    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

Cross-site Scripting (XSS)

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

Detailed paths

  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18
    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.18

Detailed paths

  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.springframework:spring-webmvc@6.2.18
    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

EPL-1.0 license

  • Module: org.aspectj:aspectjweaver
  • Introduced through: org.constretto:constretto-spring@2.2.3

Detailed paths

  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.constretto:constretto-spring@2.2.3 org.aspectj:aspectjweaver@1.7.4

EPL-1.0 license

medium severity

LGPL-2.1 license

  • Module: org.mariadb.jdbc:mariadb-java-client
  • Introduced through: org.mariadb.jdbc:mariadb-java-client@3.5.7

Detailed paths

  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService org.mariadb.jdbc:mariadb-java-client@3.5.7

LGPL-2.1 license

low severity
new

Memory Allocation with Excessive Size Value

  • Vulnerable module: org.hdrhistogram:HdrHistogram
  • Introduced through: net.whydah.sso:Whydah-Java-SDK@3.1.10

Detailed paths

  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService net.whydah.sso:Whydah-Java-SDK@3.1.10 com.netflix.hystrix:hystrix-core@1.5.18 org.hdrhistogram:HdrHistogram@2.1.9

Overview

Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value in the decodeFromByteBuffer function due to improper handling of the numberOfSignificantValueDigits argument. An attacker can cause excessive memory consumption by supplying crafted input.

Notes:

  • The issue describes parameters “from Untrusted Buffer,” but the PoC never decodes a buffer. It invokes the public constructor directly, which does not prove the decode API is exploitable end-to-end as claimed.
  • The library does pass decoded header parameters into a constructor without an explicit memory budget check, which could allow moderate allocation pressure if an application decodes untrusted histogram bytes.
  • That is a narrower, lower-severity concern than the submitted OOM-DoS narrative, and it remains undemonstrated by this PoC.

Remediation

There is no fixed version for org.hdrhistogram:HdrHistogram.

References

low severity
new

Memory Allocation with Excessive Size Value

  • Vulnerable module: org.hdrhistogram:HdrHistogram
  • Introduced through: net.whydah.sso:Whydah-Java-SDK@3.1.10

Detailed paths

  • Introduced through: Cantara/Whydah-StatisticsService@Cantara/Whydah-StatisticsService net.whydah.sso:Whydah-Java-SDK@3.1.10 com.netflix.hystrix:hystrix-core@1.5.18 org.hdrhistogram:HdrHistogram@2.1.9

Overview

Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value in the decodeFromCompressedByteBuffer function due to improper handling of the lengthOfCompressedContents argument. An attacker can cause excessive memory allocation by supplying a crafted compressed byte buffer, potentially leading to application instability or denial of service.

Notes:

  • lengthOfCompressedContents is read from the buffer and used directly for allocation/decompression input without bounds validation (AbstractHistogram.java 2275–2283). The same unchecked length is passed on the array-backed path (line 2279).
  • The issue uses allocateDirect to reach the new byte[lengthOfCompressedContents] branch. Typical log parsing uses ByteBuffer.wrap, so the heap-allocating path is not the default for .hlog ingestion, though the public API allows direct buffers.

Remediation

There is no fixed version for org.hdrhistogram:HdrHistogram.

References