CVE-2022-30428 Arbitrary file read in ginadmin
Attackers can read arbitrary files by manipulating the path value in ginadmin, potentially exposing sensitive information.
- 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-30428?
CVE-2022-30428 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 arbitrary file reading.
Weakness: CWE-552
Which versions are affected by CVE-2022-30428?
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-30428?
No fix has been published for CVE-2022-30428 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-30428 being exploited?
There is no known exploitation of CVE-2022-30428 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-5824-6jfv-xr3r.