CVE-2023-45292 Captcha verification bypass in github.com/mojocn/base64Captcha
Attackers can bypass captcha verification in the base64Captcha Go library by providing specific invalid parameters, allowing automated abuse of protected endpoints.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-45292?
CVE-2023-45292 is a medium-severity authentication bypass vulnerability in github.com/mojocn/base64Captcha, published on 11 Dec 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
When using the default implementation of Verify to check a Captcha, verification can be bypassed. For example, if the first parameter is a non-existent id, the second parameter is an empty string, and the third parameter is true, the function will always consider the Captcha to be correct.
Weakness: CWE-345
Which versions are affected by CVE-2023-45292?
3 open source packages ship an affected version, including github.com/mojocn/base64Captcha. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/mojocn/base64Captcha Go | All versions | 1.3.6 |
github.com/mojocn/base64Captcha Go | All versions | 1.3.6 |
github.com/mojocn/base64Captcha Go | All versions | 1.3.6 |
Products include Mojotv Base64captcha.
How do I fix CVE-2023-45292?
Upgrade github.com/mojocn/base64Captcha to 1.3.6 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2023-45292 being exploited?
There is no known exploitation of CVE-2023-45292 in the wild and no public exploit code.
Sources
Also known as CVE-2023-50119, GHSA-5mmw-p5qv-w3x5, GO-2023-2386.