GHSA-9895-53fc-98v2 TYPO3 SQL Injection in dbal

Not scored Published

SQL injection in TYPO3 dbal extension allows attackers to manipulate database queries when MySQL passthrough mode is enabled.

Exploited in the wild
Not known
Login needed
Not stated
Attackable
Over the internet
Victim action needed
Not stated
Fix
Available

What is GHSA-9895-53fc-98v2?

GHSA-9895-53fc-98v2 is a SQL injection vulnerability in typo3/cms, published on 3 Jun 2024. It can be exploited over the network.

Official description

A flaw in the database escaping API results in a SQL injection vulnerability when extension dbal is enabled and configured for MySQL passthrough mode in its extension configuration. All queries which use the DatabaseConnection::sql_query are vulnerable, even if arguments were properly escaped with DatabaseConnection::quoteStr beforehand.

Which versions are affected by GHSA-9895-53fc-98v2?

2 open source packages ship an affected version, including typo3/cms.

PackageAffectedFixed in
typo3/cms PackagistFrom 6.2.06.2.18
typo3/cms PackagistFrom 6.2.06.2.18

How do I fix GHSA-9895-53fc-98v2?

Upgrade typo3/cms to 6.2.18 or later.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is GHSA-9895-53fc-98v2 being exploited?

There is no known exploitation of GHSA-9895-53fc-98v2 in the wild and no public exploit code.

Sources

Is GHSA-9895-53fc-98v2 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free