CVE-2018-25433
Deferred Deferred - Pending Action
SQL Injection in JE Photo Gallery Joomla Component

Publication date: 2026-06-01

Last updated on: 2026-06-01

Assigner: VulnCheck

Description
Joomla Component JE Photo Gallery 1.1 contains an SQL injection vulnerability that allows unauthenticated attackers to extract database information by injecting malicious SQL code through the categoryid parameter. Attackers can send GET requests to index.php with crafted categoryid values in the com_jephotogallery component to execute arbitrary SQL queries and retrieve sensitive data like usernames and password hashes.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-01
Last Modified
2026-06-01
Generated
2026-06-22
AI Q&A
2026-06-02
EPSS Evaluated
2026-06-21
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
je_photogallery je_photo_gallery 1.1
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Compliance Impact

The SQL injection vulnerability in Joomla Component JE Photo Gallery 1.1 allows unauthenticated attackers to extract sensitive database information such as usernames and password hashes. This exposure of sensitive personal data can lead to non-compliance with data protection regulations like GDPR and HIPAA, which require the protection of personal and sensitive information against unauthorized access and breaches.

By enabling attackers to retrieve sensitive user data, this vulnerability increases the risk of data breaches, which can result in legal and financial penalties under these regulations.

Detection Guidance

This vulnerability can be detected by sending crafted GET requests to the vulnerable Joomla component and observing if SQL injection is possible via the 'categoryid' parameter in the 'index.php' file of the com_jephotogallery component.

A practical detection method involves using tools like curl or custom scripts to send requests with malicious SQL payloads in the categoryid parameter and checking the response for database error messages or extracted data.

  • Example curl command to test for SQL injection: curl "http://target-site/index.php?option=com_jephotogallery&categoryid=1' OR '1'='1"
  • Use the publicly available exploit script (e.g., the Perl script from ExploitDB-45930) to verify if the vulnerability is exploitable by attempting to extract user data.
Mitigation Strategies

Immediate mitigation steps include restricting access to the vulnerable component, applying input validation and sanitization on the 'categoryid' parameter, and updating or patching the Joomla JE Photo Gallery component to a version that fixes the SQL injection flaw.

If an official patch or update is not available, consider disabling the com_jephotogallery component temporarily to prevent exploitation.

Additionally, monitor web server logs for suspicious requests targeting the 'categoryid' parameter and implement web application firewall (WAF) rules to block malicious SQL injection attempts.

Executive Summary

The vulnerability exists in Joomla Component JE Photo Gallery 1.1 and is an SQL injection flaw. It allows unauthenticated attackers to inject malicious SQL code through the categoryid parameter by sending crafted GET requests to index.php in the com_jephotogallery component. This enables attackers to execute arbitrary SQL queries on the database.

As a result, attackers can extract sensitive database information such as usernames and password hashes.

Impact Analysis

This vulnerability can have serious impacts including unauthorized access to sensitive data stored in the database. Attackers can retrieve usernames and password hashes, which may lead to further compromise of user accounts and system integrity.

Since the attack requires no authentication, it increases the risk of data breaches and potential exploitation of the affected system.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2018-25433. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart