Skip to main content
Vulnerability Database/CVE-2026-110025

CVE-2026-110025: phpwcms Auth Bypass Vulnerability

CVE-2026-110025 is an authentication bypass flaw in slackero phpwcms affecting versions up to 1.9.49 and 1.12.3, allowing unrestricted file uploads. This article covers technical details, affected versions, security impact, and mitigation.

Published:

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-110025 Overview

CVE-2026-110025 is an unrestricted file upload vulnerability in slackero phpwcms affecting versions up to 1.9.49 and 1.12.3. The flaw resides in the include/inc_front/content/cnt23.article.inc.php file within the Extension Check component. Attackers can manipulate the POST_name argument to upload arbitrary files without proper validation. The vulnerability is remotely exploitable without authentication or user interaction. The maintainer addressed the issue in versions 1.9.50 and 1.12.4 through patches 118c978430f5a9668b30535f6e592c7ae8df711f, f4c136b467565b2d16ebe2b8276b9a03547a9a69, and 8571cb47df8d66804d1eb88ae3d1ab4fb513e1e7.

Critical Impact

Remote unauthenticated attackers can upload arbitrary files to vulnerable phpwcms instances, potentially leading to webshell deployment and remote code execution on the hosting server.

Affected Products

  • slackero phpwcms versions up to 1.9.49
  • slackero phpwcms versions up to 1.12.3
  • Component: Extension Check (cnt23.article.inc.php)

Discovery Timeline

  • 2026-10-13 - CVE-2026-110025 published to NVD
  • 2026-10-15 - Last updated in NVD database

Technical Details for CVE-2026-110025

Vulnerability Analysis

The vulnerability resides in the Extension Check component of phpwcms, specifically the cnt23.article.inc.php article content handler. The code processes the POST_name parameter without enforcing proper restrictions on file types, extensions, or MIME content. An attacker can submit a crafted POST request to upload executable PHP content into web-accessible directories. Because the attack vector is network-based and requires no authentication, exploitation can be scripted and automated against exposed phpwcms installations. Successful exploitation gives attackers a foothold for full server compromise through webshell execution.

Root Cause

The root cause maps to [CWE-284] Improper Access Control over file upload operations. The Extension Check logic failed to enforce an allow-list of permitted file extensions and did not block execution of uploaded files in content directories. The content/form/ directory also lacked a hardened .htaccess policy preventing PHP interpretation of user-supplied files.

Attack Vector

Exploitation requires sending an HTTP POST request to a vulnerable phpwcms endpoint that reaches the cnt23.article.inc.php handler. The attacker supplies the POST_name field with a filename referencing executable content such as a .php or .phtml file. Once stored in a web-accessible path, the attacker requests the uploaded file to trigger server-side execution, achieving arbitrary code execution in the webserver context.

text
# Security patch excerpt - content/form/.htaccess hardening
# Source: https://github.com/slackero/phpwcms/commit/f4c136b467565b2d16ebe2b8276b9a03547a9a69

# Deny access to all PHP variants, CGI, scripts, executables, and sensitive files
<FilesMatch "(?i)\.(php[0-9]?|phtml|pht|phar|phps|inc|cgi|pl|py|sh|bash|exe|com|bat|cmd|msi|bin|dll|vbs|wsf|scr|htaccess|htpasswd|ini|env|conf|bak|sql)$">
    <IfModule mod_authz_core.c>
        Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
        Order allow,deny
        Deny from all
    </IfModule>
</FilesMatch>

# Disable PHP execution engines
<IfModule mod_php.c>
    php_flag engine off
</IfModule>
<IfModule mod_php7.c>
    php_flag engine off
</IfModule>
<IfModule mod_php8.c>
    php_flag engine off
</IfModule>

# Prevent MIME type sniffing / execution in browsers
<IfModule mod_headers.c>
    Header set X-Content-Type-Options "nosniff"

Source: GitHub Commit f4c136b

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-110025

Indicators of Compromise

  • Unexpected files with executable extensions (.php, .phtml, .phar, .inc) appearing in content/form/, content/tmp/, or related upload directories.
  • HTTP POST requests to phpwcms endpoints containing a POST_name parameter referencing script extensions.
  • Outbound connections from the webserver process to unknown IPs shortly after a POST upload event.

Detection Strategies

  • Review webserver access logs for POST requests invoking article content handlers combined with suspicious POST_name values.
  • File integrity monitoring on phpwcms content/ subdirectories to flag any newly introduced server-executable files.
  • Monitor for PHP processes spawned from unusual parent paths or executing commands such as sh, bash, curl, or wget.

Monitoring Recommendations

  • Alert on webserver processes writing files with scriptable extensions into publicly reachable directories.
  • Capture and retain full HTTP request bodies for CMS endpoints to support forensic review of upload abuse.
  • Correlate authentication, upload, and process-execution telemetry to surface post-upload code execution chains.

How to Mitigate CVE-2026-110025

Immediate Actions Required

  • Upgrade phpwcms to version 1.9.50 or 1.12.4 to apply the official security fixes.
  • Audit the content/form/, content/tmp/, and content/cache/ directories for unauthorized files and remove any confirmed webshells.
  • Restrict network exposure of phpwcms administration and content endpoints to trusted sources where feasible.

Patch Information

The maintainer released fixes in phpwcms 1.9.50 and 1.12.4 via commits 118c978430f5a9668b30535f6e592c7ae8df711f, f4c136b467565b2d16ebe2b8276b9a03547a9a69, and 8571cb47df8d66804d1eb88ae3d1ab4fb513e1e7. See the GitHub Security Advisory GHSA-2c7r-324f-fxm4 and the GitHub Release v1.12.4 for upgrade guidance.

Workarounds

  • Deploy the hardened content/form/.htaccess configuration from the upstream patch to block execution of PHP and other scriptable files in upload directories.
  • Configure the webserver to disable PHP interpretation globally within content/ upload subdirectories using php_flag engine off or equivalent directives.
  • Place phpwcms behind a web application firewall rule that blocks POST requests whose POST_name parameter contains executable file extensions.
bash
# Configuration example - disable PHP execution in phpwcms upload directories
cat > /var/www/phpwcms/content/form/.htaccess <<'EOF'
<FilesMatch "(?i)\.(php[0-9]?|phtml|pht|phar|phps|inc|cgi|pl|py|sh)$">
    <IfModule mod_authz_core.c>
        Require all denied
    </IfModule>
</FilesMatch>
<IfModule mod_php.c>
    php_flag engine off
</IfModule>
EOF
chown www-data:www-data /var/www/phpwcms/content/form/.htaccess
chmod 644 /var/www/phpwcms/content/form/.htaccess

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

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.