HIGH 8.2

CVE-2019-25752: J-BusinessDirectory SQL Injection Vulnerability in Joomla!

A critical flaw in Joomla!'s J-BusinessDirectory component (version 4.9.7) allows attackers to inject malicious SQL code without needing to log in. By crafting a specially formatted web request, an attacker can trick the component into revealing sensitive database information such as table names, user credentials, and other confidential data. The vulnerability is exposed through a specific web parameter called 'type' in the component's category-retrieval function, making it simple for attackers to exploit remotely.

Source data · NVD / CISA · public domain

CVSS
3.1 · 8.2 HIGH · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Weaknesses (CWE)
CWE-89
Affected products
0 configuration(s)
Published / Modified
2026-06-19 / 2026-06-22

NVD description (verbatim)

Joomla! Component J-BusinessDirectory 4.9.7 contains an SQL injection vulnerability that allows unauthenticated attackers to execute arbitrary SQL queries by injecting malicious code through the type parameter. Attackers can send GET requests to index.php with the option=com_jbusinessdirectory&task=categories.getCategories parameters and inject UNION-based SQL statements in the type parameter to extract database information including schema names and sensitive data.

4 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

CVE-2019-25752 is an unauthenticated SQL injection vulnerability (CWE-89) in the J-BusinessDirectory component version 4.9.7 for Joomla!. The vulnerability exists in the categories.getCategories task handler, which fails to properly sanitize the 'type' parameter before incorporating it into SQL queries. Attackers can execute UNION-based SQL injection attacks by sending GET requests to index.php with crafted parameters: option=com_jbusinessdirectory&task=categories.getCategories. This permits arbitrary query execution, allowing extraction of schema enumeration and sensitive database records. The absence of authentication requirements and the straightforward attack vector (simple GET requests) significantly amplify the risk profile.

Business impact

Compromise of this vulnerability exposes an organization's Joomla! database to unauthorized access and data exfiltration. An attacker can systematically enumerate database structures, extract user tables (including password hashes), retrieve customer information, and access any sensitive data stored in the database. This directly impacts confidentiality and can lead to regulatory compliance violations (GDPR, HIPAA, PCI-DSS), reputational damage, and potential liability. The public nature of web-facing Joomla! installations makes this a particularly attractive target for opportunistic threat actors.

Affected systems

Any Joomla! installation running the J-BusinessDirectory component version 4.9.7 is affected. Organizations using earlier or later versions of this component should verify their specific version against the vendor's security guidance. The vulnerability requires the component to be installed and enabled; default Joomla! installations without this third-party component are not at risk. The attack surface is network-accessible, making any internet-facing instance vulnerable.

Exploitability

This vulnerability is highly exploitable. It requires no authentication, no user interaction, and can be triggered via simple HTTP GET requests over the network. The UNION-based SQL injection technique is well-established and widely understood by the attacker community. Automated scanning tools can readily identify vulnerable installations by probing the specific task parameter. The low complexity and high accessibility make this suitable for widespread, rapid exploitation campaigns. No advanced exploitation skills are required.

Remediation

Immediately update the J-BusinessDirectory component to a patched version released by the vendor. Verify the specific patched version number in the official Joomla! Extensions Directory or the vendor's security advisory. If an immediate patch is unavailable, disable the J-BusinessDirectory component until a fix is deployed. Additionally, implement a Web Application Firewall (WAF) rule to block requests containing SQL injection patterns in the 'type' parameter as a temporary protective measure.

Patch guidance

Obtain the latest security-patched version of J-BusinessDirectory from the vendor's official repository. Verify the patch version against the security advisory to confirm it addresses CVE-2019-25752. Deploy the patch in a test environment first to ensure compatibility with your Joomla! configuration. Apply the patch during a scheduled maintenance window and verify functionality post-deployment. Document the patched version for your compliance and asset inventory records.

Detection guidance

Monitor web server access logs for GET requests to index.php containing the parameters option=com_jbusinessdirectory&task=categories.getCategories with suspicious characters or SQL keywords (UNION, SELECT, FROM, WHERE) in the 'type' parameter. Implement IDS/IPS signatures to flag SQL injection attempts targeting this endpoint. Query your database audit logs for unusual query patterns or schema enumeration attempts that coincide with suspicious web traffic. Search for evidence of data exfiltration following successful injection attempts.

Why prioritize this

This vulnerability merits urgent remediation due to its HIGH CVSS score (8.2), unauthenticated attack vector, high exploitability, and direct impact to database confidentiality. The simplicity of exploitation and the public disclosure of the vulnerability increase the likelihood of active exploitation in the wild. Any Joomla! site running this component is immediately at risk of data theft, making this a top-priority remediation target alongside critical infrastructure patching efforts.

Risk score, explained

The CVSS 3.1 score of 8.2 reflects the combination of network accessibility (AV:N), low attack complexity (AC:L), no privileges required (PR:N), no user interaction (UI:N), and high confidentiality impact (C:H). The vulnerability permits unauthorized access to sensitive database information, justifying the elevated confidentiality rating. The integrity impact is rated as low (I:L) because SQL injection can potentially modify data, though the primary attack vector focuses on exfiltration. No availability impact is indicated, as the injection does not inherently cause denial of service. The unscoped boundary (S:U) indicates the vulnerability is contained to the vulnerable component without affecting other security domains.

Frequently asked questions

How can I check if my Joomla! site is running J-BusinessDirectory 4.9.7?

Log in to your Joomla! administrator panel, navigate to Extensions > Manage > Manage, and search for 'J-BusinessDirectory' or 'jbusinessdirectory'. The version number will be displayed in the component list. Alternatively, check the component's configuration file in your Joomla! installation directory for version information.

Can this vulnerability be exploited if J-BusinessDirectory is disabled?

No. The vulnerability requires the component to be installed and enabled in Joomla!. If the component is disabled, the vulnerable code path is not accessible via web requests. However, we recommend updating or removing the component entirely rather than relying on disabling it as a long-term mitigation.

What data is most at risk if this vulnerability is exploited?

Any data stored in your Joomla! database is potentially at risk, including user credentials, customer information, email addresses, configuration secrets, and any custom data managed by your Joomla! installation. Attackers typically target user tables first to obtain password hashes and email addresses for credential stuffing or further targeting.

Is there a temporary WAF rule I can deploy before patching?

Yes. You can create WAF rules to block HTTP requests where the 'type' parameter contains SQL-related keywords such as UNION, SELECT, or comment syntax (-- or /**/). However, WAF rules are not a substitute for patching—they may have false positives and can be bypassed. Patching remains the only reliable remediation.

This analysis is provided for informational purposes to support cybersecurity decision-making. The vulnerability details, CVSS score, and technical attributes are derived from the CVE record and vendor disclosures. Organizations must independently verify patch availability and compatibility with their specific Joomla! and J-BusinessDirectory versions by consulting the official vendor advisory and security guidance. SEC.co does not warrant the accuracy or completeness of third-party vulnerability data and recommends immediate testing of any patches in non-production environments before production deployment. This document does not constitute legal, compliance, or specific remediation advice for any particular organization. Source: NVD (public-domain), retrieved 2026-07-27. Analysis generated by SEC.co (claude-haiku-4-5).