Featured image of post CVE-2025-10846

CVE-2025-10846

SQL Injection

CVE-2025-10846: SQL Injection (Boolean-Based) Vulnerability in id Parameter on module/ComponenteCurricular/edit Endpoint

CVE Publication: https://www.cve.org/CVERecord?id=CVE-2025-10846

Summary

A SQL Injection vulnerability was discovered in the id parameter of the module/ComponenteCurricular/edit 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 id parameter. As a result, specially crafted SQL payloads are interpreted directly by the backend database.

PoC

Vulnerable Endpoint: module/ComponenteCurricular/edit

Parameter: id

Payload:

1
sqlmap -u "http://localhost:8086/module/ComponenteCurricular/edit?id=8" --cookie="i_educar_session=bnTu3HZ4Jk5a0JxRERNMd03ZAr1TUGvXZTDs9DdE" --batch --dbs --dbms=postgresql

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-10846.md

Finder

Karina Gante

By: CVE-Hunters

Built with Hugo
Theme Stack designed by Jimmy