CVE-2024-31457

CVSS 3.1 Score 7.7 of 10 (high)

Details

Published Apr 9, 2024
Updated: Apr 10, 2024
CWE ID 22

Summary

CVE-2024-31457 is a code injection vulnerability affecting version 2.6.1 of the gin-vue-admin management system. The issue lies in the Plugin System's Plugin Template feature, where an attacker can manipulate the `plugName` parameter to perform directory traversal. They can create and access specific folders such as `api`, `config`, `global`, `model`, `router`, `service`, and `main.go`, allowing arbitrary code injection. The root cause is the controllability of the PlugName field within the struct. A patch for the vulnerability is available in commit b1b7427c6ea6c7a027fa188c6be557f3795e732b, and a workaround involves manually filtering directory traversal in the GitHub Security Advisory.

Ligh bulbPrevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.

Share

Prioritize, Pinpoint, and Act to Prevent Vulnerability Exploits with Recorded Future

Note: This is just a basic overview providing quick insights into CVE-2024-31457 information. Gain full access to comprehensive CVE data, third party vulnerabilities, compromised credentials and more with Recorded Future
  • Gain complete coverage of your cyber, third party, and physical attack surface
  • Proactively mitigate threats before they turn into costly attacks
  • Make fast, effective, data-driven decisions