HTML sanitizer 允许在 org.xwiki.commons:xwiki-commons-xml 中限制表单元素 (CVE-2023-36471)

admin 2023-11-29 22:53:33 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 HTML sanitizer 允许在 org.xwiki.commons:xwiki-commons-xml 中限制表单元素 (CVE-2023-36471)

CVE编号

CVE-2023-36471

利用情况

暂无

补丁情况

官方补丁

披露时间

2023-06-30
漏洞描述
Xwiki commons is the common modules used by other XWiki top level projects. The HTML sanitizer that is included in XWiki since version 14.6RC1 allowed form and input HTML tags. In the context of XWiki, this allows an attacker without script right to either create forms that can be used for phishing attacks or also in the context of a sheet, the attacker could add an input like `{{html}}<input type="hidden" name="content" value="{{groovy}}println(&quot;Hello from Groovy!&quot;)" />{{/html}}` that would allow remote code execution when it is submitted by an admin (the sheet is rendered as part of the edit form). The attacker would need to ensure that the edit form looks plausible, though, which can be non-trivial as without script right the attacker cannot display the regular content of the document. This has been patched in XWiki 14.10.6 and 15.2RC1 by removing the central form-related tags from the list of allowed tags. Users are advised to upgrade. As a workaround an admin can manually disallow the tags by adding `form, input, select, textarea, button` to the configuration option `xml.htmlElementSanitizer.forbidTags` in the `xwiki.properties` configuration file.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/xwiki/xwiki-commons/commit/99484d48e899a68a1b6e33d457825b7...
https://github.com/xwiki/xwiki-commons/security/advisories/GHSA-6pqf-c99p-758v
https://jira.xwiki.org/browse/XCOMMONS-2634
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 xwiki commons * From (including) 14.6 Up to (excluding) 14.10.6
运行在以下环境
应用 xwiki commons 15.0 -
运行在以下环境
应用 xwiki commons 15.1 -
阿里云评分 4.9
  • 攻击路径 本地
  • 攻击复杂度 困难
  • 权限要求 管控权限
  • 影响范围 有限影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-74 输出中的特殊元素转义处理不恰当(注入)
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