GitHub Advisoryadvisory · Maven
GHSA-4m6j-23p2-8c54 Armeria SAML authentication bypass due to missing validation on unsigned SAML messages
CRITICAL
Official page ↗
- Aliases
- CVE-2024-1735
- Ecosystem
- Maven
- Packages
- com.linecorp.armeria:armeria-saml
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-304
- Reviewed
- 2024-02-26
Affected packages
• Maven com.linecorp.armeria:armeria-saml: < 1.27.2 → fixed in 1.27.2
Description
Impact
The SAML implementation provided by `armeria-saml` currently accepts unsigned SAML messages (assertions, logout requests, etc.) as they are, rather than rejecting them by default. As a result, an attacker can forge a SAML message to authenticate themselves, despite the fact that such an unsigned SAML message should be rejected.
Patches
The vulnerability has been patched in Armeria version 1.27.2. All users who rely on `armeria-saml` older than version 1.27.2 must upgrade to 1.27.2 or later.
Workarounds
There is no known workaround for this vulnerability.
References
`SamlMessageUtil.validateSignature()`
Related
Alias · CVE (1)
- CVE-2024-1735 A vulnerability has been identified in armeria-saml versions less than 1.27.2, allowing the use of malicious SAML messages to bypass… vulnerability
Weakness · CWE (1)
- CWE-304 Missing Critical Step in Authentication weakness
References
- https://github.com/line/armeria/security/advisories/GHSA-4m6j-23p2-8c54 web
- https://nvd.nist.gov/vuln/detail/CVE-2024-1735 advisory
- https://github.com/line/armeria/commit/b2aa9f49b46a7b0e03d8b8d753809cd1e8e2016c web
- https://github.com/line/armeria package
- https://github.com/line/armeria/blob/0efc776988d71be4da6e506ec8a33c2b7b43f567/saml/src/main/java/com/linecorp/armeria/server/saml/SamlMessageUtil.java#L160-L163 web
- https://github.com/line/armeria/releases/tag/armeria-1.27.2 web