CVE-2022-30427 Path traversal in ginadmin
Attackers can exploit unfiltered path values in ginadmin to perform directory traversal and read arbitrary files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-30427?
CVE-2022-30427 is a high-severity path traversal vulnerability in n/a, published on 25 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In ginadmin through 05-10-2022 the incoming path value is not filtered, resulting in directory traversal.
Weakness: CWE-22
Which versions are affected by CVE-2022-30427?
2 open source packages ship an affected version, including github.com/gphper/ginadmin. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/gphper/ginadmin Go | All versions to 0.1.1 | None |
github.com/gphper/ginadmin Go | All versions to 0.1.1 | None |
Products include Ginadmin Project Ginadmin.
How do I fix CVE-2022-30427?
No fix has been published for CVE-2022-30427 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2022-30427 being exploited?
There is no known exploitation of CVE-2022-30427 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-9pg5-3pjc-f8wm.