← Zuruck zu CVEs
CVE-2022-39284
LOW2.6
Beschreibung
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.
CVE Details
CVSS v3.1 Bewertung2.6
SchweregradLOW
CVSS VektorCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N
AngriffsvektorNETWORK
KomplexitatHIGH
Erforderliche PrivilegienLOW
BenutzerinteraktionREQUIRED
Veroffentlicht10/6/2022
Zuletzt geandert11/21/2024
Quellenvd
Honeypot-Sichtungen0
Betroffene Produkte
codeigniter:codeigniter
Schwachen (CWE)
CWE-665CWE-732
Referenzen
https://codeigniter4.github.io/userguide/helpers/cookie_helper.html#set_cookie(security-advisories@github.com)
https://codeigniter4.github.io/userguide/outgoing/response.html#CodeIgniter%5CHTTP%5CResponse::setCookie(security-advisories@github.com)
https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#restrict_access_to_cookies(security-advisories@github.com)
https://github.com/codeigniter4/CodeIgniter4/issues/6540(security-advisories@github.com)
https://github.com/codeigniter4/CodeIgniter4/pull/6544(security-advisories@github.com)
https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-745p-r637-7vvp(security-advisories@github.com)
https://codeigniter4.github.io/userguide/helpers/cookie_helper.html#set_cookie(af854a3a-2127-422b-91ae-364da2661108)
https://codeigniter4.github.io/userguide/outgoing/response.html#CodeIgniter%5CHTTP%5CResponse::setCookie(af854a3a-2127-422b-91ae-364da2661108)
https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#restrict_access_to_cookies(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/codeigniter4/CodeIgniter4/issues/6540(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/codeigniter4/CodeIgniter4/pull/6544(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-745p-r637-7vvp(af854a3a-2127-422b-91ae-364da2661108)
IOC Korrelationen
Keine Korrelationen erfasst
This product uses data from the NVD API but is not endorsed or certified by the NVD.