PT-2022-16069 · Alpine · Alpine

Alvaro Muñoz

+1

·

Published

2022-12-28

·

Updated

2024-08-05

·

CVE-2022-23554

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Alpine versions prior to 1.10.4
Description The issue concerns Alpine, a Java scaffolding library. It allows an Authentication Filter bypass, where the AuthenticationFilter relies on the request URI to determine if the user is accessing the swagger endpoint. By accessing a URL with a path such as "/api/foo;%2fapi%2fswagger", the contains condition will hold, and the authentication filter will return without aborting the request. Note that the principal object will not be assigned, and therefore, the issue will not allow user impersonation.
Recommendations For Alpine versions prior to 1.10.4, update to version 1.10.4 to resolve the issue. As a temporary workaround, consider restricting access to the swagger endpoint to minimize the risk of exploitation.

Exploit

Fix

Improper Authentication

Weakness Enumeration

Related Identifiers

CVE-2022-23554
GHSA-WHR2-9X5F-5C79

Affected Products

Alpine