Vulnerability identifier: #VU97454
Vulnerability risk: High
CVSSv4.0: 8.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber]
CVE-ID:
CWE-ID:
CWE-347
Exploitation vector: Network
Exploit availability: Yes
Vulnerable software:
SAML SSO for Ruby
Web applications /
Other software
Vendor: SAML-Toolkits
Description
The vulnerability allows a remote attacker to bypass SAML authentication.
The vulnerability exists due to the library does not properly verify the signature of the SAML Response. A remote non-authenticated attacker with access to any signed SAML document (by the IdP) can forge a SAML Response/Assertion with arbitrary contents, bypass authentication process and login under an arbitrary account within the application.
Successful exploitation of the vulnerability may allow an attacker to compromise the affected application.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
SAML SSO for Ruby: 1.0.0, 1.1.0 - 1.16.0, 1.2.0, 1.3.0 - 1.3.1, 1.4.0 - 1.4.3, 1.5.0, 1.6.0 - 1.6.2, 1.7.0 - 1.7.2, 1.8.0, 1.9.0
External links
https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-jw9c-mfg7-9rx2
https://github.com/SAML-Toolkits/ruby-saml/commit/1ec5392bc506fe43a02dbb66b68741051c5ffeae
https://github.com/SAML-Toolkits/ruby-saml/commit/4865d030cae9705ee5cdb12415c654c634093ae7
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.