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
    • 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-50198

CVE-2025-50198: Chamilo LMS Deserialization Vulnerability

CVE-2025-50198 is a deserialization of untrusted data vulnerability in Chamilo LMS that affects versions prior to 1.11.30. This article covers the technical details, affected versions, security impact, and mitigation steps.

Published: March 6, 2026

CVE-2025-50198 Overview

CVE-2025-50198 is an Insecure Deserialization vulnerability affecting Chamilo, a widely-used open-source learning management system (LMS). The vulnerability exists in the VChamilo plugin's import functionality located at /plugin/vchamilo/views/import.php. An attacker can exploit this flaw by manipulating POST parameters including configuration_file, course_path, and home_path to trigger deserialization of untrusted data, potentially leading to remote code execution or system compromise.

Critical Impact

This vulnerability allows unauthenticated attackers to exploit insecure deserialization through crafted POST requests, potentially achieving arbitrary code execution on affected Chamilo LMS installations prior to version 1.11.30.

Affected Products

  • Chamilo LMS versions prior to 1.11.30
  • VChamilo plugin import functionality (/plugin/vchamilo/views/import.php)
  • Chamilo instances with VChamilo plugin enabled

Discovery Timeline

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

Technical Details for CVE-2025-50198

Vulnerability Analysis

The vulnerability resides in the VChamilo plugin's import.php file, which handles the import of virtual Chamilo instances. The affected code processes user-supplied paths through POST parameters without adequate validation, specifically failing to sanitize paths that could point to phar:// stream wrappers.

PHP's phar:// stream wrapper can be exploited to trigger deserialization of metadata within PHAR (PHP Archive) files. When an attacker supplies a malicious phar:// path through the configuration_file, course_path, home_path, or upload_path parameters, the application may deserialize attacker-controlled data embedded in the PHAR archive. This deserialization can lead to arbitrary object instantiation and, through gadget chain exploitation, potentially result in remote code execution.

The vulnerability is classified under CWE-502 (Deserialization of Untrusted Data). The attack can be conducted remotely over the network, requires no user interaction, and does not require authentication to exploit.

Root Cause

The root cause is insufficient input validation on file path parameters passed to the VChamilo import functionality. The original code directly used user-supplied paths in file system operations without checking for malicious stream wrapper prefixes. Specifically, the code failed to validate that the configuration_file, course_path, home_path, and upload_path parameters do not contain phar:// prefixes, which can trigger PHP object deserialization when processed by file functions.

Attack Vector

An attacker exploits this vulnerability by sending a crafted HTTP POST request to /plugin/vchamilo/views/import.php. The malicious request includes a phar:// URI pointing to an attacker-controlled PHAR file containing a malicious serialized object. When the application processes these paths using PHP file functions like file_exists() or is_readable(), the phar:// stream wrapper is triggered, causing PHP to deserialize the metadata section of the PHAR file. If suitable PHP gadget chains exist in the application's codebase, this deserialization can lead to arbitrary code execution.

The attack requires:

  1. A malicious PHAR file uploaded or accessible to the target server
  2. A POST request containing phar:// paths referencing this file
  3. Presence of exploitable PHP classes (gadget chains) in the application
php
// Security patch from plugin/vchamilo/views/import.php
// Source: https://github.com/chamilo/chamilo-lms/commit/07f7954f2dd18c4f5a307b2a6fa802d9ce36b827

     $coursePath = $values['course_path'];
     $homePath = $values['home_path'];
     $confFile = $values['configuration_file'];
+    $uploadPath = $values['upload_path'];
 
-    if (is_dir($coursePath) &&
-        is_dir($homePath) &&
-        file_exists($confFile) &&
-        is_readable($confFile)
-    ) {
+    $isPharFile = str_starts_with($confFile, 'phar://')
+        || str_starts_with($coursePath, 'phar://')
+        || str_starts_with($homePath, 'phar://')
+        || str_starts_with($uploadPath, 'phar://');
+
+    $isWritable = is_dir($coursePath)
+        && is_dir($homePath)
+        && is_dir($uploadPath)
+        && file_exists($confFile)
+        && is_readable($confFile);
+
+    if (!$isPharFile && $isWritable) {
         $currentHost = api_get_configuration_value('db_host');
         $currentDatabase = api_get_configuration_value('main_database');
         $currentUser = api_get_configuration_value('db_user');

Detection Methods for CVE-2025-50198

Indicators of Compromise

  • HTTP POST requests to /plugin/vchamilo/views/import.php containing phar:// in parameter values
  • Web server logs showing unusual requests to the VChamilo import endpoint with encoded or suspicious path values
  • Presence of unexpected PHAR files in web-accessible directories or temporary folders
  • Suspicious process spawns originating from PHP/web server processes following requests to the import endpoint

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block requests containing phar:// stream wrapper references in POST parameters
  • Configure intrusion detection systems (IDS) to alert on HTTP POST requests to /plugin/vchamilo/views/import.php with unusual payloads
  • Monitor application logs for access attempts to the VChamilo plugin import functionality, especially from external IP addresses
  • Deploy file integrity monitoring on Chamilo installation directories to detect unauthorized file modifications

Monitoring Recommendations

  • Enable detailed logging for all requests to Chamilo plugin endpoints and review logs for anomalous patterns
  • Monitor for PHP deserialization-related errors in application and PHP error logs
  • Implement network-level monitoring for outbound connections from web servers that may indicate successful exploitation
  • Track changes to Chamilo configuration files and database entries that could indicate post-exploitation activity

How to Mitigate CVE-2025-50198

Immediate Actions Required

  • Upgrade Chamilo LMS to version 1.11.30 or later immediately, which contains the security fix for this vulnerability
  • If immediate upgrade is not possible, disable the VChamilo plugin until patching can be completed
  • Review web server access logs for any suspicious requests to /plugin/vchamilo/views/import.php that may indicate exploitation attempts
  • Implement WAF rules to block requests containing phar:// in POST parameters to the affected endpoint

Patch Information

Chamilo has released version 1.11.30 which addresses this vulnerability. The fix implements validation to detect and reject phar:// stream wrapper prefixes in the configuration_file, course_path, home_path, and upload_path parameters before processing them. The patch is available through the official Chamilo GitHub Release v1.11.30.

Additional security fixes related to this vulnerability can be found in the following commits:

  • Security patch for phar:// path handling
  • MIME type validation improvements
  • File upload error handling refactor

For complete details, refer to the GitHub Security Advisory GHSA-jgxc-96j5-8rrr.

Workarounds

  • Disable the VChamilo plugin entirely if it is not actively required for operations by removing or renaming the /plugin/vchamilo/ directory
  • Implement strict access controls to restrict access to the VChamilo import functionality to trusted administrator IP addresses only
  • Deploy a web application firewall rule to block all POST requests containing phar:// string patterns to the Chamilo application
  • Consider implementing PHP's phar.readonly = 1 configuration directive to prevent phar:// deserialization attacks at the PHP level
bash
# Configuration example - Apache .htaccess to block access to VChamilo import
# Place in Chamilo root or plugin directory

<FilesMatch "import\.php$">
    <If "%{REQUEST_URI} =~ m#/plugin/vchamilo/views/import\.php#">
        Require ip 10.0.0.0/8 192.168.0.0/16
    </If>
</FilesMatch>

# PHP configuration to mitigate phar deserialization
# Add to php.ini or .user.ini
# phar.readonly = 1

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

  • Vulnerability Details
  • TypeOther

  • 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:L/VI:L/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-502
  • Technical References
  • GitHub Release v1.11.30
  • Vendor Resources
  • GitHub Commit Change

  • GitHub Commit Change

  • GitHub Commit Change

  • GitHub Security Advisory GHSA-jgxc-96j5-8rrr
  • Related CVEs
  • CVE-2026-28430: Chamilo LMS SQL Injection Vulnerability

  • CVE-2026-30882: Chamilo LMS Reflected XSS Vulnerability

  • CVE-2026-29041: Chamilo LMS RCE Vulnerability

  • CVE-2025-59543: Chamilo LMS Stored XSS 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