NetSight
kritisch10.0

CVE-2024-45409

The Ruby SAML library vulnerable to a SAML authentication bypass via Incorrect XPath selector

Auswirkung

The Ruby SAML library is for implementing the client side of a SAML authorization. Ruby-SAML in <= 12.2 and 1.13.0 <= 1.16.0 does not properly verify the signature of the SAML Response. An unauthenticated attacker with access to any signed saml document (by the IdP) can thus forge a SAML Response/Assertion with arbitrary contents. This would allow the attacker to log in as arbitrary user within the vulnerable system. This vulnerability is fixed in 1.17.0 and 1.12.3.

Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden. Der Angriff kann über die verwundbare Komponente hinaus wirken.

Betroffene Pakete

ÖkosystemPaketBetroffenBehoben in
rubygemsruby-saml< 1.12.31.12.3

Betroffene Produkte

HerstellerProduktBetroffene Versionen
GitLabGitLab
vor 16.11.10
ab 17.0.0 vor 17.0.8
ab 17.1.0 vor 17.1.8
ab 17.2.0 vor 17.2.7
ab 17.3.0 vor 17.3.3
OmniauthOmniauth Saml
bis einschließlich 1.10.3
Versionen 2.0.0, 2.1.0
OneloginRuby-saml
vor 1.12.3
ab 1.13.0 vor 1.17.0
SAML-ToolkitsRuby-saml
vor 1.12.3
ab 1.13.0, vor 1.17.0
Version < 1.12.3

Schwachstellenklasse

Referenzen