Improper Authentication Affecting org.asynchttpclient:async-http-client package, versions [3.0.0,3.0.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Authentication vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGASYNCHTTPCLIENT-8447519
  • published3 Dec 2024
  • disclosed2 Dec 2024
  • creditChris Earle

Introduced: 2 Dec 2024

NewCVE-2024-53990  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade org.asynchttpclient:async-http-client to version 3.0.1 or higher.

Overview

org.asynchttpclient:async-http-client is a maven plugin for the Async Http Client (AHC) classes.

Affected versions of this package are vulnerable to Improper Authentication due to the CookieStore process in the RequestBuilderBase component, which replaces Cookies that were explicitly defined with any that have the same name from the cookie jar. An attacker can manipulate session management by replacing user cookies with others having the same name.

PoC

Add an auth Cookie to the CookieStore

Handle a different user's request where the same Cookie is provided as a passthrough, like a JWT, and attempt to use it by explicitly providing it.

Observe that the user's cookie in step 2 is passed as the Cookie in step 1.

CVSS Scores

version 4.0
version 3.1