Lucene search

K
rubygemsRubySecRUBY:RUBY-SAML-2017-11428
HistoryFeb 26, 2018 - 9:00 p.m.

Authentication bypass via incorrect XML canonicalization and DOM traversal

2018-02-2621:00:00
RubySec
github.com
8

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS

0.01

Percentile

83.6%

ruby-saml prior to version 1.7.0 is vulnerable to an authentication bypass via incorrect
XML canonicalization and DOM traversal. Specifically, there are inconsistencies in
handling of comments within XML nodes, resulting in incorrect parsing of the inner text
of XML nodes such that any inner text after the comment is lost prior to
cryptographically signing the SAML message. Text after the comment therefore has no
impact on the signature on the SAML message.

A remote attacker can modify SAML content for a SAML service provider without
invalidating the cryptographic signature, which may allow attackers to bypass
primary authentication for the affected SAML service provider.

Affected configurations

Vulners
Node
rubyruby-samlRange1.7.0
VendorProductVersionCPE
rubyruby-saml*cpe:2.3:a:ruby:ruby-saml:*:*:*:*:*:*:*:*

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS

0.01

Percentile

83.6%