Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-110025 — Bilingual analysis and safe local PoC for CVE-2026-110025, an unauthenticated unrestricted file upload in phpwcms leading to RCE, with source-level detection and loopback validation. | Kitploit
Tools/GitHubGitHub/capivara-research/cve-2026-110025
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityLearning & EducationRemote Access Tool
GitHubcapivara-research/cve-2026-110025

CVE-2026-110025

Bilingual analysis and safe local PoC for CVE-2026-110025, an unauthenticated unrestricted file upload in phpwcms leading to RCE, with source-level detection and loopback validation.

View Repository
22 days agoNot yet reviewed
Website

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    885
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    796
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    629
  • 4

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    458
  • 5

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    433
  • 6

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    385

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-110025 — phpwcms unrestricted upload to RCE

English | Português do Brasil

CVE GHSA VulDB

Educational proof of concept and technical analysis for an unauthenticated unrestricted file upload in phpwcms. On a server that executes .phtml as PHP, the flaw becomes remote code execution. Discovered and responsibly disclosed by Fernando Viana (capivara-research).

At a glance

ItemDetail
VulnerabilityUnrestricted upload / remote code execution
WeaknessCWE-434, CWE-284
ComponentPublic Form content part (cnt23)
AuthenticationNone
User interactionNone
Affected1.9.0–1.9.49; 1.10.0–1.12.3; affected 2.x development code
Fixed1.9.50; 1.12.4; patched 2.x development branch
GitHub severityCritical, CVSS 3.1 9.8
VulDB metricsCVSS 3.1 7.3; CVSS 4.0 6.9

The different scores are publisher assessments, not different vulnerabilities. Exploitability depends on the form configuration and server-side handler mapping described below.

Official CVE record

The CVE Program record is PUBLISHED and identifies VulDB as the assigning CNA.

CVE fieldPublished value
CNA titleslackero phpwcms Extension Check cnt23.article.inc.php unrestricted upload
Reserved2026-10-13 15:10:51 UTC
Published2026-10-13 15:41:34 UTC
CPEcpe:2.3:a:phpwcms:phpwcms:*:*:*:*:*:*:*:*
CVSS 4.06.9 Medium — CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X
CVSS 3.17.3 High — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C

Use the CVE Program record for the human-readable entry and the canonical CVE JSON 5.2 record for machine-readable data. The CNA record lists 1.9.0–1.9.49 and 1.12.0–1.12.3 individually; the broader 1.10.0–1.12.3 range shown above comes from the upstream GHSA.

Summary and preconditions

The public Form content part used an extension denylist. In 1.12.3 its default value blocked .php but omitted .phtml. The original extension survived in the stored filename, and uploads went to the web-accessible content/form/ directory. The distributed .htaccess blocked only *.php.

The complete RCE chain requires:

  • a publicly reachable Form content part containing an upload field;
  • no explicit extension allowlist that rejects .phtml;
  • a web-accessible upload destination (the default is content/form); and
  • a server that maps .phtml to PHP, as Debian's tested Apache PHP configuration did.
unauthenticated multipart upload
  -> denylist accepts .phtml
  -> timestamp + sanitized original name
  -> file stored below content/form/
  -> Apache maps .phtml to PHP
  -> benign PHP marker executes

Root cause

The vulnerable processor is include/inc_front/content/cnt23.article.inc.php. Its default denylist omitted several server-dependent executable extensions:

$cnt_form['upload_value']['exclude'] =
    'php,asp,php3,php4,php5,aspx,cfm,js,exe,com,bat,app,sh,jar,java';

The application then retained the supplied extension:

$cnt_form['upload_value']['filename'] =
    time().'_'.sanitize_filename($_FILES[$POST_name]['name']);

Meanwhile, the old content/form/.htaccess denied only *.php. These controls disagreed with Apache configurations that treat .phtml as PHP.

Safe reproduction

Use only an isolated, disposable environment you own. The included payload prints a constant marker and PHP version; it has no command parameter, reads no secret, and creates no outbound connection.

1. Static vulnerable/fixed comparison

Against extracted phpwcms trees:

php poc/source-check.php /path/to/phpwcms-1.12.3
php poc/source-check.php /path/to/phpwcms-1.12.4

Expected 1.12.3 result (exit 1):

[FAIL] mandatory phtml denylist
[FAIL] server-side MIME inspection
[FAIL] PHP opening-tag inspection
[FAIL] web-server phtml block
[VULNERABLE PATTERN] One or more upstream protections are absent.

Expected 1.12.4 result (exit 0): all four checks are [PASS], followed by [PATCHED PATTERN].

The Docker runner pins the upstream version and performs the same source-level comparison:

docker build --build-arg PHPWCMS_VERSION=1.12.3 -t cve-2026-110025:vulnerable .
docker run --rm cve-2026-110025:vulnerable

docker build --build-arg PHPWCMS_VERSION=1.12.4 -t cve-2026-110025:patched .
docker run --rm cve-2026-110025:patched

2. End-to-end loopback test

Prepare a local phpwcms 1.12.3 installation with a public Form content part and an upload field. Then provide the form URL and local upload directory:

./poc/reproduce-local.sh \
  http://127.0.0.1:8098/ \
  /tmp/phpwcms-lab/content/form

The runner dynamically preserves hidden fields, first confirms the .php negative control, uploads .phtml, identifies phpwcms's timestamped filename, and requests it. It refuses every target except 127.0.0.1 and localhost.

The exact previously observed output is retained in evidence/validated-results.md. It is historical evidence, not output synthesized by this repository.

Manual browser and Burp workflow

  1. Open the lab form and select poc/proof.phtml in the upload field.
  2. Submit while Burp Proxy interception is enabled.
  3. Confirm the multipart part has the form field name, filename="proof.phtml", and the payload bytes.
  4. Forward the request and inspect content/form/ locally.
  5. Request only the resulting loopback URL. The vulnerable response begins PHPWCMS_PHTML_RCE_PROOF_.
  6. Repeat with poc/negative.php; it must not be stored. Repeat on 1.12.4; neither executable upload should be accepted.

This workflow separates upload acceptance, filesystem persistence, web reachability, and PHP execution instead of treating one HTTP response as proof of the whole chain.

Why the patch works

Release 1.12.4 implements defense in depth:

  • an unconditional dangerous-extension denylist includes phtml, pht, phar, phps, PHP variants, scripts, executables, and sensitive files;
  • fileinfo checks uploaded MIME types;
  • the first 8192 bytes are inspected for PHP opening tags;
  • content/form/.htaccess denies executable extensions for Apache 2.4 and 2.2 compatibility;
  • PHP engines are disabled in the upload directory and nosniff is set.

The upload directory remains under the web root, so every layer still matters. Extension filtering alone is not a universal file-upload design.

Remediation and detection

Upgrade to 1.12.4 (or 1.9.50 on the legacy line) or a later supported release. If upgrading cannot be immediate, remove public upload fields and deny all script execution in content/form/ at the web-server layer. An explicit allowlist limited to business-required formats is an additional mitigation, not a substitute for the patch.

Defenders should review content/form/ and access logs for executable suffixes, especially .phtml, .pht, .phar, .phps, and PHP-number variants. Preserve timestamps and hashes before removal, and rotate secrets if execution may have occurred.

Repository map

Download Tool