CVE-2017-20278: Joomla JoomRecipe 1.0.3 SQL Injection via category parameter
Joomla Component JoomRecipe 1.0.3 contains an SQL injection vulnerability that allows unauthenticated attackers to manipulate database queries by injecting SQL code through the category parameter. Attackers can send GET requests to the all-recipes endpoint with malicious SQL payloads in the category path segment to extract sensitive database information.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Remove
Remove
Joomla JoomRecipe 1.0.3from your environment.Uninstall the JoomRecipe 1.0.3 component if it is not required or replace it with a patched/secure alternative.
- Configuration
Modify the JoomRecipe component to validate/whitelist the category path segment and use parameterized queries or prepared statements for any database access to prevent SQL injection.
Joomla JoomRecipe category parameter handling = validate and whitelist input; use parameterized queries (prepared statements) - Compensating control
Apply compensating controls such as WAF rules or firewall restrictions to block malicious payloads targeting the all-recipes endpoint and the category path segment (e.g., block suspicious SQL metacharacters, restrict access to trusted IPs).
- Operational
Review web and database logs for signs of exploitation. If compromise is suspected, assume potential data exposure and rotate database credentials and any other potentially exposed credentials; restore affected components from known-good backups as needed.
Event History
Frequently Asked Questions
What is the severity of CVE-2017-20278?
CVE-2017-20278 has a severity rating of high with a score of 8.2.
How do I fix CVE-2017-20278?
To fix CVE-2017-20278, update the JoomRecipe component to a patched version that addresses the SQL injection vulnerability.
What type of vulnerability is CVE-2017-20278?
CVE-2017-20278 is classified as an SQL injection vulnerability.
Who is affected by CVE-2017-20278?
CVE-2017-20278 affects installations of JoomRecipe version 1.0.3 and earlier.
What can attackers do with CVE-2017-20278?
Attackers can exploit CVE-2017-20278 to manipulate database queries by injecting malicious SQL code through the category parameter.