中危 XWiki Platform 安全漏洞(CVE-2023-40177)

CVE编号

CVE-2023-40177

利用情况

暂无

补丁情况

官方补丁

披露时间

2023-08-24
漏洞描述
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any registered user can use the content field of their user profile page to execute arbitrary scripts with programming rights, thus effectively performing rights escalation. This issue is present since version 4.3M2 when AppWithinMinutes Application added support for the Content field, allowing any wiki page (including the user profile page) to use its content as an AWM Content field, which has a custom displayer that executes the content with the rights of the ``AppWithinMinutes.Content`` author, rather than the rights of the content author. The vulnerability has been fixed in XWiki 14.10.5 and 15.1RC1. The fix is in the content of the AppWithinMinutes.Content page that defines the custom displayer. By using the ``display`` script service to render the content we make sure that the proper author is used for access rights checks.
解决建议
"将组件 org.xwiki.platform:xwiki-platform-appwithinminutes-ui 升级至 14.10.5 及以上版本"
"将组件 org.xwiki.platform:xwiki-platform-appwithinminutes-ui 升级至 15.1-rc-1 及以上版本"
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 xwiki xwiki * From
(including)
4.3.1
Up to
(excluding)
14.10.5
运行在以下环境
应用 xwiki xwiki 15.0 -
运行在以下环境
应用 xwiki xwiki 4.3 -
阿里云评分
6.6
  • 攻击路径
    远程
  • 攻击复杂度
    复杂
  • 权限要求
    普通权限
  • 影响范围
    全局影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-94 对生成代码的控制不恰当(代码注入)
CWE-95 动态执行代码中指令转义处理不恰当(Eval注入)
阿里云安全产品覆盖情况