
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-30427 affects ginadmin through version 05-10-2022. The vulnerability is a directory traversal issue where the incoming path value in the adminSystemController.go file is not properly filtered, allowing potential unauthorized access to directories (NVD, GitHub Issue).
The vulnerability exists in the internal/controllers/admin/setting/adminSystemController.go file at line 83. The application directly uses the unfiltered path parameter from c.Query("path") to construct filesystem paths, which can lead to directory traversal. The CVSS v3.1 base score is 7.5 (HIGH) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. The weakness is categorized as CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (NVD).
The vulnerability allows attackers to access directories outside of the intended directory structure through path traversal. This can lead to unauthorized access to sensitive files and information disclosure on the affected system (NVD).
The vulnerability affects ginadmin versions through 05-10-2022. Users should update to a patched version if available. As a workaround, implement proper input validation and sanitization for the path parameter before using it in filesystem operations (NVD).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."