ADVISORIES

GitHub Advisory Database

GHSA-44v2-prcf-pc3m

Joomla Framework Database Package Vulnerable to SQL Injection

Details

Improper handling of identifiers lead to a SQL injection vulnerability in the quoteNameStr method of the database package. Please note: the affected method is a protected method. It has no usages in the original packages in neither the 2.x nor 3.x branch and therefore the vulnerability in question can not be exploited when using the original database class. However, classes extending the affected class might be affected, if the vulnerable method is used.

Affected packages

EcosystemPackageAffected versions
Packagistjoomla/database
From 3.0.0 before 3.4.0 (fixed in 3.4.0)
Packagistjoomla/database
From 1.0.0 before 2.2.0 (fixed in 2.2.0)

References