SAML Authentication Bypass Leading To Unauthenticated Admin Takeover on scijinks.gov / nesdis.noaa.gov
The SAML ACS endpoint accepted unsigned SAML responses, allowing an unauthenticated attacker to forge an assertion and obtain a Drupal administrator session. This gave full access to the CMS admin panel on both affected domains.
- Accepted in 6 hours
- Fixed in 5 days
- Disclosed after 9 days
Summary by meeranh
Overview
A SAML authentication bypass vulnerability was identified on scijinks.gov that allowed an unauthenticated attacker to obtain a fully authenticated Drupal administrator session in a single HTTP request. Since scijinks.gov and nesdis.noaa.gov share the same Drupal instance, both domains were affected.
Vulnerability
The SAML Assertion Consumer Service (ACS) endpoint at /saml/acs did not verify that incoming SAML responses were cryptographically signed by the trusted Identity Provider. A completely fabricated SAML response containing no digital signature was accepted and processed, allowing an attacker to impersonate any user by specifying an arbitrary NameID.
Impact
- Full Drupal administrator session obtained without any credentials
- Access to CMS admin panel including content management, user accounts, and site configuration
- Both scijinks.gov and nesdis.noaa.gov were affected
Resolution
The issue has been resolved. The ACS endpoint now correctly validates SAML response signatures and rejects unsigned assertions.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The SAML Assertion Consumer Service endpoint did not verify that incoming SAML responses were cryptographically signed by the trusted Identity Provider.
Impact
An unauthenticated attacker could obtain a fully authenticated Drupal administrator session and access the CMS admin panel, affecting both scijinks.gov and nesdis.noaa.gov.
What the attacker needed
No credentials needed; access to the SAML ACS endpoint
The fix
The issue was fixed by making the ACS endpoint correctly validate SAML response signatures and reject unsigned assertions.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
SAML is a way for websites to trust a separate login service. The site should check that the login message is signed by that trusted service, but here it did not. So anyone could make up a message claiming to be an admin and get in without a password.
What is OAuth / SSO?
Mistakes in OAuth, OpenID Connect, SAML or token handling that leak codes and tokens or link an attacker's identity to a victim's account.