Code-Projects Content Management System Unrestricted File Upload Vulnerability in edit_posts.php

Vulnerability

A vulnerability allowing arbitrary file upload has been identified in Code-Projects Content Management System version 1.0. The issue resides in the admin/edit_posts.php file, where the image argument can be manipulated to bypass file type restrictions. This vulnerability can be exploited remotely, without the need for authentication, allowing attackers to upload malicious files that could be executed on the server, potentially leading to unauthorized control, data theft, or further attacks.

Impact

Exploitation of this vulnerability allows for unrestricted file uploads, which can be used to execute malicious scripts on the server. This could result in unauthorized server control, data theft, or launching additional attacks that compromise system security.

Reproduction

To reproduce this vulnerability, send a POST request to the admin/edit_posts.php file with the image argument containing a PHP file (e.g., 111.php) disguised as an image file. The Content-Type should be set to 'application/octet-stream' to bypass file type detection. Once uploaded, the PHP file can be accessed and executed as a web shell.

Added: Jan 2, 2026, 5:20 PM
Updated: Jan 2, 2026, 5:20 PM

Vulnerability Rating

Custom Algorithm
spread
1.0
impact
10.0
exploitability
9.7
remediation
0.0
relevance
1.8
threat
6.4
urgency
2.9
incentive
10.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.