Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-39284— Secure or HttpOnly flag set in Config\Cookie is not reflected in Cookies issued in Codeigniter4

Quick assessment

Affected
codeigniter4 CodeIgniter4
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

CodeIgniter是一款使用PHP语言编写的开源Web框架。 CodeIgniter 4.2.7之前的版本存在安全漏洞,该漏洞源于其不正确的配置导致cookie值被错误地公开给脚本。

CVSS 2.6 · Low EPSS 0.88% · P56

Possible ATT&CK Techniques 1 AI

T1552.004 · Private Keys
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-39284

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Secure or HttpOnly flag set in Config\Cookie is not reflected in Cookies issued in Codeigniter4
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
初始化不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
CodeIgniter 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
CodeIgniter是一款使用PHP语言编写的开源Web框架。 CodeIgniter 4.2.7之前的版本存在安全漏洞,该漏洞源于其不正确的配置导致cookie值被错误地公开给脚本。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
codeigniter4 CodeIgniter4 < 4.2.7 -

II. Public POCs for CVE-2022-39284

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-39284

登录查看更多情报信息。

Patches & Fixes for CVE-2022-39284 (1)

Vendor Advisories for CVE-2022-39284 (1)

Security Blog Posts for CVE-2022-39284 (2)

Other References for CVE-2022-39284 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2022-39284

No comments yet


Leave a comment