Shibboleth Service Provider
Unauthenticated SQL Injection Vulnerability in Shibboleth Service Provider
An SQL injection vulnerability has been identified in the "ID" attribute of the SAML response when the replay cache of the Shibboleth Service Provider (SP) is configured to use an SQL database as storage service. An unauthenticated attacker can exploit this issue via blind SQL injection, allowing for the extraction of arbitrary data from the database, if the database connection is configured to use the ODBC plugin. The vulnerability arises from insufficient escaping of single quotes in the class SQLString (file odbc-store.cpp, lines 253-271). This issue affects Shibboleth Service Provider through 3.5.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 3.5.0
Mitigation
Update to Shibboleth Service Provider 3.5.1 or higher. The vendor provides an updated version here: https://shibboleth.net/downloads/service-provider/3.5.1/
Workaround
Use any other non-ODBC StorageService for the ReplayCache.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.