PT-2023-26474 · Jetty+3 · Jetty+3
Highminwoox
·
Published
2023-07-25
·
Updated
2023-08-03
·
CVE-2023-38493
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Armeria versions prior to 1.24.3
Description
The issue arises when Spring integration is used in Armeria, and the framework calls Spring controllers via
TomcatService or JettyService with paths containing matrix variables. In such cases, the Armeria decorators may not be invoked due to the presence of matrix variables, potentially allowing an attacker to bypass the authorizer by sending a specially crafted request. For example, a request to /important;a=b/resources could bypass the authorizer.Recommendations
For versions prior to 1.24.3, update to version 1.24.3 to resolve the issue.
As a temporary workaround, consider adding decorators using regex, such as "regex:^/important.*", to ensure that the authorizer is invoked correctly.
Exploit
Fix
Incorrect Authorization
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Armeria
Jetty
Spring
Apache Tomcat