CVE & CISA-KEV Catalog

CVE-2023-22727

CRITICAL
9.8
CVSS v3
NVD

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.

How to fix

Remediation Available
cakephpNVD
Affected:>= 4.4.0, < 4.4.10Fixed in:4.4.10CVE-2023-22727derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

0.86%probability of exploitation in 30 days
54thpercentile

Moderate risk: more likely to be exploited than 54% of all known CVEs.

References

Vendor Advisory1
Third-Party Advisory1

Related Vulnerabilities

Other CWE-89 (SQL Injection) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2014-3704High7.5100%-Fix
CVE-2015-7297High7.5100%--
CVE-2024-29824High8.8100%KEVFix
CVE-2023-34362Critical9.8100%KEV + RansomFix
CVE-2019-7481High7.5100%KEV + RansomFix
CVE-2024-29826High8.8100%-Fix
Embed a live status badge for CVE-2023-22727
CVE-2023-22727 severity badge

Markdown

[![CVE-2023-22727](https://tridentstack.com/cve/badge/CVE-2023-22727.svg)](https://tridentstack.com/cve/CVE-2023-22727)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-22727"><img src="https://tridentstack.com/cve/badge/CVE-2023-22727.svg" alt="CVE-2023-22727"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.