| { |
| "schema_version": "1.3.1", |
| "id": "GO-2024-2702", |
| "modified": "0001-01-01T00:00:00Z", |
| "published": "0001-01-01T00:00:00Z", |
| "aliases": [ |
| "CVE-2024-31457", |
| "GHSA-gv3w-m57p-3wc4" |
| ], |
| "summary": "Code injection vulnerability in github.com/flipped-aurora/gin-vue-admin/server", |
| "details": "Gin-vue-admin has a code injection vulnerability in the backend. In the Plugin System -\u003e Plugin Template feature, an attacker can perform directory traversal by manipulating the 'plugName' parameter. They can create specific folders such as 'api', 'config', 'global', 'model', 'router', 'service', and 'main.go' function within the specified traversal directory. Moreover, the Go files within these folders can have arbitrary code inserted based on a specific PoC parameter.", |
| "affected": [ |
| { |
| "package": { |
| "name": "github.com/flipped-aurora/gin-vue-admin/server", |
| "ecosystem": "Go" |
| }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { |
| "introduced": "0" |
| }, |
| { |
| "fixed": "0.0.0-20240409100909-b1b7427c6ea6" |
| } |
| ] |
| } |
| ], |
| "ecosystem_specific": { |
| "imports": [ |
| { |
| "path": "github.com/flipped-aurora/gin-vue-admin/server/api/v1/system", |
| "symbols": [ |
| "AutoCodeApi.AutoPlug" |
| ] |
| } |
| ] |
| } |
| } |
| ], |
| "references": [ |
| { |
| "type": "ADVISORY", |
| "url": "https://github.com/flipped-aurora/gin-vue-admin/security/advisories/GHSA-gv3w-m57p-3wc4" |
| }, |
| { |
| "type": "FIX", |
| "url": "https://github.com/flipped-aurora/gin-vue-admin/commit/b1b7427c6ea6c7a027fa188c6be557f3795e732b" |
| } |
| ], |
| "database_specific": { |
| "url": "https://pkg.go.dev/vuln/GO-2024-2702", |
| "review_status": "REVIEWED" |
| } |
| } |