CVE-2025-48372

Source
https://cve.org/CVERecord?id=CVE-2025-48372
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-48372.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-48372
Aliases
  • GHSA-6c48-67xx-vqgc
Published
2025-05-22T20:38:02Z
Modified
2026-10-28T02:30:25Z
Severity
  • 6.6 (Medium) CVSS_V4 - CVSS: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:U CVSS Calculator
Summary
Schule Has Insecure OTP Length, is Susceptible to Brute-Force Attacks
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-521"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48372.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "1.0.1"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StringRangeExpression"
                }
            ]
        },
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "1.0.1"
                        }
                    ],
                    "source":  "DESCRIPTION"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/schule111/schule

Affected ranges

Type
GIT
Repo
https://github.com/schule111/schule
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "fixed":  "cd53abbea93943f2c60a5281d45bebadc57636b7"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

Other
school
schools

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-48372.json"