Miggo Logo

CVE-2017-11429: Authentication bypass via incorrect XML canonicalization and DOM traversal in saml2-js

7.7

CVSS Score
3.0

Basic Information

EPSS Score
0.6186%
Published
7/5/2019
Updated
1/9/2023
KEV Status
No
Technology
TechnologyJavaScript

Technical Details

CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
saml2-jsnpm< 1.12.41.12.4
saml2-jsnpm>= 2.0.0, < 2.0.22.0.2

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from improper handling of XML nodes containing comments during text extraction. While no direct patch diffs are provided, the CVE description and Duo's analysis indicate the core issue exists in functions processing SAML assertion content. The library's XML parsing logic for critical elements like NameID would be the primary location for this vulnerability, specifically where text content is extracted using methods vulnerable to comment truncation. These functions would appear in runtime profiles during SAML response processing and signature validation.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

V*rsions o* `s*ml*-js` prior to *.**.* or *.*.* *r* vuln*r**l* to *ut**nti**tion *yp*ss. T** `s*ml*-js` li*r*ry m*y in*orr**tly utiliz* t** r*sults o* XML *OM tr*v*rs*l *n* **noni**liz*tion *PIs in su** * w*y t**t *n *tt**k*r m*y ** **l* to m*nipul*

Reasoning

T** vuln*r**ility st*ms *rom improp*r **n*lin* o* XML no**s *ont*inin* *omm*nts *urin* t*xt *xtr**tion. W*il* no *ir**t p*t** *i**s *r* provi***, t** *V* **s*ription *n* *uo's *n*lysis in*i**t* t** *or* issu* *xists in *un*tions pro**ssin* S*ML *ss*r