Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2024-24724

CVE-2024-24724: Gibbonedu Gibbon RCE Vulnerability

CVE-2024-24724 is a remote code execution vulnerability in Gibbonedu Gibbon caused by Server Side Template Injection in the messenger settings module. This article covers the technical details, affected versions, and mitigation.

Published: April 15, 2026

CVE-2024-24724 Overview

CVE-2024-24724 is a critical Server-Side Template Injection (SSTI) vulnerability affecting Gibbon, an open-source school management platform. The vulnerability exists in the /modules/School%20Admin/messengerSettings.php endpoint where user-supplied input is passed directly to the Twig template engine without proper sanitization. This flaw allows unauthenticated remote attackers to inject malicious template directives that execute arbitrary code on the server, potentially leading to complete system compromise.

Critical Impact

Unauthenticated remote code execution via Server-Side Template Injection in Gibbon's messenger settings module, enabling attackers to gain full control of affected school management systems.

Affected Products

  • Gibbon through version 26.0.00
  • GibbonEdu Gibbon (all versions up to and including 26.0.00)
  • School management systems running vulnerable Gibbon installations

Discovery Timeline

  • 2024-04-03 - CVE CVE-2024-24724 published to NVD
  • 2025-07-17 - Last updated in NVD database

Technical Details for CVE-2024-24724

Vulnerability Analysis

This vulnerability represents a classic Server-Side Template Injection flaw in the Twig templating engine context. The messengerSettings.php file processes user input and passes it to Twig for rendering without implementing proper input validation or output encoding. Twig, like many modern template engines, allows for powerful expressions that can access underlying system functionality when exploited.

The attack can be executed remotely over the network without requiring authentication, user interaction, or special privileges. Successful exploitation provides attackers with the ability to read and write arbitrary files, execute system commands, and potentially pivot to other systems on the network. Given that Gibbon is used by educational institutions, compromised systems may expose sensitive student and staff data.

Root Cause

The root cause of CVE-2024-24724 is improper input validation in the messengerSettings.php module. User-controllable data is concatenated or interpolated directly into Twig template strings without sanitization. Twig's expression syntax (using {{ }} and {% %} delimiters) can be exploited to execute arbitrary PHP code when attacker-controlled input reaches the template rendering process.

The vulnerability falls under CWE-1336 (Improper Neutralization of Special Elements Used in a Template Engine), which specifically addresses scenarios where template engines receive untrusted input that can manipulate template logic.

Attack Vector

The attack is network-accessible through the School Admin module's messenger settings functionality. An attacker crafts a malicious HTTP request to the /modules/School%20Admin/messengerSettings.php endpoint containing Twig template injection payloads. Common SSTI payloads for Twig leverage the _self.env object or filter functions to achieve code execution.

Typical exploitation involves injecting Twig expressions that call PHP functions or access the underlying environment object. For example, attackers may attempt to use Twig's filter function combined with system execution functions to run arbitrary commands on the host operating system.

For detailed technical exploitation information, refer to the Packet Storm Security advisory.

Detection Methods for CVE-2024-24724

Indicators of Compromise

  • Unusual HTTP requests to /modules/School%20Admin/messengerSettings.php containing Twig syntax delimiters ({{, }}, {%, %})
  • Web server logs showing requests with encoded template expressions in URL parameters or POST data
  • Unexpected process executions spawned by the web server process (e.g., php-fpm or apache2 spawning shell commands)
  • Modifications to system files or unexpected network connections from the Gibbon server

Detection Strategies

  • Deploy Web Application Firewall (WAF) rules to detect and block common SSTI payloads targeting Twig template syntax
  • Implement application-level logging to capture all requests to administrative endpoints and flag suspicious input patterns
  • Monitor for process ancestry anomalies where web server workers spawn unexpected child processes
  • Use file integrity monitoring on the Gibbon installation directory to detect unauthorized modifications

Monitoring Recommendations

  • Enable verbose logging for the Gibbon application and forward logs to a centralized SIEM for correlation
  • Set up alerts for HTTP 500 errors on the messengerSettings.php endpoint, which may indicate attempted exploitation
  • Monitor outbound network traffic from the Gibbon server for unexpected connections that could indicate reverse shell activity
  • Regularly audit user accounts and administrative access to detect potential persistence mechanisms

How to Mitigate CVE-2024-24724

Immediate Actions Required

  • Immediately restrict access to the /modules/School%20Admin/messengerSettings.php endpoint through network controls or authentication requirements
  • Update Gibbon to a patched version beyond 26.0.00 when available from the GibbonEdu download page
  • Conduct a forensic review of web server logs to identify any exploitation attempts
  • Isolate affected Gibbon servers from sensitive network segments until patching is complete

Patch Information

Organizations should monitor the GibbonEdu official download page for security updates addressing this vulnerability. Apply patches immediately upon availability, following proper change management procedures. Before updating production systems, test patches in a staging environment to verify compatibility with existing configurations.

Workarounds

  • Implement a reverse proxy or WAF rule to block requests containing Twig template syntax characters in parameters
  • Restrict access to the School Admin module to trusted IP addresses only using web server configuration
  • Disable the messenger settings functionality if not required for operations until a patch is available
  • Apply input validation at the web server level using mod_security or similar modules to filter malicious payloads

If using Apache with mod_security, consider implementing rules that block common SSTI patterns. For nginx, use location blocks with access restrictions to limit exposure of the vulnerable endpoint. Consult your web server documentation for specific configuration syntax appropriate to your deployment.

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechGibbonedu

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability39.24%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-1336
  • Technical References
  • Gibbon Education Download Resource

  • Packet Storm Security File #177857
  • Related CVEs
  • CVE-2024-24725: Gibbonedu Gibbon RCE Vulnerability

  • CVE-2025-26211: Gibbonedu Gibbon CSRF 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