Junglewise Threat Intelligence

CVE-2022-39228: vantage6 username enumeration via account lockout discrepancy

CVE-2022-39228 · Severity: medium · CVSS 6.5 · Published 2023-02-28

Technologies: Vantage6. Vendors: PyPI.

Executive brief

vantage6 is an open-source framework for privacy-preserving federated learning. A vulnerability in its login system allows unauthorized users to determine if a specific username exists on the platform. By repeatedly attempting to log in with a potential username, an attacker can observe if the account becomes temporarily blocked, confirming the username's validity and potentially facilitating targeted credential-stuffing attacks.

Technical details

The vulnerability is classified as an Observable Response Discrepancy (CWE-204). While the application correctly returns generic error messages for failed login attempts to prevent simple enumeration, it implements a temporary account lockout policy after a specific number of failed attempts. An attacker can exploit this by submitting multiple failed login requests for a target username; if the account exists, it will eventually be blocked, creating a detectable change in system behavior or response timing compared to non-existent accounts. This allows for automated username harvesting via the network without prior authentication. The issue is resolved in version 3.8.0.

Affected products

  • vantage6 vantage6 < 3.8.0

Timeline

  • 2022-09-13: disclosed: CVE-2022-39228 assigned
  • 2023-02-28: patched: Fix merged in version 3.8.0
  • 2023-02-28: advisory

References

Related threats