The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-9943

CVE-2025-9943: Shibboleth Service Provider SQLi Flaw

CVE-2025-9943 is an SQL injection vulnerability in Shibboleth Service Provider affecting the SAML response ID attribute. Attackers can extract database data via blind SQLi. Learn about technical details, affected versions, and mitigation.

Published: March 11, 2026

CVE-2025-9943 Overview

An SQL injection vulnerability has been identified in the Shibboleth Service Provider (SP) affecting the handling of the "ID" attribute in SAML responses. This vulnerability is exploitable when the replay cache is configured to use an SQL database as a storage service with the ODBC plugin. An unauthenticated attacker can leverage blind SQL injection to extract arbitrary data from the database, potentially compromising sensitive authentication and session information.

The vulnerability stems from insufficient escaping of single quotes in the SQLString class within the odbc-store.cpp file (lines 253-271). This flaw allows malicious actors to inject SQL commands through crafted SAML response ID attributes, bypassing input validation mechanisms entirely.

Critical Impact

Unauthenticated attackers can extract arbitrary database contents through blind SQL injection, potentially compromising all user credentials and session data stored in the SP's database.

Affected Products

  • Shibboleth Service Provider through version 3.5.0
  • Systems using ODBC plugin for SQL database storage
  • Configurations with SQL-based replay cache enabled

Discovery Timeline

  • September 3, 2025 - Shibboleth releases security advisory
  • September 10, 2025 - CVE-2025-9943 published to NVD
  • November 4, 2025 - Last updated in NVD database

Technical Details for CVE-2025-9943

Vulnerability Analysis

This SQL injection vulnerability (CWE-89) exists in the Shibboleth Service Provider's ODBC storage implementation. The flaw is triggered when processing SAML response ID attributes that are stored in the replay cache database. The vulnerable code path only activates when administrators have configured the SP to use an SQL database through the ODBC plugin for replay cache storage.

The attack is network-accessible and requires no authentication or user interaction. Successful exploitation allows attackers to read sensitive data including user credentials, session tokens, and other information stored in the database. While confidentiality and integrity are severely impacted, availability is not directly affected by this vulnerability.

Root Cause

The root cause lies in the SQLString class implementation in odbc-store.cpp (lines 253-271). The code fails to properly escape single quote characters in user-controlled input before incorporating them into SQL queries. When a SAML response with a maliciously crafted ID attribute is processed, the unescaped single quotes allow an attacker to break out of the intended SQL string context and inject arbitrary SQL commands.

This is a classic example of improper input sanitization where the trust boundary between external SAML data and internal database queries is not properly enforced.

Attack Vector

The attack is executed by sending a specially crafted SAML response to the Shibboleth Service Provider. The attacker manipulates the ID attribute within the SAML response to include SQL injection payloads. Since the replay cache stores these IDs in the database to prevent replay attacks, the malicious SQL is executed when the ID is processed.

The blind SQL injection technique allows attackers to extract data through boolean-based or time-based inference, even when direct query results are not visible. This makes the vulnerability particularly dangerous as attackers can systematically enumerate and extract database contents without triggering obvious errors.

The vulnerability mechanism involves the following process: When a SAML response arrives at the Service Provider, the ID attribute is extracted and passed to the ODBC storage layer. In vulnerable versions, the SQLString class constructs SQL queries by concatenating the ID value without adequate escaping. An attacker can include payloads such as single quotes followed by SQL commands within the ID attribute, which then execute against the database. For detailed technical analysis, refer to the SEC Consult Security Advisory.

Detection Methods for CVE-2025-9943

Indicators of Compromise

  • Unusual SAML response patterns containing single quotes or SQL syntax in ID attributes
  • Database query errors or anomalies in Shibboleth SP logs
  • Unexpected database access patterns or data retrieval from authentication tables
  • SAML requests with abnormally long or malformed ID attribute values

Detection Strategies

  • Deploy Web Application Firewall (WAF) rules to detect SQL injection patterns in SAML traffic
  • Monitor Shibboleth SP logs for malformed SAML response processing errors
  • Implement database audit logging to detect unauthorized SELECT queries
  • Review network traffic for anomalous SAML response sizes or structures

Monitoring Recommendations

  • Enable verbose logging on the Shibboleth Service Provider to capture SAML attribute details
  • Configure database monitoring to alert on queries returning large result sets
  • Set up intrusion detection rules for common blind SQL injection timing patterns
  • Monitor for repeated authentication attempts with varying SAML response IDs

How to Mitigate CVE-2025-9943

Immediate Actions Required

  • Upgrade Shibboleth Service Provider to version 3.5.1 or later immediately
  • If immediate patching is not possible, temporarily switch to file-based replay cache storage
  • Review database logs for signs of prior exploitation attempts
  • Rotate any credentials that may have been stored in the SP database

Patch Information

Shibboleth has released Service Provider version 3.5.1 to address this vulnerability. The patch implements proper input escaping in the SQLString class to prevent SQL injection through SAML response ID attributes. Organizations should download the updated version from the Shibboleth Service Provider Downloads page. Debian users should apply the security update as detailed in the Debian LTS Security Announcement.

Workarounds

  • Disable ODBC-based replay cache and switch to file-based or in-memory storage
  • Implement network segmentation to limit direct access to Shibboleth SP endpoints
  • Deploy application-layer filtering to inspect and sanitize SAML response ID attributes
  • Consider using a reverse proxy with SQL injection detection capabilities in front of the SP
bash
# Configuration example - Switch to file-based replay cache
# In shibboleth2.xml, replace ODBC ReplayCache with:
<ReplayCache type="StorageService" StorageService="file"/>

# Ensure file storage service is configured:
<StorageService type="File" id="file" prefix="shibd"/>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechShibboleth

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.16%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-89
  • Technical References
  • SEC Consult Security Advisory

  • Shibboleth Security Advisory

  • Shibboleth Service Provider Update

  • Full Disclosure Security Report

  • Debian LTS Security Announcement
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English