已开启
[安全审计] MKSH-CONF-002: IFS 环境变量注入在实际部署中的可达性。`eval.c` 中 IFS(Internal Field Separator... #45
c_bing_b创建于 7月7日
openharmony_ci
7月7日 评论:
7月7日 评论:
感谢提交Issue!关于Issue的交互操作,请访问OpenHarmony社区支持命令清单。如果有问题,请联系 [@JerryH1011](https://gitcode.com/JerryH1011) [@LeonChan525](https://gitcode.com/LeonChan525) [@zhu-sheng-le](https://gitcode.com/zhu-sheng-le) 。如果需要调整订阅PR、Issue的变更状态,请访问链接。
Thanks for submitting the issue. For more commands, please visit OpenHarmony Command List. If you have any questions, please refer to committer gitcode for help. If you need to change the subscription of a Pull Request or Issue, please visit the link.


7月7日 添加了label:waiting_for_assign
安全审计问题确认 — MKSH-CONF-002
本 Issue 来自 AI Security Probe 7.0 对
openharmony/third_party_mksh的安全审计,属于问题确认表中待社区确认的问题。发生了什么问题?
IFS 环境变量注入在实际部署中的可达性。
eval.c中 IFS(Internal Field Separator)处理路径允许通过设置 IFS 环境变量改变字段分割行为,可能导致特权脚本中的变量展开被劫持。来源: 威胁建模
当前风险判断: Confirmed HIGH
证据位置:
eval.c (IFS 处理路径)关联修复项: MKSH-T01 (P1)
建议修复方式: 在特权脚本执行前重置 IFS,或限制 IFS 的可设置值
需要确认的问题
建议确认方式
版本或分支信息