CVE-2018-25172
Published: 06 March 2026
Summary
CVE-2018-25172 is a high-severity SQL Injection (CWE-89) vulnerability. Its CVSS base score is 8.8 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 20.8th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).
Deeper analysis
CVE-2018-25172 is an SQL injection vulnerability (CWE-89) in Pedidos 1.0. The flaw resides in the ajax/load_proveedores.php endpoint, where the 'q' parameter fails to properly sanitize input, enabling attackers to inject and execute arbitrary SQL queries.
Unauthenticated attackers can exploit this vulnerability remotely with low complexity by sending crafted GET requests to the vulnerable endpoint. Successful exploitation allows extraction of sensitive database information, including schema names and table structures, resulting in high confidentiality impact, low integrity impact, and no availability impact, as reflected in the CVSS v3.1 base score of 8.2 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N).
Advisories and proof-of-concept exploits are available at https://www.exploit-db.com/exploits/45856 and https://www.vulncheck.com/advisories/pedidos-sql-injection-via-load-proveedoresphp, which detail the vulnerability and exploitation methods.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2018-21627
Vulnerability details
Pedidos 1.0 contains an SQL injection vulnerability that allows unauthenticated attackers to execute arbitrary SQL queries by injecting malicious code through the 'q' parameter. Attackers can send GET requests to the ajax/load_proveedores.php endpoint with crafted SQL payloads to extract sensitive…
more
database information including schema names and table structures.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
SQL injection vulnerability in public-facing web endpoint directly enables T1190 (Exploit Public-Facing Application) and facilitates arbitrary database queries for data extraction (T1213.006: Databases).
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
Directly requires validation of the 'q' parameter input to the ajax/load_proveedores.php endpoint to block malicious SQL injection payloads.
Mandates identification, reporting, and correction of the SQL injection flaw in the application code to eliminate the vulnerability.
Enables monitoring of system activities to identify SQL injection attacks through anomalous database queries or access patterns.