Authentication bypass in omniauth-saml



| Updated: 2024-10-11
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2024-45409
CWE-ID CWE-347
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
omniauth-saml
Web applications / Other software

Vendor OmniAuth

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Improper verification of cryptographic signature

EUVDB-ID: #VU97454

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: CVE-2024-45409

CWE-ID: CWE-347 - Improper Verification of Cryptographic Signature

Exploit availability: Yes

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 update from vendor's website.

Vulnerable software versions

omniauth-saml: 0.9.0 - 2.1.0

CPE2.3 External links

https:
https://github.com/omniauth/omniauth-saml/security/advisories/GHSA-cvp8-5r8g-fhvq


Q & A

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.



###SIDEBAR###