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-2022-50912

CVE-2022-50912: ImpressCMS File Upload RCE Vulnerability

CVE-2022-50912 is a file upload vulnerability in ImpressCMS 1.4.4 allowing remote code execution. Weak extension filtering lets attackers upload malicious PHP files using alternative extensions to bypass security.

Updated: January 22, 2026

CVE-2022-50912 Overview

CVE-2022-50912 is a critical file upload vulnerability affecting ImpressCMS 1.4.4 that stems from weak file extension sanitization in the content management system. This vulnerability allows attackers to bypass file upload restrictions by using alternative PHP file extensions such as .php2, .php6, .php7, .phps, and .pht, ultimately enabling arbitrary PHP code execution on the server.

The vulnerability is classified under CWE-434 (Unrestricted Upload of File with Dangerous Type), which represents a significant security risk in web applications that accept user file uploads without proper validation and sanitization of file types.

Critical Impact

Successful exploitation allows remote attackers to upload malicious PHP files and achieve arbitrary code execution on vulnerable ImpressCMS servers, potentially leading to complete server compromise.

Affected Products

  • ImpressCMS version 1.4.4
  • ImpressCMS installations with default file upload configurations
  • Web servers configured to execute alternative PHP file extensions

Discovery Timeline

  • 2026-01-13 - CVE-2022-50912 published to NVD
  • 2026-01-13 - Last updated in NVD database

Technical Details for CVE-2022-50912

Vulnerability Analysis

The vulnerability exists in ImpressCMS 1.4.4's file upload handling mechanism, which fails to adequately validate and restrict file extensions during the upload process. While the application may block standard .php file extensions, the sanitization logic does not account for alternative PHP file extensions that Apache and other web servers may be configured to interpret as executable PHP code.

Attackers can exploit this weakness by crafting file uploads with extensions like .php2, .php6, .php7, .phps, or .pht. When these files are uploaded to the server and subsequently accessed via HTTP, the web server processes them as PHP scripts, executing any malicious code contained within.

This vulnerability is particularly dangerous because it requires no authentication to exploit via network access. The attack can be performed remotely with low complexity, and successful exploitation grants attackers the ability to execute arbitrary commands with the privileges of the web server process.

Root Cause

The root cause of CVE-2022-50912 lies in insufficient file extension validation within the ImpressCMS upload handler. The application implements a blocklist-based approach to file type validation that only checks for common executable extensions like .php, while failing to account for less common but equally dangerous PHP-executable extensions.

This represents a classic example of incomplete input validation, where the defensive mechanism relies on a known-bad list rather than implementing a more secure allowlist approach that explicitly permits only safe file types.

Attack Vector

The attack vector for this vulnerability is network-based, requiring no user interaction or prior authentication. An attacker can exploit this vulnerability through the following general approach:

  1. Identify an ImpressCMS 1.4.4 installation with file upload functionality
  2. Create a malicious PHP payload (e.g., web shell or reverse shell)
  3. Rename the payload file with an alternative PHP extension that bypasses validation
  4. Upload the file through the vulnerable file upload mechanism
  5. Navigate to the uploaded file's URL to trigger PHP code execution
  6. Achieve arbitrary command execution on the target server

For detailed technical implementation and proof-of-concept code, refer to the Exploit-DB #50890 entry and the VulnCheck Advisory on ImpressCMS.

Detection Methods for CVE-2022-50912

Indicators of Compromise

  • Presence of files with unusual PHP extensions (.php2, .php6, .php7, .phps, .pht) in upload directories
  • Web server access logs showing requests to files with alternative PHP extensions
  • Unexpected PHP files in ImpressCMS upload folders that were not uploaded by administrators
  • Web shell signatures or suspicious PHP code in uploaded files

Detection Strategies

  • Implement file integrity monitoring on ImpressCMS upload directories to detect unauthorized file additions
  • Configure web application firewalls (WAF) to inspect file upload requests for dangerous content types
  • Review web server access logs for requests targeting files with alternative PHP extensions
  • Deploy endpoint detection solutions to identify web shell activity and suspicious process execution from web server contexts

Monitoring Recommendations

  • Enable detailed logging for all file upload operations within ImpressCMS
  • Monitor for unusual outbound network connections originating from the web server process
  • Set up alerts for new file creations in upload directories, particularly those with executable extensions
  • Regularly audit uploaded files for malicious content using antivirus and file analysis tools

How to Mitigate CVE-2022-50912

Immediate Actions Required

  • Upgrade ImpressCMS to the latest available version that addresses this vulnerability
  • Review and remove any suspicious files with alternative PHP extensions from upload directories
  • Implement server-side file type validation using allowlists rather than blocklists
  • Consider restricting file upload functionality until patches can be applied

Patch Information

Organizations running ImpressCMS 1.4.4 should consult the ImpressCMS Official Website and the GitHub ImpressCMS Repository for security updates and patch information. It is recommended to upgrade to the latest stable release that addresses this file upload vulnerability.

Workarounds

  • Configure the web server to prevent execution of PHP code from files with alternative extensions (.php2, .php6, .php7, .phps, .pht)
  • Implement strict allowlist-based file type validation at the application level, permitting only explicitly safe file types
  • Store uploaded files outside the web root or in directories where script execution is disabled
  • Use .htaccess or server configuration to deny execution of any files in upload directories
bash
# Apache configuration to disable PHP execution in upload directories
# Add to .htaccess in the upload directory or server configuration
<FilesMatch "\.(php|php2|php3|php4|php5|php6|php7|phps|pht|phtml)$">
    Require all denied
</FilesMatch>

# Alternative: Disable all script handlers in upload directory
<Directory "/var/www/html/impresscms/uploads">
    php_admin_flag engine off
    RemoveHandler .php .phtml .php2 .php3 .php4 .php5 .php6 .php7 .phps .pht
</Directory>

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechImpresscms

  • SeverityCRITICAL

  • CVSS Score9.3

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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-434
  • Technical References
  • GitHub ImpressCMS Repository

  • Exploit-DB #50890

  • ImpressCMS Official Website

  • VulnCheck Advisory on ImpressCMS
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE 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