codeigniter codeigniter 初始化不恰当

admin 2023-11-30 05:43:17 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
低危 codeigniter codeigniter 初始化不恰当

CVE编号

CVE-2022-39284

利用情况

暂无

补丁情况

官方补丁

披露时间

2022-10-07
漏洞描述
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.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://codeigniter4.github.io/userguide/helpers/cookie_helper.html
https://codeigniter4.github.io/userguide/outgoing/response.html#CodeIgniter%5...
https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies
https://github.com/codeigniter4/CodeIgniter4/issues/6540
https://github.com/codeigniter4/CodeIgniter4/pull/6544
https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-745p-r637-7vvp
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 codeigniter codeigniter * From (including) 4.0.0 Up to (excluding) 4.2.7
阿里云评分 3.7
  • 攻击路径 本地
  • 攻击复杂度 困难
  • 权限要求 管控权限
  • 影响范围 有限影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-665 初始化不恰当
CWE-732 关键资源的不正确权限授予
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  0