CVE-2023-40023 Yaklang Plugin's Fuzztag Component Allows Unauthorized Local File Reading
Attackers can read local files and potentially execute code via a local file inclusion vulnerability in the Yaklang Fuzztag component.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-40023?
CVE-2023-40023 is a medium-severity path traversal vulnerability in yaklang, published on 14 Aug 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
yaklang is a programming language designed for cybersecurity. The Yak Engine has been found to contain a local file inclusion (LFI) vulnerability. This vulnerability allows attackers to include files from the server's local file system through the web application. When exploited, this can lead to the unintended exposure of sensitive data, potential remote code execution, or other security breaches. Users utilizing versions of the Yak Engine prior to 1.2.4-sp1 are impacted. This vulnerability has been patched in version 1.2.4-sp1. Users are advised to upgrade. users unable to upgrade may avoid exposing vulnerable versions to untrusted input and to closely monitor any unexpected server behavior until they can upgrade.
Weakness: CWE-200
Which versions are affected by CVE-2023-40023?
3 open source packages ship an affected version, including github.com/yaklang/yaklang. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/yaklang/yaklang Go | All versions | 1.2.4-sp2 |
github.com/yaklang/yaklang Go | All versions | 1.2.4-sp2 |
github.com/yaklang/yaklang Go | All versions | 1.2.4-sp2 |
Products include Yaklang Yaklang.
How do I fix CVE-2023-40023?
Upgrade github.com/yaklang/yaklang to 1.2.4-sp2 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2023-40023 being exploited?
There is no known exploitation of CVE-2023-40023 in the wild and no public exploit code.
Sources
Also known as GHSA-xvhg-w6qc-m3qq, GO-2023-2011.