#VU97482 Improper Verification of Cryptographic Signature in passport-saml - CVE-2022-39299


| Updated: 2025-02-12

Vulnerability identifier: #VU97482

Vulnerability risk: High

CVSSv4.0: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber]

CVE-ID: CVE-2022-39299

CWE-ID: CWE-347

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
passport-saml
Web applications / Modules and components for CMS

Vendor: Node SAML Organization

Description

The vulnerability allows a remote attacker to bypass security restrictions.

The vulnerability exists due to application does not properly control consumption of internal resources. A remote attacker can use an arbitrary IDP signed XML element to bypass SAML authentication on a website using passport-saml

Mitigation
Install updates from vendor's website.

Vulnerable software versions

passport-saml: before 3.2.2


External links
https://github.com/node-saml/passport-saml/security/advisories/GHSA-m974-647v-whv7
https://github.com/node-saml/passport-saml/commit/8b7e3f5a91c8e5ac7e890a0c90bc7491ce33155e
https://packetstormsecurity.com/files/169826/Node-saml-Root-Element-Signature-Bypass.html


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.


Latest bulletins with this vulnerability