Improper verification of cryptographic signature in Passport-SAML



| Updated: 2025-02-12
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-39299
CWE-ID CWE-347
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
passport-saml
Web applications / Modules and components for CMS

Vendor Node SAML Organization

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Improper Verification of Cryptographic Signature

EUVDB-ID: #VU97482

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 - Improper Verification of Cryptographic Signature

Exploit availability: Yes

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

Vulnerable software versions

passport-saml: before 3.2.2

CPE2.3 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.



###SIDEBAR###