Description (CNA)
gin-vue-admin through 2.9.2 contains a path traversal vulnerability that allows authenticated administrators to recursively delete arbitrary directories by supplying traversal sequences in the pluginName parameter. Attackers can send a crafted POST request to /autoCode/removePlugin with '../' sequences, causing os.RemoveAll to delete any directory writable by the server process.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| flipped-aurora / gin-vue-admin | affected 0 through 2.9.2 |
CWE
CWE-22
References
- https://github.com/flipped-aurora/gin-vue-admin/security/advisories/GHSA-mqv7-9mvf-h9fh
- https://github.com/flipped-aurora/gin-vue-admin/blob/v2.9.2-stable/server/service/system/auto_code_plugin.go#L371-L390
- https://github.com/flipped-aurora/gin-vue-admin/blob/v2.9.2-stable/server/api/v1/system/auto_code_plugin.go#L209-L219
- https://www.vulncheck.com/advisories/gin-vue-admin-through-2.9.2-path-traversal-via-removeplugin-endpoint
ADP enrichment
No English description supplied.
No references supplied.