xwiki xwiki 在web页面生成时对输入的转义处理不恰当(跨站脚本)

admin 2023-11-30 09:10:41 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 xwiki xwiki 在web页面生成时对输入的转义处理不恰当(跨站脚本)

CVE编号

CVE-2022-23622

利用情况

暂无

补丁情况

官方补丁

披露时间

2022-02-10
漏洞描述
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions there is a cross site scripting (XSS) vector in the `registerinline.vm` template related to the `xredirect` hidden field. This template is only used in the following conditions: 1. The wiki must be open to registration for anyone. 2. The wiki must be closed to view for Guest users or more specifically the XWiki.Registration page must be forbidden in View for guest user. A way to obtain the second condition is when administrators checked the "Prevent unregistered users from viewing pages, regardless of the page rights" box in the administration rights. This issue is patched in versions 12.10.11, 14.0-rc-1, 13.4.7, 13.10.3. There are two main ways for protecting against this vulnerability, the easiest and the best one is by applying a patch in the `registerinline.vm` template, the patch consists in checking the value of the xredirect field to ensure it matches: `<input type="hidden" name="xredirect" value="$escapetool.xml($!request.xredirect)" />`. If for some reason it's not possible to patch this file, another workaround is to ensure "Prevent unregistered users from viewing pages, regardless of the page rights" is not checked in the rights and apply a better right scheme using groups and rights on spaces.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/xwiki/xwiki-platform/commit/053d957d53f2a543d158f3ab651e39...
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-gx6h-936c-vrrr
https://jira.xwiki.org/browse/XWIKI-19291
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 xwiki xwiki * Up to (including) 12.10.10
运行在以下环境
应用 xwiki xwiki * From (including) 13.0 Up to (including) 13.4.6
运行在以下环境
应用 xwiki xwiki 13.10 -
运行在以下环境
应用 xwiki xwiki 13.10.1 -
运行在以下环境
应用 xwiki xwiki 13.10.2 -
运行在以下环境
应用 xwiki xwiki 14.0 -
阿里云评分 5.7
  • 攻击路径 本地
  • 攻击复杂度 困难
  • 权限要求 普通权限
  • 影响范围 有限影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-79 在Web页面生成时对输入的转义处理不恰当(跨站脚本)
- 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