QID 377811
Date Published: 2022-12-15
QID 377811: Node-saml/passport-saml NPM Package Authentication Bypass Vulnerability (GHSA-m974-647v-whv7)
Passport-SAML is a SAML 2.0 authentication provider for Passport, the Node.js authentication library. A remote attacker may be able to bypass SAML authentication on a website using passport-saml.
Affected Versions:
passport-saml versions prior to 3.2.2
node-saml versions prior to 4.0.0-beta.5
QID Detection Logic (Authenticated):
This QID checks for vulnerable version of passport-saml and node-saml npm package installed globally. The QID runs the "npm list -g --silent" command and also checks the file "/usr/local/lib/node_modules/passport-saml/package.json" and "/usr/local/lib/node_modules/node-saml/package.json" to look for vulnerable versions of passport-saml and node-saml.
Note:
NPM packages can be installed anywhere as a developer/production dependency. This QID can only detect passport-saml and node-saml packages that are installed globally. For Microsoft Windows, this QID checks for installed packages within the '%systemdrive%\Users\Administrator' directory.
A remote attacker may be able to bypass SAML authentication on a website using passport-saml.
- Github Advisory -
github.com/advisories/GHSA-m974-647v-whv7
CVEs related to QID 377811
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-m974-647v-whv7 |
|