Ubuntu CVE Tracker
UBUNTU-CVE-2020-7070
Details
In PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when PHP is processing incoming HTTP cookie values, the cookie names are url-decoded. This may lead to cookies with prefixes like __Host confused with cookies that decode to such prefix, thus leading to an attacker being able to forge cookie which is supposed to be secure. See also CVE-2020-8184 for more information.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | php5 | All versions before 5.5.9+dfsg-1ubuntu4.29+esm13 (fixed in 5.5.9+dfsg-1ubuntu4.29+esm13) |
| Ubuntu:16.04:LTS | php7.0 | All versions before 7.0.33-0ubuntu0.16.04.16 (fixed in 7.0.33-0ubuntu0.16.04.16) |
| Ubuntu:18.04:LTS | php7.2 | All versions before 7.2.24-0ubuntu0.18.04.7 (fixed in 7.2.24-0ubuntu0.18.04.7) |
| Ubuntu:20.04:LTS | php7.4 | All versions before 7.4.3-4ubuntu2.4 (fixed in 7.4.3-4ubuntu2.4) |
References
- https://ubuntu.com/security/CVE-2020-7070
- https://git.php.net/?p=php-src.git;a=commit;h=6559fe912661ca5ce5f0eeeb591d928451428ed0
- http://cve.circl.lu/cve/CVE-2020-8184
- https://bugs.php.net/bug.php?id=79699
- https://hackerone.com/reports/895727
- https://ubuntu.com/security/notices/USN-4583-1
- https://ubuntu.com/security/notices/USN-4583-2
- https://www.cve.org/CVERecord?id=CVE-2020-7070