Unauthenticated code execution via unrestricted .phar upload
Published Apr 10, 2023 · Updated Feb 11, 2025
Unrestricted file upload in GDidees CMS 3.9.1 allows remote attackers to execute arbitrary PHP code through the CKFinder upload form. Roxy Fileman 1.4.6, embedded under the CKFinder component, accepts .phar files because its upload restrictions do not forbid that executable extension. No authentication or user interaction is required; when the web server interprets the uploaded .phar file as PHP, its contents execute with the server process's privileges.
Summary
What happened
Unrestricted file upload in GDidees CMS 3.9.1 allows remote attackers to execute arbitrary PHP code through the CKFinder upload form. Roxy Fileman 1.4.6, embedded under the CKFinder component, accepts .phar files because its upload restrictions do not forbid that executable extension. No authentication or user interaction is required; when the web server interprets the uploaded .phar file as PHP, its contents execute with the server process's privileges.
The record
- CVE
- CVE-2023-27178
- Published
- Apr 10, 2023
- Updated
- Feb 11, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-434, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 10, 2023CVE publishedPublication date reported by the CVE source.
- Feb 11, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- CVE-2023-27178 .phar upload proof of conceptproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo