Skip to main content
Vulnerability Database/CVE-2024-45394

CVE-2024-45394: Authenticator Extension Encryption Weakness

CVE-2024-45394 is an information disclosure vulnerability in Authenticator browser extension affecting versions 7.0.0 and below. Weak encryption allows attackers to brute-force user data. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2024-45394 Overview

CVE-2024-45394 affects the Authenticator browser extension, a popular tool that generates two-step verification codes. In versions 7.0.0 and below, encryption keys protecting user account data were stored using only AES-256 with the EVP_BytesToKey key derivation function. This weak key derivation allows attackers who obtain a copy of the encrypted data to brute-force the user's encryption key. The flaw is categorized under [CWE-261] (Weak Encoding for Password) and [CWE-326] (Inadequate Encryption Strength). Version 8.0.0 migrates users to a stronger scheme on first login.

Critical Impact

Attackers with access to exported or stored Authenticator extension data can brute-force the encryption key and recover two-factor authentication secrets protecting user accounts.

Affected Products

  • Authenticator browser extension versions 7.0.0 and below
  • Encrypted backups produced by versions prior to 8.0.0
  • Local storage artifacts created by vulnerable extension versions

Discovery Timeline

  • 2024-09-03 - CVE-2024-45394 published to the National Vulnerability Database
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-45394

Vulnerability Analysis

The Authenticator extension stores Time-based One-Time Password (TOTP) secrets and other account data in browser storage. Prior to version 8.0.0, the key protecting this data was derived using OpenSSL's legacy EVP_BytesToKey function. This function performs a small number of MD5 iterations and is not a modern password-based key derivation function. Attackers who obtain the encrypted blob, through browser profile theft, synced cloud storage, or backup files, can run offline brute-force or dictionary attacks against the user's passphrase. Successful recovery exposes the plaintext TOTP seeds, which permanently defeats the second factor on every linked account.

Root Cause

The root cause is the use of a weak key derivation function. EVP_BytesToKey was never designed to resist offline password guessing and uses MD5 with minimal iterations. Secrets protected this way are feasible to crack on commodity GPU hardware. The patch replaces this scheme with Argon2, a memory-hard KDF designed for password hashing, as reflected in the updated src/argon.ts module.

Attack Vector

Exploitation requires local access to the victim's stored extension data or an exfiltrated backup. The attacker does not need the browser to be running or the user to be present. Once the encrypted blob is in hand, cracking proceeds entirely offline.

typescript
// Patch excerpt from src/argon.ts - adds salt to Argon2 hashing
switch (message.action) {
  case "hash":
-   Argon.hash(message.value).then((hash) => {
+   Argon.hash(message.value, message.salt).then((hash) => {
      source.postMessage({ response: hash }, event.origin);
    });
    break;

Source: GitHub commit 17aa206

Detection Methods for CVE-2024-45394

Indicators of Compromise

  • Presence of exported Authenticator backup files on untrusted hosts or in cloud sync folders
  • Unauthorized access to browser profile directories containing extension storage databases
  • Unexpected successful logins to accounts protected by TOTP from new devices or geolocations
  • Evidence of password-cracking tooling (for example hashcat, john) referencing OpenSSL EVP_BytesToKey modes

Detection Strategies

  • Inventory endpoints running the Authenticator extension and identify installations still on version 7.0.0 or below
  • Monitor file access to browser extension storage paths for processes other than the browser itself
  • Correlate TOTP-protected account logins with endpoint telemetry to catch second-factor replay from unexpected sources

Monitoring Recommendations

  • Enable endpoint logging for reads of browser extension IndexedDB and Local Storage directories
  • Alert on backup files matching Authenticator export patterns being copied to removable media or cloud sync folders
  • Review identity provider logs for anomalous TOTP acceptance patterns across multiple user accounts

How to Mitigate CVE-2024-45394

Immediate Actions Required

  • Upgrade the Authenticator extension to version 8.0.0 or later and sign in once to trigger automatic migration
  • Destroy all encrypted backups produced by versions prior to 8.0.0, as the patch does not retroactively protect them
  • Rotate TOTP secrets for high-value accounts if there is any suspicion the vulnerable backup was exposed
  • Review account activity for services whose second factor was stored in the extension

Patch Information

The fix is published in GitHub Security Advisory GHSA-gv8m-vgp8-q2xr and implemented in commit 17aa206. The patch replaces EVP_BytesToKey with Argon2 for key derivation and fully encrypts account data across all storage mediums. Users on version 8.0.0 and above are automatically migrated away from the weak encoding on first login.

Workarounds

  • If immediate upgrade is not possible, remove any Authenticator backup files from shared storage, cloud sync, and removable media
  • Avoid exporting account data from vulnerable versions, since exports inherit the weak key derivation
  • Restrict physical and remote access to endpoints running the vulnerable extension until migration completes
bash
# Verify installed Authenticator extension version in Chromium-based browsers
# Replace <PROFILE> with the active browser profile path
ls "$HOME/.config/google-chrome/<PROFILE>/Extensions/bhghoamapcdpbohphigoooaddinpkbai/"

# After upgrading to 8.0.0+, delete legacy encrypted backup files
rm -f ~/Downloads/authenticator-backup-*.json

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.