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
    • 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-2021-47938

CVE-2021-47938: ImpressCMS 1.4.2 RCE Vulnerability

CVE-2021-47938 is a remote code execution vulnerability in ImpressCMS 1.4.2 that allows authenticated attackers to inject PHP code via the autotasks interface. This article covers technical details, exploitation risks, and mitigation.

Published: May 18, 2026

CVE-2021-47938 Overview

CVE-2021-47938 is an authenticated remote code execution vulnerability in ImpressCMS 1.4.2. The flaw resides in the autotasks administrative interface, which fails to sanitize the sat_code parameter before writing it to an executable PHP file. An authenticated attacker with administrative access can submit a POST request to /modules/system/admin.php?fct=autotasks&op=mod containing malicious PHP code. The server stores the injected payload in a PHP file that subsequently accepts arbitrary commands through GET parameters. The vulnerability is classified under CWE-94 (Improper Control of Generation of Code) and enables full compromise of the host running ImpressCMS.

Critical Impact

Authenticated attackers can execute arbitrary PHP and shell commands on the web server, leading to complete confidentiality, integrity, and availability loss.

Affected Products

  • ImpressCMS 1.4.2
  • ImpressCMS system module (autotasks administrative interface)
  • Deployments exposing /modules/system/admin.php to authenticated administrators

Discovery Timeline

  • 2026-05-10 - CVE-2021-47938 published to NVD
  • 2026-05-12 - Last updated in NVD database

Technical Details for CVE-2021-47938

Vulnerability Analysis

The vulnerability is a code injection flaw in the ImpressCMS autotasks management endpoint. The sat_code POST parameter accepts the PHP body of a scheduled task and is written verbatim into a PHP file under the application's autotasks directory. Because the application does not validate, escape, or sandbox the supplied code, any string submitted in sat_code becomes server-side executable PHP. The resulting file is then reachable over HTTP and parses incoming GET parameters as command input, effectively turning the autotasks feature into a persistent web shell. The exploit chain requires valid administrator credentials, which limits unauthenticated exposure but does not mitigate insider misuse or compromise of admin sessions.

Root Cause

The root cause is the absence of input validation and code-generation controls in the autotasks editor. ImpressCMS treats sat_code as trusted PHP source and persists it directly to disk inside the webroot. No allow-listing of functions, no syntactic validation, and no separation between code storage and code execution surfaces exist. This design pattern violates CWE-94 by allowing attacker-controlled data to be interpreted as code at runtime.

Attack Vector

The attack proceeds over the network against the ImpressCMS web interface. An attacker first authenticates as an administrator. The attacker then submits a POST request to /modules/system/admin.php?fct=autotasks&op=mod with a crafted sat_code value containing PHP such as a function that executes the contents of a GET parameter. ImpressCMS writes this payload into an autotask PHP file inside the webroot. The attacker then issues GET requests to that file, passing arbitrary shell commands as query parameters, which the injected PHP executes under the web server account. Technical proof-of-concept details are available in the Exploit-DB #50298 entry and the VulnCheck Remote Code Execution Advisory.

Detection Methods for CVE-2021-47938

Indicators of Compromise

  • POST requests to /modules/system/admin.php?fct=autotasks&op=mod containing PHP tokens such as <?php, system(, passthru(, or eval( in the sat_code body.
  • New or modified PHP files inside the ImpressCMS autotasks storage path, especially files with recent timestamps not matching deployment activity.
  • Subsequent GET requests to autotask PHP files carrying shell-like query parameters (for example, id, cmd, or base64-encoded values).
  • Web server processes spawning sh, bash, cmd.exe, powershell.exe, or reconnaissance tools such as whoami, id, or uname.

Detection Strategies

  • Inspect web access and application logs for fct=autotasks&op=mod requests and correlate them with the authenticated administrator account performing them.
  • Monitor the ImpressCMS installation directory for unexpected creation or modification of PHP files using file integrity monitoring.
  • Alert on PHP interpreter or web server child processes invoking operating system shells, which is unusual for a CMS workload.

Monitoring Recommendations

  • Enable verbose logging on the ImpressCMS admin panel and forward logs to a SIEM for retention and correlation.
  • Baseline normal administrator activity and flag deviations such as autotask edits from new IP addresses or outside business hours.
  • Review outbound network connections from the web server for callbacks to attacker-controlled infrastructure following autotask modifications.

How to Mitigate CVE-2021-47938

Immediate Actions Required

  • Restrict access to /modules/system/admin.php to trusted administrative networks using web server or reverse proxy access controls.
  • Rotate administrator credentials and enforce strong, unique passwords with multi-factor authentication on any upstream identity provider.
  • Audit the autotasks directory for unauthorized PHP files and remove any task code that was not installed by a legitimate administrator.
  • Review web and application logs for prior exploitation attempts referencing sat_code or fct=autotasks.

Patch Information

No vendor patch is referenced in the available advisories for ImpressCMS 1.4.2. Operators should upgrade to the latest available release from the ImpressCMS official site and the ImpressCMS download modules page, and verify that the autotasks module no longer accepts arbitrary PHP in the sat_code parameter before returning the application to production use.

Workarounds

  • Disable or remove the ImpressCMS system autotasks module if it is not required for operations.
  • Place the application behind a web application firewall with rules that block PHP tags and dangerous function names in request bodies sent to admin endpoints.
  • Configure the web server to deny direct HTTP execution of files inside the autotasks storage directory.
  • Run the PHP process under a least-privilege account and apply filesystem permissions that prevent the webroot from being writable by the runtime user where feasible.
bash
# Example nginx configuration to deny execution of autotask PHP files
location ~ ^/modules/system/autotasks/.*\.php$ {
    deny all;
    return 403;
}

# Restrict access to the vulnerable admin endpoint to a management subnet
location = /modules/system/admin.php {
    allow 10.0.0.0/24;
    deny all;
}

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechImpresscms

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.27%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/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-94
  • Technical References
  • Exploit-DB #50298

  • ImpressCMS Official Site

  • ImpressCMS Download Modules

  • VulnCheck Remote Code Execution Advisory
  • Related CVEs
  • CVE-2022-50912: ImpressCMS File Upload RCE Vulnerability

  • CVE-2019-25703: ImpressCMS SQL Injection 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