CVE-2023-53922: TinyWebGallery v2.5 Remote Code Execution via Unrestricted File Upload
TinyWebGallery v2.5 contains a remote code execution vulnerability in the admin upload functionality that allows unauthenticated attackers to upload malicious PHP files. Attackers can upload .phar files with embedded system commands to execute arbitrary code on the server by accessing the uploaded file's URL.
Security readout for executives and security teams
Plain-English summary
TinyWebGallery 2.5 has a critical file-upload flaw that can let an unauthenticated attacker place executable PHP content on the server and run code remotely. A public exploit reference exists, but the provided sources do not show confirmed active exploitation.
Executive priority
Treat this as urgent for any internet-facing TinyWebGallery 2.5 system. The flaw can lead to full server compromise, and public exploit information increases practical risk even without confirmed active exploitation.
Technical view
The issue is CWE-434 in TinyWebGallery 2.5 admin upload functionality. The bundle states unauthenticated attackers can upload malicious PHP-related files, including .phar content, then trigger execution through the uploaded file URL. CVSS is 9.8: network reachable, low complexity, no privileges, no user interaction.
Likely exposure
Exposure is likely limited to TinyWebGallery 2.5 deployments, especially internet-facing PHP servers where admin upload functionality is reachable. The provided sources do not confirm other affected versions or CPEs.
Exploitation context
The source bundle includes an ExploitDB reference, so exploit material is public. KEV is false, and no cited source in the bundle confirms in-the-wild exploitation.
Researcher notes
Evidence is source-bundle limited. The vulnerability is described as unauthenticated RCE through unrestricted upload in TinyWebGallery 2.5. No patch version, vendor advisory details, affected-version range beyond 2.5, or active exploitation confirmation is provided.
Mitigation direction
Inventory TinyWebGallery deployments and confirm whether version 2.5 is present.
Check TinyWebGallery, CVE, and VulnCheck guidance for fixed versions or vendor mitigations.
Restrict public access to admin upload functionality until remediation is confirmed.
Review web roots and upload directories for unexpected executable files.
Preserve and review web server logs for suspicious upload and file-access activity.
Validation and detection
Confirm product and version on each gallery host.
Verify whether admin upload paths are reachable without authentication from untrusted networks.
Review upload directories for PHP, PHAR, or other executable server-side files.
Check logs for upload requests followed by direct access to uploaded files.
Document whether each instance is patched, isolated, or still exposed.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-434: File access and web shell behavior lookup
File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
3Timeline events
1ADP providers
3Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: yesTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-434 · source CWE mapping
Unrestricted Upload of File with Dangerous Type
Unrestricted Upload of File with Dangerous Type represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.