CVE-2025-48372

Schule Has Insecure OTP Length, is Susceptible to Brute-Force Attacks

State
Published
Severity
6.6 Medium
Published
May 22, 2025
Updated
May 23, 2025
Reserved
May 19, 2025

Read the record on cve.org

Description

Schule is open-source school management system software. The generateOTP() function generates a 4-digit numeric One-Time Password (OTP). Prior to version 1.0.1, even if a secure random number generator is used, the short length and limited range (1000–9999) results in only 9000 possible combinations. This small keyspace makes the OTP highly vulnerable to brute-force attacks, especially in the absence of strong rate-limiting or lockout mechanisms. Version 1.0.1 fixes the issue.

Scores

CVSSScoreVectorSource
4.06.6 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:UGitHub_M

Weaknesses

Affected Products

ProductVersions
Schuleschule111
  • < 1.0.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.