Observation of Data to Infer Information Affecting web-auth/webauthn-symfony-bundle package, versions >=4.5.0, <4.9.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-WEBAUTHWEBAUTHNSYMFONYBUNDLE-7453169
  • published16 Jul 2024
  • disclosed15 Jul 2024
  • creditMarc Riemer

Introduced: 15 Jul 2024

CVE-2024-39912  (opens in a new tab)
CWE-204  (opens in a new tab)

How to fix?

Upgrade web-auth/webauthn-symfony-bundle to version 4.9.0 or higher.

Overview

web-auth/webauthn-symfony-bundle is a FIDO2/Webauthn Security Bundle For Symfony.

Affected versions of this package are vulnerable to Observation of Data to Infer Information via the ProfileBasedRequestOptionsBuilder method which returns allowedCredentials without any credentials if no username was found. An attacker can determine the validity of usernames based on the absence of the allowedCredentials property in the assertion options response.

PoC

curl https://example.com/assertion/options
-H 'content-type: application/json'
--data-raw '{"username":"NotMeRandomUsername123"}'

References

CVSS Scores

version 4.0
version 3.1