Description
An issue has been discovered in GitLab CE/EE affecting all versions from 11.1 before 17.10.7, 17.11 before 17.11.3, and 18.0 before 18.0.1. Improper XPath validation allows modified SAML response to bypass 2FA requirement under specialized conditions.
Problem types
CWE-1288: Improper Validation of Consistency within Input
Product status
11.1 (semver) before 17.10.7
17.11 (semver) before 17.11.3
18.0 (semver) before 18.0.1
Credits
Thanks [joaxcar](https://hackerone.com/joaxcar) for reporting this vulnerability through our HackerOne bug bounty program
References
gitlab.com/gitlab-org/gitlab/-/issues/507445 (GitLab Issue #507445)
hackerone.com/reports/2851261 (HackerOne Bug Bounty Report #2851261)