CVE-2025-9786
BaseFortify
Publication date: 2025-09-01
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 |
|---|---|---|
| campcodes | online_learning_management_system | 1.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| 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. |
| 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. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2025-9786 is a critical SQL injection vulnerability in Campcodes Online Learning Management System version 1.0, specifically in the /teacher_signup.php file. The vulnerability occurs because the 'firstname' 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 view, modify, or delete sensitive data. The attack can be performed remotely without authentication. [1, 2, 3]
How can this vulnerability impact me? :
Exploitation of this vulnerability can lead to unauthorized database access, data leakage, modification, or deletion of sensitive information, and potentially full system compromise or service disruption. Since the attack requires no authentication and can be initiated remotely, it poses a significant risk to the confidentiality, integrity, and availability of the system and its data. [1, 2, 3]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
The vulnerability can be detected by testing the 'firstname' parameter in the /teacher_signup.php endpoint for SQL injection. You can use tools like sqlmap to automate detection, for example: sqlmap -u "http://target/lms/teacher_signup.php" --data="firstname=123" --risk=3 --level=5. Additionally, manual testing with payloads such as 'firstname=123' OR NOT 2648=2648 #', error-based or time-based injection payloads can be used to confirm the vulnerability. Searching for the vulnerable URL using Google dorking with "inurl:teacher_signup.php" can help identify affected targets. [2, 3]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include implementing prepared statements with parameter binding to prevent SQL injection, enforcing strict input validation and filtering on the 'firstname' parameter and other inputs, minimizing database user privileges by avoiding high-privilege accounts for application operations, and conducting regular security audits. Since no known countermeasures or patches are currently available, replacing the affected component with an alternative product is also suggested. [2, 3]