Horizon Alert
Summary of the vulnerability and why it matters
A critical vulnerability in the Shibboleth Service Provider allows unauthenticated attackers to extract sensitive data from databases if specific configurations are in place. This issue stems from how the system handles identity information within SAML responses, potentially exposing arbitrary data. The primary concern is confirming if this specific configuration exists within our environment.
- Attackers can steal database information.
- It affects public-facing identity gateways.
- Confirm exposure in your environment.
Attack Path
How an attacker could exploit the issue
An unauthenticated attacker can exploit this issue by sending a specially crafted SAML response. This manipulates the "ID" attribute, leading to blind SQL injection if the Shibboleth Service Provider is configured to use an SQL database for its replay cache and the ODBC plugin is enabled. The vulnerability could allow an attacker to extract sensitive data from the database.
- No authentication required.
- Triggered by a malicious SAML response ID.
- Risk of arbitrary data extraction.
Live Threat
Current exploitation, exposure, and threat context
When the Shibboleth Service Provider's replay cache is configured to use an SQL database with the ODBC plugin, an unauthenticated attacker could potentially extract arbitrary data from the database through blind SQL injection. This could occur if the database connection is not properly secured and sufficient escaping of single quotes is not implemented.
- Database data could be exposed.
- Via blind SQL injection in SAML responses.
- Arbitrary data extraction from the database.
Operational Fix
Recommended remediation, mitigation, and detection steps
The Shibboleth Service Provider (SP) infrastructure teams or identity and access management (IAM) teams are likely responsible for addressing this SQL injection vulnerability. The first practical step is to inventory all Shibboleth SP instances, determine which ones use an SQL database for replay caching with the ODBC plugin, and assess their external reachability and business criticality. Once identified, confirm the accountable owner and then plan remediation activities, potentially involving coordination with the Shibboleth vendor and database administrators, within a scheduled maintenance window.
- Owner: Infrastructure or IAM teams.
- Verify: SQL replay cache, ODBC plugin usage.
- Action: Plan remediation for critical instances.