【漏洞复现】ServiceNow Jelly模板注入漏洞(CVE-2024-4879)

admin 2024年7月16日18:39:34评论66 views字数 3296阅读10分59秒阅读模式
一、漏洞概述
漏洞名称
ServiceNow Jelly模板注入漏洞
CVE   ID
CVE-2024-4879
漏洞类型
注入
发现时间
2024-07-12
漏洞评分
9.3
漏洞等级
高危
攻击向量
网络
所需权限
利用难度
用户交互
PoC/EXP
已公开
在野利用
未发现

ServiceNow是一种基于云计算的企业服务管理(ESM)平台,它提供了一套全面的解决方案,用于管理和自动化企业的服务和运营。

2024年7月12日,启明星辰集团VSRC监测到ServiceNow中修复了多个漏洞,目前这些漏洞的细节及PoC已公开,详情如下:

CVE-2024-4879:ServiceNow Jelly模板注入漏洞

ServiceNow UI宏中存在Jelly模板注入漏洞,未经身份验证的威胁者可利用该漏洞注入恶意代码,从而绕过安全控制、窃取敏感信息或导致远程执行代码,该漏洞的CVSS评分为9.3。

CVE-2024-5217:ServiceNow Glide表达式注入漏洞

由于 GlideExpressionScript 类中对用户输入过滤不当,未经身份验证的威胁者可通过/login.do接口的jvar_page_title参数传递恶意内容导致远程代码执行,该漏洞的CVSS评分为9.2。

CVE-2024-5178:ServiceNow文件读取信息泄露漏洞

由于SecurelyAccess API 中存在输入验证不完善,可能导致管理用户未经授权访问 Web 应用程序服务器上的敏感文件,造成信息泄露,该漏洞的CVSS评分为6.9。

二、漏洞复现

【漏洞复现】ServiceNow Jelly模板注入漏洞(CVE-2024-4879)

三、影响范围

CVE
受影响ServiceNow版本
修复版本
CVE-2024-4879
ServiceNow  < Utah Patch 10 Hot Fix 3
ServiceNow  < Utah Patch 10a Hot Fix 2
Utah Patch  10 Hot Fix 3
Utah Patch  10a Hot Fix 2
ServiceNow  < Vancouver Patch 6 Hot Fix 2
ServiceNow  < Vancouver Patch 7 Hot Fix 3b
ServiceNow  < Vancouver Patch 8 Hot Fix 4
ServiceNow  < Vancouver Patch 9
ServiceNow  < Vancouver Patch 10
Vancouver  Patch 6 Hot Fix 2
Vancouver  Patch 7 Hot Fix 3b
Vancouver  Patch 8 Hot Fix 4
Vancouver  Patch 9
Vancouver  Patch 10
ServiceNow  < Washington DC Patch 1 Hot Fix 2b
ServiceNow  < Washington DC Patch 2 Hot Fix 2
ServiceNow  < Washington DC Patch 3 Hot Fix 1
ServiceNow  < Washington DC Patch 4
Washington  DC Patch 1 Hot Fix 2b
Washington  DC Patch 2 Hot Fix 2
Washington  DC Patch 3 Hot Fix 1
Washington  DC Patch 4
CVE-2024-5217
ServiceNow  < Utah Patch 10 Hot Fix 3
ServiceNow  < Utah Patch 10a Hot Fix 2
ServiceNow  < Utah Patch 10b Hot Fix 1
Utah Patch  10 Hot Fix 3
Utah Patch  10a Hot Fix 2
Utah Patch  10b Hot Fix 1
ServiceNow  < Vancouver Patch 6 Hot Fix 2
ServiceNow  < Vancouver Patch 7 Hot Fix 3b
ServiceNow  < Vancouver Patch 8 Hot Fix 4
ServiceNow  < Vancouver Patch 9 Hot Fix 1
ServiceNow  < Vancouver Patch 10
Vancouver  Patch 6 Hot Fix 2
Vancouver  Patch 7 Hot Fix 3b
Vancouver  Patch 8 Hot Fix 4
Vancouver  Patch 9 Hot Fix 1
Vancouver  Patch 10
ServiceNow  < Washington DC Patch 1 Hot Fix 3b
ServiceNow  < Washington DC Patch 2 Hot Fix 2
ServiceNow  < Washington DC Patch 3 Hot Fix 2
ServiceNow  < Washington DC Patch 4
ServiceNow  < Washington DC Patch 5
Washington  DC Patch 1 Hot Fix 3b
Washington  DC Patch 2 Hot Fix 2
Washington  DC Patch 3 Hot Fix 2
Washington  DC Patch 4
Washington  DC Patch 5
CVE-2024-5178
ServiceNow  < Utah Patch 10 Hot Fix 3
ServiceNow  < Utah Patch 10a Hot Fix 2
ServiceNow  < Utah Patch 10b Hot Fix 1
Utah Patch  10 Hot Fix 3
Utah Patch  10a Hot Fix 2
Utah Patch  10b Hot Fix 1
ServiceNow  < Vancouver Patch 6 Hot Fix 2
ServiceNow  < Vancouver Patch 7 Hot Fix 3b
ServiceNow  < Vancouver Patch 8 Hot Fix 4
ServiceNow  < Vancouver Patch 9 Hot Fix 1
ServiceNow  < Vancouver Patch 10
Vancouver  Patch 6 Hot Fix 2
Vancouver  Patch 7 Hot Fix 3b
Vancouver  Patch 8 Hot Fix 4
Vancouver  Patch 9 Hot Fix 1
Vancouver  Patch 10
ServiceNow  < Washington DC Patch 1 Hot Fix 3b
ServiceNow  < Washington DC Patch 2 Hot Fix 2
ServiceNow  < Washington DC Patch 3 Hot Fix 2
ServiceNow  < Washington DC Patch 4
Washington  DC Patch 1 Hot Fix 3b
Washington  DC Patch 2 Hot Fix 2
Washington  DC Patch 3 Hot Fix 2
Washington  DC Patch 4

四、安全措施

4.1 升级版本

目前该漏洞已经修复,受影响用户可参考上表,及时更新补丁或升级到最新版本。

下载链接:

https://support.servicenow.com/now

4.2 临时措施

暂无。

4.3 通用建议

定期更新系统补丁,减少系统漏洞,提升服务器的安全性。

加强系统和网络的访问控制,修改防火墙策略,关闭非必要的应用端口或服务,减少将危险服务(如SSH、RDP等)暴露到公网,减少攻击面。

使用企业级安全产品,提升企业的网络安全性能。

加强系统用户和权限管理,启用多因素认证机制和最小权限原则,用户和软件权限应保持在最低限度。

启用强密码策略并设置为定期修改。

4.4 参考链接

https://www.assetnote.io/resources/research/chaining-three-bugs-to-access-all-your-servicenow-data

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1645154

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1648313

原文始发于微信公众号(启明星辰安全简讯):【漏洞复现】ServiceNow Jelly模板注入漏洞(CVE-2024-4879)

免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2024年7月16日18:39:34
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   【漏洞复现】ServiceNow Jelly模板注入漏洞(CVE-2024-4879)https://cn-sec.com/archives/2961663.html
                  免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉.

发表评论

匿名网友 填写信息