Skip to content

Use of Insufficiently Random Values in penggle:kaptcha

Critical severity GitHub Reviewed Published Oct 23, 2018 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

maven com.github.penggle:kaptcha (Maven)

Affected versions

<= 2.3.2

Patched versions

None

Description

text/impl/DefaultTextCreator.java, text/impl/ChineseTextProducer.java, and text/impl/FiveLetterFirstNameTextCreator.java in kaptcha 2.3.2 use the Random (rather than SecureRandom) function for generating CAPTCHA values, which makes it easier for remote attackers to bypass intended access restrictions via a brute-force approach.

References

Published to the GitHub Advisory Database Oct 23, 2018
Reviewed Jun 16, 2020
Last updated Jan 9, 2023

Severity

Critical
9.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2018-18531

GHSA ID

GHSA-8q89-pwhh-7wfq

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.