Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
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
工具/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.

查看仓库
22天前尚未审核
分享
网站
内容在请求的语言中不可用。显示英文版本。

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

下载工具

最受欢迎

查看全部 →

发现我们社区最常用的工具。

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 终极 OSINT 工具包:调查图谱、置信度评分、别名家族、地图、时间线和报告。49 个模块、400+ 个站点,无需 API 密钥。

    891
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock 一键执行应用(CVE-2026-43499)

    806
  • 3

    wifit3

    derv82/wifit3

    Wifite 但仅限 USB 且跨平台。

    635
  • 4

    looking-glass

    anonghosty/looking-glass

    CSIRT 平台,可将 Shadowserver 报告导入 MongoDB,并将其重放为交互式地图、分析、发现、公告和高管仪表板。

    454
  • 5

    jumpserver

    jumpserver/jumpserver

    JumpServer是一个开源的特权访问管理(PAM)平台,为DevOps和IT团队提供通过Web浏览器按需安全访问SSH、RDP、Kubernetes、数据库和RemoteApp端点的能力。

    434
  • 6

    SafeLine

    chaitin/safeline

    自托管WAF和反向代理,可过滤恶意HTTP流量、阻止SQL注入、XSS和机器人攻击,具备速率限制和动态HTML/JS加密功能。

    384

探索所有工具

浏览我们的工具集合

查看所有工具 →