CVE-2025-10781
BaseFortify
Publication date: 2025-09-22
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-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
Can you explain this vulnerability to me?
This vulnerability is a SQL injection flaw in Campcodes Online Learning Management System version 1.0, specifically in the /admin/edit_class.php file. It occurs because the class_name parameter is not properly sanitized before being used in SQL queries, allowing attackers to inject malicious SQL code. This can be exploited remotely without authentication, enabling unauthorized access to the database, data leakage, data manipulation, and potentially full system compromise or service disruption. [1]
How can this vulnerability impact me? :
Exploitation of this vulnerability can lead to unauthorized database access, data leakage, and manipulation. Attackers can extract sensitive information, alter or delete data, disrupt services, and potentially gain full control over the system. This poses significant risks to data integrity, confidentiality, and availability. [1]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by testing the /admin/edit_class.php endpoint for SQL injection via the class_name parameter. You can use tools like sqlmap to automate detection. Example sqlmap command: sqlmap -u "http://targetsite/admin/edit_class.php" --data="class_name=1111" --risk=3 --level=5 --batch. Additionally, manual testing can be done using payloads such as: class_name=1111' AND (SELECT 7828 FROM(SELECT COUNT(*),CONCAT(0x716a766b71,(SELECT (ELT(7828=7828,1))),0x716a786a71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)-- for error-based SQLi, or class_name=1111' AND (SELECT 6236 FROM (SELECT(SLEEP(5)))KstY)-- for time-based blind SQLi. [1]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include: 1) Implement prepared statements with parameter binding to prevent SQL injection. 2) Apply strict input validation and filtering on the class_name parameter to ensure it matches expected formats. 3) Minimize database user privileges by avoiding use of high-privilege accounts for routine database operations. 4) Conduct regular security audits to detect and fix vulnerabilities promptly. These steps help protect system security and data integrity. [1]