CVE-2025-9943

Unauthenticated SQL Injection Vulnerability in Shibboleth Service Provider

Published Sep 10, 2025 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
Description
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.

Remediation

Vendor Solution

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/


Vendor Workaround

Use any other non-ODBC StorageService for the ReplayCache.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4300-1 shibboleth-sp security update
EUVD EUVD EUVD-2025-27518 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.
Ubuntu USN Ubuntu USN USN-8768-1 Shibboleth vulnerability
History
Type Values Removed Values Added
First Time appeared Shibboleth
Shibboleth service Provider
Vendors & Products Shibboleth
Shibboleth service Provider
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Unauthenticated SQL Injection Vulnerability in Shibboleth Service Provider
Weaknesses CWE-89
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
SEC-VLab
Published
Updated
Nov 4, 2025, 10:06 PM
Reserved
Sep 3, 2025, 12:56 PM
Status
Deferred
Published
Sep 10, 2025, 7:15 AM
Modified
Sep 26, 2026, 12:10 AM