The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2018-25172

CVE-2018-25172: Pedidos 1.0 SQL Injection Vulnerability

CVE-2018-25172 is an SQL injection flaw in Pedidos 1.0 allowing unauthenticated attackers to execute arbitrary SQL queries via the 'q' parameter. This article covers technical details, impact, and mitigation.

Published: March 13, 2026

CVE-2018-25172 Overview

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 database information including schema names and table structures.

Critical Impact

Unauthenticated attackers can exploit this SQL injection vulnerability to extract sensitive database contents, modify data, or potentially compromise the underlying database server without any authentication requirements.

Affected Products

  • Pedidos version 1.0

Discovery Timeline

  • 2026-03-06 - CVE CVE-2018-25172 published to NVD
  • 2026-03-09 - Last updated in NVD database

Technical Details for CVE-2018-25172

Vulnerability Analysis

This vulnerability is classified as CWE-89 (SQL Injection), a critical web application security flaw where user-supplied input is incorporated into SQL queries without proper sanitization or parameterization. The vulnerable endpoint ajax/load_proveedores.php accepts a q parameter that is directly concatenated into SQL statements, allowing attackers to manipulate query logic.

The network-accessible nature of this vulnerability makes it particularly dangerous, as exploitation requires no authentication and can be performed remotely. An attacker can leverage this flaw to bypass application logic, extract confidential data from the database, enumerate table structures, and potentially escalate to further system compromise depending on database permissions and configuration.

Root Cause

The root cause of this vulnerability is improper input validation and the failure to use parameterized queries or prepared statements when processing the q parameter in the ajax/load_proveedores.php file. User-supplied input is directly embedded into SQL query strings without sanitization, escaping, or type validation, enabling attackers to inject arbitrary SQL syntax.

Attack Vector

The attack vector is network-based, requiring no authentication or user interaction. An attacker crafts a malicious HTTP GET request to the ajax/load_proveedores.php endpoint with specially crafted SQL syntax injected into the q parameter. This allows extraction of database schema information, table names, column data, and potentially administrative credentials stored in the database.

The exploitation technique typically involves UNION-based or error-based SQL injection to exfiltrate data. Attackers can enumerate database structure, extract sensitive records, and potentially leverage database functionality such as LOAD_FILE() or INTO OUTFILE for more advanced attacks depending on the database configuration and privileges.

For technical details and proof-of-concept information, see the Exploit-DB #45856 advisory and the VulnCheck SQL Injection Advisory.

Detection Methods for CVE-2018-25172

Indicators of Compromise

  • HTTP GET requests to ajax/load_proveedores.php containing SQL keywords such as UNION, SELECT, FROM, WHERE, or comment sequences (--, #, /*)
  • Requests with encoded SQL injection payloads in the q parameter (URL-encoded special characters like %27, %22, %3D)
  • Unusual database query patterns or errors in application logs indicating malformed SQL syntax
  • Evidence of data exfiltration through abnormally large responses from the affected endpoint

Detection Strategies

  • Deploy Web Application Firewall (WAF) rules to detect and block SQL injection patterns in the q parameter
  • Implement intrusion detection signatures targeting common SQL injection payloads directed at PHP endpoints
  • Monitor web server access logs for requests to ajax/load_proveedores.php with suspicious query string patterns
  • Enable database query logging to identify anomalous or malformed SQL statements originating from the web application

Monitoring Recommendations

  • Configure real-time alerting for any requests matching SQL injection patterns to the vulnerable endpoint
  • Monitor database error logs for syntax errors that may indicate active exploitation attempts
  • Implement rate limiting on the ajax/load_proveedores.php endpoint to slow automated exploitation tools
  • Review web application logs regularly for reconnaissance activity targeting supplier-related functionality

How to Mitigate CVE-2018-25172

Immediate Actions Required

  • Restrict access to the ajax/load_proveedores.php endpoint using authentication controls or IP-based access restrictions
  • Deploy WAF rules to filter SQL injection payloads targeting the vulnerable parameter
  • Consider disabling or removing the vulnerable endpoint if not critical to business operations
  • Implement input validation to whitelist acceptable characters in the q parameter as a temporary measure

Patch Information

No official vendor patch information is currently available for Pedidos 1.0. Organizations should monitor the VulnCheck SQL Injection Advisory for updates. If the application is no longer maintained, consider migrating to an alternative solution that receives active security support.

Workarounds

  • Modify the ajax/load_proveedores.php source code to implement parameterized queries or prepared statements for all database interactions
  • Add server-side input validation to sanitize and escape the q parameter before any database operations
  • Restrict database user privileges for the application to minimum required permissions, preventing access to sensitive schema information
  • Place the application behind a reverse proxy with SQL injection filtering capabilities
bash
# Example Apache configuration to restrict access to vulnerable endpoint
<Location "/ajax/load_proveedores.php">
    Order Deny,Allow
    Deny from all
    Allow from 192.168.1.0/24
    # Only allow access from trusted internal network
</Location>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechN/A

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-89
  • Technical References
  • Exploit-DB #45856

  • VulnCheck SQL Injection Advisory
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English