Skip to main content

Exam Form Submission CVE-2025-8272

MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-07-28 cna@vuldb.com
5.5
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Discover internet-exposed /admin/update_fst.php
  2. Delivery
    Reference public POC on GitHub
  3. Exploit
    Craft SQL payload in credits parameter
  4. Execution
    Submit HTTP request to application
  5. Persist
    Inject into backend SQL query
  6. Impact
    Read or modify database records

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
Exploitation Conditions

The CVSS 4.0 vector assigns PR:N, indicating no authentication is required per the scoring; however, the vulnerable endpoint is located at /admin/update_fst.php, a path that commonly implies an application-level login gate - this discrepancy is unresolved in available data and must be verified against the running application. Exploitation requires a network-accessible deployment of Exam Form Submission 1.0 with the /admin/update_fst.php script reachable by the attacker. No non-default configuration is required - the injection exists in the default codebase. Factors limiting exploitation include: the extremely small deployment footprint of this educational PHP script (reducing the exposed attack surface globally), the partial impact ceiling (VC:L/VI:L/VA:L - not full database control), and the possibility that admin-path authentication blocks unauthenticated access despite PR:N CVSS scoring. No special platform, OS, or database engine variant is specified as a prerequisite.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) signals the highest-risk surface conditions: network-accessible, low complexity, no prerequisites, no user interaction. However, several signals temper the urgency. First, EPSS is 0.09% at the 25th percentile - extremely low - indicating limited attacker interest or tooling investment targeting this specific application. Second, the application is not in CISA KEV, confirming no confirmed active exploitation campaign at time of analysis. Third, the impact ceiling is partial (VC:L/VI:L/VA:L in CVSS 4.0), meaning full database takeover or remote code execution is not directly indicated by available data. A notable inconsistency exists: the CVSS 4.0 vector assigns PR:N (no authentication), yet the vulnerable file resides under the /admin/ path, which commonly implies an application-level login requirement. If the admin interface is in fact authenticated, the real-world risk drops significantly compared to a raw PR:N reading. This discrepancy should be verified against the application's actual access controls. The publicly available POC on GitHub is the primary risk amplifier - it eliminates the need for attacker research and enables script-kiddie exploitation.

Exploit ScenarioDerived

An attacker identifies an internet-accessible deployment of Exam Form Submission 1.0 and sends a crafted HTTP request to /admin/update_fst.php with a SQL injection payload embedded in the credits parameter, such as a UNION-based or error-based injection string. Using the publicly available POC documented on GitHub (issue #4 in the CVE-ZhuChengQing repository), the attacker can enumerate database tables, extract credentials or sensitive form data, or modify database records with minimal SQL knowledge. Whether a login prompt precedes this endpoint is the primary variable determining ease of exploitation.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 25, 2026

SQL injection in code-projects Exam Form Submission 1.0 exposes the backend database to unauthorized read and write operations via the unsanitized credits parameter in /admin/update_fst.php. A publicly available proof-of-concept on GitHub (referenced in NVD) documents the exact injection point, lowering the bar for opportunistic attacks against any internet-exposed instance. Despite a moderate CVSS 4.0 score of 5.5 and a low EPSS of 0.09% (25th percentile), the combination of a network-accessible vector, no complexity barriers, and public exploit code makes this actionable for any deployment - no public exploit identified as confirmed active exploitation (not in CISA KEV), but publicly available exploit code exists.

RemediationAI

No vendor-released patch identified at time of analysis - code-projects.org does not operate a formal security advisory or patch release process for this script. The primary fix is to rewrite the SQL query in /admin/update_fst.php to use PHP PDO or MySQLi prepared statements with bound parameters, entirely eliminating the injection surface. As an immediate compensating control, restrict access to the /admin/ directory at the web server level (Apache .htaccess or nginx location block) to trusted IP ranges only - this is actionable and has no functional side effects for legitimate admin users on a controlled network. Additionally, enforce strict numeric input validation on the credits parameter (reject non-integer values before query execution) as a secondary defense. Removing the /admin/ interface from public internet exposure is the single highest-impact mitigation if a code fix cannot be applied immediately. References: https://vuldb.com/?id.317861, https://github.com/mynlxx/CVE-ZhuChengQing/issues/4.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected product is a PHP-based web application (cpe:2.3:a:code-projects:exam_form_submission:1.0:*:*:*:*:*:*:*) distributed by code-projects.org, a repository of educational/hobbyist PHP scripts. The vulnerable file /admin/update_fst.php handles updates to form submission records and incorporates the user-supplied credits parameter directly into a SQL query without sanitization or parameterization. The root cause is classified as CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component - the parent class of CWE-89 SQL Injection), indicating the application fails to neutralize SQL metacharacters before passing the input to the database engine. This class of flaw arises from direct string concatenation in query construction rather than use of prepared statements or PDO with bound parameters, which is common in legacy or educational PHP codebases.

Know when Exam Form Submission gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
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
vuln.today AI 6.3 MEDIUM

Admin-path endpoint likely requires credentials (PR:L); straightforward SQLi with partial DB read, write, and availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.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 /admin/update_fst.php. The manipulation of the argument credits leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.

Threat Intelligence Overview

EPSS Score
0.1%
Top 75% exploitable
Prevalence
Rare
educational hobbyist PHP script from code-projects.org, negligible enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Affected Products (CPE)CVE.org

cpe:2.3:a:code-projects:exam_form_submission:1.0:*:*:*:*:*:*:*
CVE-2025-8255 MEDIUM POC
5.5 Jul 28

Unrestricted file upload in code-projects Exam Form Submission 1.0 allows remote unauthenticated attackers to upload arb

CVE-2025-8273 MEDIUM POC
5.5 Jul 28

SQL injection in code-projects Exam Form Submission 1.0 exposes the underlying database through the `credits` parameter

CVE-2025-8271 MEDIUM POC
5.5 Jul 28

SQL injection in code-projects Exam Form Submission 1.0 exposes the `/admin/delete_s3.php` endpoint to remote manipulati

CVE-2025-8270 MEDIUM POC
5.5 Jul 28

SQL injection in code-projects Exam Form Submission 1.0 exposes the /admin/delete_s2.php endpoint to remote exploitation

CVE-2025-8269 MEDIUM POC
5.5 Jul 28

SQL injection in code-projects Exam Form Submission 1.0 exposes the /admin/delete_s1.php endpoint to remote database man

CVE-2025-8251 MEDIUM POC
5.5 Jul 28

SQL injection in code-projects Exam Form Submission 1.0 allows remote unauthenticated attackers to extract or modify dat

CVE-2025-8250 MEDIUM POC
5.5 Jul 28

SQL injection in code-projects Exam Form Submission 1.0 allows remote attackers to manipulate the 'credits' parameter in

CVE-2025-8249 MEDIUM POC
5.5 Jul 28

SQL injection in code-projects Exam Form Submission 1.0 via the 'credits' parameter of /admin/update_s3.php enables remo

CVE-2025-8372 MEDIUM POC
5.5 Jul 31

SQL injection in code-projects Exam Form Submission 1.0 exposes the application's database to remote manipulation throug

CVE-2025-8371 MEDIUM POC
5.5 Jul 31

SQL injection in code-projects Exam Form Submission 1.0 allows remote attackers to manipulate the backend database via t

CVE-2025-8328 MEDIUM POC
5.5 Jul 30

SQL injection in code-projects Exam Form Submission 1.0 exposes the unauthenticated /register.php registration endpoint

CVE-2025-8327 MEDIUM POC
5.5 Jul 30

SQL injection in code-projects Exam Form Submission 1.0 exposes the /admin/delete_s8.php endpoint to remote exploitation

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy