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-25433

CVE-2018-25433: JE Photo Gallery SQL Injection Vulnerability

CVE-2018-25433 is an SQL injection flaw in Joomla Component JE Photo Gallery 1.1 that enables unauthenticated attackers to extract database information. This article covers technical details, exploitation risks, and mitigation.

Published: June 4, 2026

CVE-2018-25433 Overview

CVE-2018-25433 is an SQL injection vulnerability [CWE-89] in the Joomla extension JE Photo Gallery version 1.1. The flaw resides in the com_jephotogallery component, which fails to sanitize the categoryid parameter before incorporating it into backend database queries. Unauthenticated attackers can send crafted GET requests to index.php and inject arbitrary SQL syntax. Successful exploitation allows extraction of sensitive database content, including Joomla administrative usernames and password hashes. The vulnerability requires no authentication, no user interaction, and is reachable over the network.

Critical Impact

Remote, unauthenticated attackers can exfiltrate Joomla credential hashes and arbitrary database contents via a single crafted HTTP request.

Affected Products

  • Joomla Component JE Photo Gallery 1.1 (com_jephotogallery)
  • Joomla installations distributing the JE PhotoGallery extension from joomlaextensions.co.in
  • Any Joomla site exposing the vulnerable categoryid parameter

Discovery Timeline

  • 2026-06-01 - CVE-2018-25433 published to NVD
  • 2026-06-02 - Last updated in NVD database

Technical Details for CVE-2018-25433

Vulnerability Analysis

The JE Photo Gallery extension exposes a category browsing endpoint reachable through Joomla's index.php router with option=com_jephotogallery. The component reads the categoryid query parameter and concatenates it directly into an SQL statement executed against the Joomla database. Because the parameter is not cast to an integer or bound as a prepared parameter, attackers can append arbitrary SQL clauses such as UNION SELECT to retrieve data from any table the database user can access. Public exploitation guidance lists targeting the #__users table to dump username and password columns, which contain bcrypt-hashed administrator credentials. Offline cracking of recovered hashes can then yield administrative access to the Joomla site.

Root Cause

The root cause is improper neutralization of special elements used in an SQL command [CWE-89]. The categoryid parameter is treated as trusted input and inserted into a query string without parameterization, input validation, or type coercion. Joomla's database abstraction layer provides safe binding methods, but the extension bypasses them.

Attack Vector

The attack vector is network-based and unauthenticated. An attacker issues an HTTP GET request to the vulnerable Joomla endpoint with a malicious payload appended to the categoryid parameter. The request follows the pattern index.php?option=com_jephotogallery&controller=jephotogallery&view=...&categoryid=<payload>, where <payload> contains injected SQL such as a UNION clause selecting credential columns. Refer to Exploit-DB #45930 and the VulnCheck Advisory on Joomla SQL Injection for the documented request structure.

Detection Methods for CVE-2018-25433

Indicators of Compromise

  • HTTP requests to index.php containing option=com_jephotogallery combined with SQL keywords such as UNION, SELECT, CONCAT, or information_schema in the categoryid parameter.
  • Web server access logs showing unusually long categoryid values, URL-encoded quotes (%27), or comment markers (--, #, /*).
  • Database query logs containing SELECT statements referencing #__users, password, or session columns originating from the photo gallery component.
  • Unexpected outbound queries returning large result sets to anonymous web sessions.

Detection Strategies

  • Deploy web application firewall (WAF) rules that inspect the categoryid parameter for SQL metacharacters and known injection signatures.
  • Enable Joomla and database query auditing to correlate inbound HTTP requests with SQL statements executed against the credentials table.
  • Hunt historic web logs for requests matching the Exploit-DB #45930 payload pattern targeting com_jephotogallery.

Monitoring Recommendations

  • Monitor authentication logs for password spraying or successful logins following suspected hash exfiltration.
  • Alert on any HTTP 200 response to a com_jephotogallery request whose body length deviates significantly from baseline.
  • Track database user activity for unexpected access to the #__users table from the web application account.

How to Mitigate CVE-2018-25433

Immediate Actions Required

  • Disable or uninstall the JE Photo Gallery 1.1 extension from all Joomla installations until a fixed release is verified.
  • Force a password reset for all Joomla administrator and privileged user accounts in case credential hashes were exposed.
  • Review web server access logs for prior exploitation attempts against com_jephotogallery and treat matches as confirmed credential compromise.

Patch Information

No vendor patch is referenced in the published advisory. The extension is distributed from joomlaextensions.co.in, and administrators should consult the vendor directly for a fixed build. Until a verified update is available, removing the component is the only reliable remediation. Additional technical context is available in the VulnCheck Advisory on Joomla SQL Injection.

Workarounds

  • Block requests to index.php containing option=com_jephotogallery at the WAF or reverse proxy layer.
  • Enforce strict integer validation on the categoryid parameter via WAF rules, rejecting any non-numeric values.
  • Restrict the Joomla database account's privileges so the web application cannot read the #__users table beyond required columns.
  • Place the affected Joomla site behind authentication or IP allow-listing during incident response.
bash
# Example ModSecurity rule blocking SQLi attempts against com_jephotogallery
SecRule ARGS:categoryid "!@rx ^[0-9]+$" \
    "id:1002543,phase:2,deny,status:403,\
    msg:'CVE-2018-25433 JE Photo Gallery categoryid non-integer input',\
    tag:'CWE-89',tag:'joomla'"

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 Download

  • Joomla Extensions Website

  • Exploit-DB #45930

  • VulnCheck Advisory on Joomla 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