A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-25351

CVE-2018-25351: Joomla! EkRishta Component SQLi Flaw

CVE-2018-25351 is an error-based SQL injection flaw in Joomla! EkRishta Component 2.10 that lets unauthenticated attackers extract database credentials. This article covers technical details, affected versions, and mitigation.

Published: May 28, 2026

CVE-2018-25351 Overview

CVE-2018-25351 is an error-based SQL injection vulnerability in the Joomla! component EkRishta version 2.10. The flaw exists in the username parameter of the login endpoint. Unauthenticated attackers can submit POST requests containing crafted SQL payloads to execute arbitrary database queries. Successful exploitation enables extraction of stored user credentials, session data, and underlying database schema information. The vulnerability maps to CWE-89, Improper Neutralization of Special Elements used in an SQL Command.

Critical Impact

Unauthenticated attackers can extract sensitive database contents, including credentials, by injecting SQL through the login form's username parameter.

Affected Products

  • Joomla! Component EkRishta 2.10
  • Joomla! sites using the EK Rishta extension
  • Distributed via joomlaextensions.co.in

Discovery Timeline

  • 2026-05-23 - CVE-2018-25351 published to NVD
  • 2026-05-26 - Last updated in NVD database

Technical Details for CVE-2018-25351

Vulnerability Analysis

The EkRishta 2.10 component fails to sanitize the username POST parameter before incorporating it into an SQL query string. An attacker submits a malicious payload to the login endpoint, and the database engine evaluates the injected SQL alongside the original authentication query. Because the application surfaces database errors in its response, attackers can use error-based extraction techniques to read arbitrary data row by row.

The attack requires no authentication, no user interaction, and only network access to the Joomla! site running the vulnerable extension. Public exploitation details are available via Exploit-DB entry 44877 and the VulnCheck advisory.

Root Cause

The component concatenates user-supplied input directly into an SQL statement. There is no prepared statement, parameterized query, or input filter applied to the username field. Joomla!'s native database abstraction APIs are not used to bind the parameter, which is the canonical defense against [CWE-89] in the Joomla! ecosystem.

Attack Vector

An attacker issues a POST request to the EkRishta login handler with an SQL injection payload placed in the username body parameter. Typical payloads use UNION SELECT clauses or conditional error triggers such as EXTRACTVALUE to coerce the MySQL backend into echoing query results inside an error message. The response leaks data from any table accessible to the database user, including the Joomla! #__users table.

No verified code example is published. Refer to the Exploit-DB #44877 record for the full proof-of-concept request format.

Detection Methods for CVE-2018-25351

Indicators of Compromise

  • POST requests to EkRishta login endpoints containing SQL keywords such as UNION, SELECT, SLEEP, or EXTRACTVALUE inside the username field.
  • Web server access logs showing unusually long username values or URL-encoded SQL metacharacters (%27, %20OR%20, %23).
  • Database error responses returned to client IPs that subsequently issue many similar login POSTs.

Detection Strategies

  • Inspect Joomla! and front-end web server logs for repeated failed logins from a single source paired with malformed username values.
  • Deploy web application firewall (WAF) rules that flag SQL syntax tokens inside authentication parameters.
  • Correlate database error events with HTTP request patterns to identify error-based extraction attempts.

Monitoring Recommendations

  • Enable verbose access logging on Joomla! installations using third-party components and retain logs for at least 90 days.
  • Alert on outbound database errors that reach the HTTP response body, which indicates missing error suppression.
  • Monitor the #__users table for read patterns inconsistent with normal application behavior.

How to Mitigate CVE-2018-25351

Immediate Actions Required

  • Disable or uninstall the EkRishta 2.10 component on affected Joomla! sites until a fixed release is confirmed.
  • Rotate all Joomla! administrator and user credentials, because credential disclosure cannot be ruled out.
  • Restrict access to the EkRishta login endpoint with IP allowlists or HTTP authentication while remediation is in progress.

Patch Information

No vendor patch has been published in the references associated with CVE-2018-25351. Site operators should consult the EK Rishta extension page and the vendor at joomlaextensions.co.in for an updated release. If no fixed version is available, remove the component.

Workarounds

  • Deploy a WAF rule that blocks SQL metacharacters and keywords inside the username POST parameter on the EkRishta login route.
  • Run the Joomla! database user with the minimum privileges required, removing access to tables outside the component's scope.
  • Suppress verbose MySQL error messages in production to break error-based extraction techniques.
  • Replace EkRishta with an actively maintained Joomla! matrimonial or membership extension that uses parameterized queries.
bash
# Example ModSecurity rule to block SQL tokens in the username parameter
SecRule ARGS:username "@rx (?i)(union(\s|/\*.*\*/)+select|extractvalue\s*\(|sleep\s*\(|'\s*or\s+1=1)" \
    "id:1002518,phase:2,deny,status:403,log,msg:'CVE-2018-25351 EkRishta SQLi attempt'"

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechJoomla

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.07%

  • 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
  • Joomla Extension EK Rishta

  • Exploit-DB #44877

  • Joomla Extensions Resource

  • VulnCheck Advisory: EK Rishta SQL Injection
  • Related CVEs
  • CVE-2026-35221: Joomla! com_finder SQL Injection Flaw

  • CVE-2026-35222: Joomla! SQL Injection Vulnerability

  • CVE-2018-25380: Joomla eXtroForms SQLi Vulnerability

  • CVE-2018-25381: Joomla Responsive Portfolio SQLi Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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