The fix for CVE-2017-16652 restricts the redirects of HttpUtils::createRedirectResponse() to the host of the request. When framework.session.cookie_do...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:12symfony |
All versions→ Not listed |
Not listed |
| Debian:13symfony |
< 6.4.51+dfsg-0+deb13u1→ 6.4.51+dfsg-0+deb13u1 |
6.4.51+dfsg-0+deb13u1 |
| Debian:14symfony |
All versions→ Not listed |
Not listed |
Original description The description as published by the source.
The fix for CVE-2017-16652 restricts the redirects of HttpUtils::createRedirectResponse() to the host of the request. When framework.session.cookie_domain is set, it also allows the subdomains of that domain. To check a target, it read the host of the URL up to the first "/". But browsers also end the host at "", "?" and "#". So with the cookie domain .example.com, a target like https://evil.test?.example.com passed the check, and the browser went to evil.test. Applications are exposed when framework.session.cookie_domain is set. The default success and failure handlers of form_login redirect to the _target_path or _failure_path of the request. A login link can then send the user to another site right after a successful login, for example to ask for the password again. HttpUtils now ends the host of a target where browsers do, before checking it against the allowed domains.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org