GHSA-j86x-pjmr-9m6w: Typo3/cms SQL Injection Vulnerability
MODERATEGHSA-j86x-pjmr-9m6w is a MODERATE (CVSS 5.4) sql injection vulnerability (CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')) affecting Typo3/cms libraries in the Packagist ecosystem. The issue involves sql injection in typo3 frontend login. Remediation is available by upgrading affected packages to version 6.2.26, 7.6.10.
GHSA-j86x-pjmr-9m6w at a Glance
Security Impact
CVSS: 5.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N).
How to Fix GHSA-j86x-pjmr-9m6w
To remediate this vulnerability, upgrade all affected Typo3/cms dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade typo3/cms to 6.2.26
Upgrade typo3/cms to 7.6.10
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for typo3/cms
How to Check if You Are Affected
To determine whether your application is affected by GHSA-j86x-pjmr-9m6w, inspect your project dependencies for Typo3/cms:
inspect dependencies for typo3/cms
Analyze the terminal output to locate any version of Typo3/cms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.2.26), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'), where 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. In Typo3/cms, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-j86x-pjmr-9m6w Affected Typo3/cms Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
typo3/cms
|
Packagist |
≥ 6.2.0
< 6.2.26
|
6.2.26
|
|
typo3/cms
|
Packagist |
≥ 7.6.0
< 7.6.10
|
7.6.10
|
References
Frequently Asked Questions
What is GHSA-j86x-pjmr-9m6w?
Which Typo3/cms versions are affected?
What version fixes GHSA-j86x-pjmr-9m6w?
Is typo3/cms affected?
What is the CVSS score of GHSA-j86x-pjmr-9m6w?
What CWE is associated with GHSA-j86x-pjmr-9m6w?
How can I check Packagist dependencies for GHSA-j86x-pjmr-9m6w?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j86x-pjmr-9m6w",
"modified" : "2024-06-05T14:23:20Z",
"published" : "2024-06-05T14:23:20Z",
"aliases" : [ ],
"summary" : "SQL Injection in TYPO3 Frontend Login",
"details" : "Failing to properly escape user input, the frontend login component is vulnerable to SQL Injection. A valid frontend user account is needed to exploit this vulnerability.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "typo3/cms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.2.0"
}, {
"fixed" : "6.2.26"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "typo3/cms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.6.0"
}, {
"fixed" : "7.6.10"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/2016-07-19-3.yaml"
}, {
"type" : "WEB",
"url" : "https://typo3.org/security/advisory/typo3-core-sa-2016-016"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-89" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-06-05T14:23:20Z",
"nvd_published_at" : null
}
}