CVE-2019-25748
Received Received - Intake
SQL Injection in Joomla JHotelReservation

Publication date: 2026-06-19

Last updated on: 2026-06-19

Assigner: VulnCheck

Description
Joomla JHotelReservation 6.0.7 contains an SQL injection vulnerability that allows unauthenticated attackers to execute arbitrary SQL queries by injecting malicious code through the rooms parameter. Attackers can send POST requests to the search-hotels endpoint with crafted SQL payloads in the rooms parameter to extract sensitive database information including version details.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-19
Last Modified
2026-06-19
Generated
2026-06-19
AI Q&A
2026-06-19
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
joomla jhotelreservation 6.0.7
cmsjunkie jhotelreservation 6.0.7
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
Executive Summary

Joomla JHotelReservation version 6.0.7 contains a high-severity SQL injection vulnerability identified as CVE-2019-25748. This flaw allows unauthenticated attackers to execute arbitrary SQL commands by injecting malicious code through the 'rooms' parameter in POST requests sent to the 'search-hotels' endpoint.

By exploiting this vulnerability, attackers can manipulate the SQL queries executed by the application, enabling them to extract sensitive database information such as database version details.

Impact Analysis

This vulnerability can have significant impacts including unauthorized access to sensitive database information. Attackers can extract confidential data by injecting malicious SQL queries without needing any authentication.

Such unauthorized data access can lead to data breaches, exposure of sensitive information, and potential manipulation of database contents, which can compromise the integrity and confidentiality of the affected system.

Detection Guidance

This vulnerability can be detected by monitoring for suspicious POST requests to the 'search-hotels' endpoint that include SQL injection payloads in the 'rooms' parameter.

A practical detection method involves capturing and analyzing HTTP POST traffic targeting the vulnerable Joomla JHotelReservation 6.0.7 component, specifically looking for unusual SQL syntax or injection patterns in the 'rooms' parameter.

For example, using command-line tools like curl or wget, you can attempt to send crafted POST requests with SQL injection payloads to test if the system is vulnerable.

  • curl -X POST -d "rooms=1' OR '1'='1" https://targetsite.com/search-hotels
  • Use network monitoring tools (e.g., Wireshark or tcpdump) to capture POST requests to the 'search-hotels' endpoint and inspect the 'rooms' parameter for suspicious SQL code.
  • Check web server logs for POST requests to 'search-hotels' containing SQL keywords or unusual characters in the 'rooms' parameter.
Mitigation Strategies

Immediate mitigation steps include updating the JHotelReservation extension to a patched version if available.

If an update is not available, consider disabling or removing the vulnerable JHotelReservation 6.0.7 extension to prevent exploitation.

Additionally, implement web application firewall (WAF) rules to block SQL injection attempts targeting the 'search-hotels' endpoint, especially those manipulating the 'rooms' parameter.

Monitor and restrict POST requests to the 'search-hotels' endpoint to trusted users or IP addresses where possible.

Compliance Impact

The SQL injection vulnerability in Joomla JHotelReservation 6.0.7 allows unauthenticated attackers to extract sensitive database information by injecting malicious SQL queries. This unauthorized access to sensitive data could lead to violations of data protection regulations such as GDPR and HIPAA, which mandate the protection of personal and sensitive information from unauthorized access or disclosure.

Because attackers can extract sensitive database information, organizations using the affected software may face compliance risks related to data confidentiality and integrity requirements under these standards.

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