CVE-2022-39284

LOW2.6EPSS 0.49%

Codeigniter4's Secure or HttpOnly flag set in Config\Cookie is not reflected in Cookies issued

發布日:2022/10/6修改日:2024/3/6
也稱為:GHSA-745p-r637-7vvpBIT-codeigniter-2022-39284

描述

CodeIgniter is a PHP full-stack web framework. In versions prior to 4.2.7 setting `$secure` or `$httponly` value to `true` in `Config\Cookie` is not reflected in `set_cookie()` or `Response::setCookie()`. As a result cookie values are erroneously exposed to scripts. It should be noted that this vulnerability does not affect session cookies. Users are advised to upgrade to v4.2.7 or later. Users unable to upgrade are advised to manually construct their cookies either by setting the options in code or by constructing Cookie objects. Examples of each workaround are available in the linked GHSA.

受影響套件(2)

CVSS 分數

來源版本嚴重程度向量
osvCVSS 3.1LOW2.6CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N

參考連結(9)