A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-50190

CVE-2025-50190: Chamilo LMS SQL Injection Vulnerability

CVE-2025-50190 is an error-based SQL injection flaw in Chamilo LMS affecting the openid.assoc_handle parameter. Attackers can exploit this to access sensitive database information. This article covers technical details, affected versions, impact, and mitigation strategies.

Updated: May 15, 2026

CVE-2025-50190 Overview

CVE-2025-50190 is an error-based SQL injection vulnerability [CWE-89] in Chamilo LMS, an open-source learning management system. The flaw exists in the OpenID authentication handler within /index.php, where the openid.assoc_handle GET parameter is concatenated directly into an SQL query without sanitization. Unauthenticated attackers can inject arbitrary SQL through this parameter to extract sensitive data from the underlying database. The issue affects all Chamilo LMS versions prior to 1.11.30 and has been patched upstream.

Critical Impact

Unauthenticated network-based SQL injection allowing extraction of user credentials, session data, and other confidential records from the Chamilo database.

Affected Products

  • Chamilo LMS versions prior to 1.11.30
  • Deployments using the OpenID authentication module in main/auth/openid/login.php
  • Self-hosted Chamilo instances exposing /index.php to the network

Discovery Timeline

  • 2026-03-02 - CVE-2025-50190 published to NVD
  • 2026-03-03 - Last updated in NVD database

Technical Details for CVE-2025-50190

Vulnerability Analysis

Chamilo LMS implements OpenID authentication through main/auth/openid/login.php. During signature validation, the application retrieves the OpenID association record from the openid_association table using the value of the openid.assoc_handle request parameter. The original implementation built this query using sprintf() with the raw user-supplied handle string, producing a classic error-based SQL injection sink. The vulnerability is reachable from the /index.php entry point without authentication, since the OpenID flow precedes session establishment.

Root Cause

The root cause is unsafe string interpolation into an SQL statement. The pre-patch code in main/auth/openid/login.php constructed the query directly from the HTTP parameter, bypassing Chamilo's parameterized Database::select() API. Single quotes and SQL metacharacters in openid.assoc_handle were not escaped, allowing query manipulation and conditional error-based extraction.

Attack Vector

An attacker submits a crafted GET request to /index.php carrying an OpenID response with a malicious openid.assoc_handle payload. The injected SQL is executed in the context of Chamilo's database user, returning data through error messages or boolean conditions. No credentials or user interaction are required.

php
// Vulnerable pattern (pre-1.11.30) in main/auth/openid/login.php
$openid_association = Database::get_main_table(TABLE_MAIN_OPENID_ASSOCIATION);
$sql = sprintf("SELECT * FROM $openid_association WHERE assoc_handle = '%s'", $response['openid.assoc_handle']);
$res = Database::query($sql);
$association = Database::fetch_object($res);
if ($association && isset($association->session_type)) {
    // signature validation continues...
}

// Fixed pattern (1.11.30) using parameterized query
$association = Database::select(
    '*',
    $openid_association,
    [
        'where' => [
            'assoc_handle = ?' => [$response['openid.assoc_handle']],
        ]
    ],
    'first'
);
// Source: https://github.com/chamilo/chamilo-lms/commit/613eb19a0fac6dd49c233f32ad5428cd29d5a468

Detection Methods for CVE-2025-50190

Indicators of Compromise

  • Requests to /index.php containing openid.assoc_handle with SQL metacharacters such as single quotes, UNION, SELECT, SLEEP(, or -- comments.
  • Database error entries referencing the openid_association table or syntax errors near assoc_handle.
  • Anomalous OpenID authentication traffic from IPs that have never previously authenticated.
  • Sudden spikes in 500-series responses from /index.php correlated with OpenID parameters.

Detection Strategies

  • Inspect web server access logs for openid.assoc_handle values that contain URL-encoded quotes (%27), boolean payloads (OR 1=1), or time-based functions.
  • Enable database query logging and alert on errors originating from queries against TABLE_MAIN_OPENID_ASSOCIATION.
  • Deploy a WAF rule that flags non-token-shaped openid.assoc_handle parameters, since legitimate handles are short opaque identifiers.

Monitoring Recommendations

  • Forward Chamilo PHP and web logs to a centralized log platform and correlate OpenID parameter anomalies with authentication outcomes.
  • Monitor for outbound database connections or large result sets immediately following OpenID requests.
  • Track Chamilo version inventory and alert when any host reports a version below 1.11.30.

How to Mitigate CVE-2025-50190

Immediate Actions Required

  • Upgrade Chamilo LMS to version 1.11.30 or later, which contains the parameterized query fix.
  • If OpenID is unused, disable the OpenID authentication module in Chamilo configuration to remove the attack surface.
  • Review web and database logs for prior exploitation attempts against openid.assoc_handle.
  • Rotate database credentials and user session tokens if injection activity is suspected.

Patch Information

The fix is committed in chamilo-lms commit 613eb19 and released in Chamilo LMS v1.11.30. The patch replaces the unsafe sprintf()-based query with Chamilo's parameterized Database::select() helper and updates _openid_signature() to consume the result as an array. Full details are documented in GitHub Security Advisory GHSA-5296-jxrr-pfwj.

Workarounds

  • Block external access to OpenID authentication endpoints at the reverse proxy until the upgrade is applied.
  • Add a WAF signature rejecting openid.assoc_handle values that contain quotes, semicolons, or SQL keywords.
  • Restrict the Chamilo database account to least-privilege SELECT, INSERT, and UPDATE on required tables only.
bash
# Example nginx rule to block suspicious openid.assoc_handle values
if ($arg_openid_assoc_handle ~* "('|\"|--|;|union|select|sleep\(|benchmark\()") {
    return 403;
}

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechChamilo

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-89
  • Technical References
  • GitHub Release v1.11.30
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-5296-jxrr-pfwj
  • Related CVEs
  • CVE-2026-33714: Chamilo LMS SQL Injection Vulnerability

  • CVE-2026-28430: Chamilo LMS SQL Injection Vulnerability

  • CVE-2025-50191: Chamilo LMS SQL Injection Vulnerability

  • CVE-2025-50192: Chamilo LMS SQL Injection Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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