CVE-2025-10078
BaseFortify
Publication date: 2025-09-08
Last updated on: 2026-04-29
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| razormist | online_polling_system | 1.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-74 | The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. |
| CWE-89 | The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data. |
Attack-Flow Graph
AI Powered Q&A
How can this vulnerability impact me? :
This vulnerability can have severe impacts including unauthorized database access, data leakage, data tampering, and potential full system control by attackers. It can also lead to service disruption. Since it can be exploited remotely without authentication, attackers can manipulate the database to compromise confidentiality, integrity, and availability of the system's data and services. [1, 2, 3]
Can you explain this vulnerability to me?
CVE-2025-10078 is a critical SQL injection vulnerability in SourceCodester Online Polling System version 1.0, specifically in the /admin/candidates.php file. The vulnerability arises because the 'id' parameter is not properly validated or sanitized, allowing attackers to inject malicious SQL code. This can lead to unauthorized access to the database, enabling attackers to retrieve, modify, or delete sensitive data remotely without authentication. [1, 2, 3]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by testing the 'id' parameter in the /admin/candidates.php file for SQL injection. One method is to use a time-based blind SQL injection payload such as: http://127.0.0.1/poll/admin/candidates.php?id=' AND (SELECT 9782 FROM (SELECT(SLEEP(5)))SYqP) AND 'esyP'='esyP1 which causes a delay in server response if vulnerable. Additionally, the sqlmap tool can be used to automate detection and exploitation attempts against the 'id' parameter to confirm SQL injection vulnerability. [2]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include: 1) Implementing prepared statements with parameter binding to separate SQL code from user input, preventing injection. 2) Applying strict input validation and filtering to ensure inputs conform to expected formats. 3) Minimizing database user permissions by avoiding use of high-privilege accounts for routine operations. 4) Conducting regular security audits to detect and fix vulnerabilities promptly. If possible, consider replacing the affected component with a secure alternative. [2, 3]