Exam Form Submission
CVE-2025-8255
MEDIUM
Severity by source
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:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Unauthenticated network upload to a PHP web root yields full RCE; scope changes to the hosting server, warranting S:C and H/H/H impact.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was found in code-projects Exam Form Submission 1.0. It has been rated as critical. This issue affects some unknown processing of the file /register.php. The manipulation of the argument image leads to unrestricted upload. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.
AnalysisAI
Unrestricted file upload in code-projects Exam Form Submission 1.0 allows remote unauthenticated attackers to upload arbitrary files - including PHP webshells - via the image parameter of the /register.php registration endpoint. If uploaded files are stored in a web-accessible, script-executable directory (the typical deployment pattern for this PHP application), this flaw enables full remote code execution on the underlying server. A publicly available proof-of-concept exploit exists per a GitHub issue reference; EPSS is low at 0.12% (30th percentile), reflecting the product's limited deployment footprint rather than low exploitability. No active exploitation is confirmed in CISA KEV.
Technical ContextAI
The affected application is a PHP-based web form system, identified by CPE cpe:2.3:a:code-projects:exam_form_submission:1.0:*:*:*:*:*:*:*, built and distributed by code-projects.org as an educational project. The vulnerable endpoint /register.php processes a user-supplied file upload via the image parameter without enforcing any restriction on file type, MIME type, or extension. The assigned CWE-284 (Improper Access Control) captures the root cause: the application fails to enforce access control over what content may be uploaded to the server. In PHP applications, when uploaded files are stored within the web root in an executable context, an attacker can upload a .php webshell and trigger execution via a direct HTTP request - bypassing any application-layer logic entirely. The tags include 'Authentication Bypass' and 'File Upload', consistent with a registration-stage flaw that precedes any authentication gate.
RemediationAI
No vendor-released patch has been identified at the time of analysis for code-projects Exam Form Submission 1.0. Administrators should apply the following specific compensating controls immediately: first, modify /register.php to validate uploaded file types against a strict allowlist of non-executable extensions (e.g., .jpg, .png, .gif) using both MIME type inspection and extension checks - note that extension-only checks can be bypassed with double extensions. Second, configure the upload destination directory to disallow PHP execution at the web server level (e.g., adding php_flag engine off in an .htaccess file for Apache, or a location block deny in nginx) - this prevents webshell execution even if a malicious file is uploaded. Third, store uploaded files outside the web root entirely and serve them through a PHP proxy that enforces content-type headers; this eliminates direct URL-based execution. Restrict public access to /register.php via network controls or IP allowlisting if open registration is not operationally required. The exploit POC is referenced at https://github.com/Dingzenggonpo/cve/issues/4 and further details are at https://vuldb.com/?ctiid.317843.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Same weakness CWE-284 – Improper Access Control
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today