CakePHP through 5.4.3 Cookie Leakage via HTTP Client CookieCollection Domain Matching
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fix or patch referenced
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
CakePHP up to and including version 5.4.3 is affected, specifically its HTTP client's cookie handling component. A malicious server or an attacker-controlled host can receive or plant cookies meant for other domains, potentially exposing session cookies and allowing unauthorized cookies to be injected into shared cookie storage.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original description
CakePHP through 5.4.3 contains an improper cookie domain validation vulnerability in the Http Client CookieCollection that allows malicious servers to receive and plant cookies by abusing unanchored suffix matching. Attackers controlling a host such as one ending in a victim domain suffix, or sending Set-Cookie Domain values for unrelated hosts, can steal session cookies or inject cookies into shared client cookie jars.
Timeline
- CVE published
- First seen by cve.now
Affected versions
- cakephp cakephp
through 5.4.3