Closed Bug 1761199 Opened 3 years ago Closed 3 years ago

Webauthn Attestation object credential length is invalid

Categories

(Core :: DOM: Web Authentication, defect)

Firefox 98
defect

Tracking

()

RESOLVED DUPLICATE of bug 1759162

People

(Reporter: djpjvs, Unassigned)

Details

Attachments

(2 files)

Firefox for Android

Steps to reproduce:

On my windows Firefox

I created a webauthn credential with additional attestation data. Asking for direct attestation.

Using something similar to https://webauthn.bin.coffee/

Actual results:

The [authdata] [attested cred data] [length] bytes report 32396 instead of the length of the credential.

This results in security keys not working when additional credential data is used

Expected results:

The credentialID length should be the length of the CredentialID. It the moment it give a value that is far from the expected details.

This is working in 97 but not in 98

When CBOR decoding the response.attestationObject and check bytes 53 and 54 it give length of 32396 instead of the length of the credentialID.

Attached file Success attachment

Here, when decoded the credential length is 96 which is correct

Attachment #9269190 - Attachment description: Success atachement → Success attachment
Group: firefox-core-security → dom-core-security
Component: Untriaged → DOM: Web Authentication
Product: Firefox → Core
OS: Unspecified → All
Hardware: Unspecified → All

Seems to be related to https://bugzilla.mozilla.org/show_bug.cgi?id=1759162

Issue seems to be gone in 98.0.2

Is this on Windows or on Android?

Flags: needinfo?(djpjvs)

is was on both Windows and Android, but it seems like issue is gone in 98.0.2

Flags: needinfo?(djpjvs)

Ok, then I guess I can close this. Thanks for reporting.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Resolution: FIXED → DUPLICATE
Group: dom-core-security → core-security-release
Group: core-security-release
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: