CVE-2025-9531: SQL Injection (Blind Time-Based) Vulnerability in cod_agenda
Parameter on agenda.php
Endpoint
CVE Publication: https://www.cve.org/CVERecord?id=CVE-2025-9531
Summary
A SQL Injection vulnerability was discovered in the cod_agenda
parameter of the agenda.php
endpoint. This issue allows any unauthenticated attacker to inject arbitrary SQL queries, potentially leading to unauthorized data access or further exploitation depending on database configuration.
Details
The application fails to properly sanitize user-supplied input in the cod_agenda
parameter. As a result, specially crafted SQL payloads are interpreted directly by the backend database.
PoC
Vulnerable Endpoint: agenda.php
Parameter: cod_agenda
Payload:
|
|
Example Request
|
|
This payload introduces a time delay, demonstrating the ability to execute arbitrary SQL queries.
Normal request:
SQLi Request:
Observe the time delay in the server response, indicating the successful execution of the SQL payload.
Impact
- Unauthorized access to sensitive data (e.g., users, passwords, logs).
- Database enumeration (schemas, tables, users, versions).
- Escalation to RCE depending on DB configuration (e.g., xp_cmdshell, UDFs).
- Full compromise of the application if chained with other vulnerabilities.
- This issue affects all users and environments, as it does not require authentication and is reachable via a public endpoint.
Reference
https://github.com/KarinaGante/KG-Sec/blob/main/CVEs/i-Educar/CVE-2025-9531.md
Finder
By: CVE-Hunters