Skip to main content

Use of Insufficiently Random Values in com.github.penggle:kaptcha

CVE-2018-18531

  • com.github.penggle:kaptcha
Severity High
Score 9.8/10

Summary

In "text/impl/DefaultTextCreator.java", "text/impl/ChineseTextProducer.java"" and "text/impl/FiveLetterFirstNameTextCreator.java" files of com.github.penggle:kaptcha package 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.

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • HIGH

CWE-330 - Use of Insufficiently Random Values

The software uses insufficiently random numbers or values in a security context that depends on unpredictable numbers.

Advisory Timeline

  • Published