Skip to main content

Exam Form Submission CVE-2025-8371

MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-07-31 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
    Send HTTP request to /admin/update_s5.php
  2. Exploit
    Inject SQL payload into credits parameter
  3. Execution
    Bypass query logic in PHP backend
  4. Impact
    Extract or modify database contents

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 vulnerable parameter is credits in the file /admin/update_s5.php. The CVSS 4.0 vector assigns PR:N (no privileges required), implying the endpoint is reachable without authentication - however, the /admin/ path prefix is a notable tension point: if the application enforces session-based login before reaching this page, exploitation would require valid admin credentials (limiting real-world risk). Defenders should verify whether their deployment exposes /admin/update_s5.php to unauthenticated HTTP requests. No special platform, configuration, or non-default feature flag is described as a prerequisite beyond running the application. Exploitation is limited to version 1.0 of this specific product; no other versions or platforms are confirmed affected.

Impact

The CVSS 4.0 base score of 5.5 (Medium) reflects limited confidentiality, integrity, and availability impact at the vulnerable-system level with no subsequent-system impact. The EPSS score of 0.07% (20th percentile) is notably low, indicating that exploitation in the wild is rare or unlikely despite the POC being public - consistent with the product's obscure deployment footprint. No CISA KEV listing exists, so active exploitation is not confirmed. The PR:N vector assignment warrants scrutiny: the vulnerable endpoint is under /admin/, which conventionally implies authenticated access; if the admin panel is protected by session-based authentication not captured in the CVSS assessment, real-world exploitability would be lower than the vector suggests - defenders should verify whether unauthenticated access to this endpoint is actually possible in their deployment. The combination of a low-footprint product, low EPSS, no KEV, and an admin-path endpoint makes this a low operational priority for most organizations.

Exploit ScenarioDerived

An attacker sends a crafted HTTP POST or GET request to /admin/update_s5.php on a publicly accessible Exam Form Submission 1.0 installation, injecting SQL syntax into the credits parameter (e.g., a UNION-based payload). If the admin panel lacks authentication enforcement, no prior access is needed; the injected query executes with the database user's privileges, potentially enabling extraction of all stored data or modification of records. A proof-of-concept demonstrating this technique is publicly available at the referenced GitHub issue.

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 allows remote attackers to manipulate the backend database via the credits parameter in /admin/update_s5.php. The CVSS 4.0 vector assigns PR:N, though the admin-prefixed endpoint path introduces ambiguity about authentication enforcement. A publicly available proof-of-concept exploit exists on GitHub, though EPSS sits at just 0.07% (20th percentile), reflecting limited real-world interest likely tied to the product's narrow deployment footprint. No vendor patch has been identified at time of analysis.

RemediationAI

No vendor-released patch has been identified at time of analysis. The primary fix is to rewrite the query in /admin/update_s5.php to use prepared statements with parameterized inputs, replacing any direct interpolation of the credits value into the SQL string - this eliminates the injection point without side effects. As a compensating control, restrict access to the /admin/ directory at the web server or firewall level to only trusted IP ranges, which significantly reduces exposure if the admin panel should not be publicly reachable. Deploying a web application firewall (WAF) rule to detect and block SQL injection patterns in the credits parameter can provide an additional layer, though WAF bypasses are common and this should not substitute for code-level remediation. Given the product's likely unmaintained state, replacing it with a supported alternative is advisable for production environments.

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 exam form management application distributed by code-projects, a site offering small educational and demo PHP projects. The single confirmed affected version is 1.0, per CPE cpe:2.3:a:code-projects:exam_form_submission:1.0:*:*:*:*:*:*:*. The vulnerability resides in the file /admin/update_s5.php, where user-supplied input to the credits parameter is incorporated into a SQL query without sanitization or parameterization. The root cause class is CWE-74 (Injection), which encompasses SQL injection as a subtype - the application fails to neutralize special elements before passing them to a downstream SQL interpreter. This is a classic unsanitized direct database query pattern common in small, unmaintained PHP applications that predate modern ORM or prepared-statement conventions.

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.5 MEDIUM

Network-reachable endpoint per description; no user interaction; PR:N per provided CVSS vector though admin-path placement is ambiguous; no availability impact evident from SQLi in a form field.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/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 has been found in code-projects Exam Form Submission 1.0 and classified as critical. Affected by this vulnerability is an unknown functionality of the file /admin/update_s5.php. The manipulation of the argument credits leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.

Threat Intelligence Overview

EPSS Score
0.1%
Top 80% exploitable
Prevalence
Rare
small educational demo PHP project, minimal production 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-8272 MEDIUM POC
5.5 Jul 28

SQL injection in code-projects Exam Form Submission 1.0 exposes the backend database to unauthorized read and write oper

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-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