5.3medium
Captcha verification bypass in github.com/mojocn/base64Captcha
- Severity
- 5.3medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.30% (higher than 24% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Go
- Also known as
- GHSA-5mmw-p5qv-w3x5GO-2023-2386
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| github.com/mojocn/base64Captcha | before 1.3.6 | CVE List |
| github.com/mojocn/base64Captcha (Go) | before 1.3.6 | GitHub Advisory Database, Go Vulnerability Database |
| mojotv base64captcha | before 1.3.6 | NVD |
All scores
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
Cuando se utiliza la implementación predeterminada de Verify para verificar un Captcha, se puede omitir la verificación. Por ejemplo, si el primer parámetro es una identificación inexistente, el segundo parámetro es una cadena vacía y el tercer parámetro es verdadero, la función siempre considerará que el Captcha es correcto.
References
| https://github.com/mojocn/base64Captcha/issues/120 | exploit, issue-tracking, report, web | |
| https://github.com/mojocn/base64Captcha/commit/9b11012caca58925f1e47c770f79f2fa47e3ad13 | fix, patch, web | |
| https://github.com/mojocn/base64Captcha/commit/5ab86bd6f333aad3936f912fc52b411168dcd4a7 | fix, patch, web | |
| https://pkg.go.dev/vuln/GO-2023-2386 | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-45292 | advisory | |
| https://github.com/mojocn/base64Captcha | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-45292 changed 2024-08-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5mmw-p5qv-w3x5 changed 2023-12-14 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2023-2386 changed 2024-05-20 | CC-BY-4.0 |
| NVD | CVE-2023-45292 changed 2026-06-17 | Public domain |