- Description
- CakePHP is a development framework for PHP web apps. In affected versions the `Cake\Database\Query::limit()` and `Cake\Database\Query::offset()` methods are vulnerable to SQL injection if passed un-sanitized user request data. This issue has been fixed in 4.2.12, 4.3.11, 4.4.10. Users are advised to upgrade. Users unable to upgrade may mitigate this issue by using CakePHP's Pagination library. Manually validating or casting parameters to these methods will also mitigate the issue.
- Source
- security-advisories@github.com
- NVD status
- Analyzed
CVSS 3.1
- Type
- Primary
- Base score
- 9.8
- Impact score
- 5.9
- Exploitability score
- 3.9
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Severity
- CRITICAL
- security-advisories@github.com
- CWE-89
- Hype score
- Not currently trending
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "54CC7CDF-D3A7-427B-B734-89E0E47778C7",
"versionEndExcluding": "4.2.12",
"versionStartIncluding": "4.2.0"
},
{
"criteria": "cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "09F4E6E5-91F9-4496-88A1-2B9DCC6D9656",
"versionEndExcluding": "4.3.11",
"versionStartIncluding": "4.3.0"
},
{
"criteria": "cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "45326B61-AA4E-4D7C-8B29-ACE4AA9951E5",
"versionEndExcluding": "4.4.10",
"versionStartIncluding": "4.4.0"
}
],
"operator": "OR"
}
]
}
]