Vulnerability

Okta AD/LDAP Authentication Vulnerability Allows Unauthorized Access

Okta, a leading company in identity and access management, has recently addressed a critical vulnerability in its AD/LDAP Delegated Authentication system.

Okta’s security team internally discovered and promptly addressed the flaw, which could potentially allow unauthorized access to user accounts.

The vulnerability, introduced on July 23, 2024, during a routine platform update, affected Okta’s cache key generation mechanism for AD/LDAP DelAuth authentication.

The issue stemmed from using the Bcrypt algorithm to create cache keys by hashing a combination of user ID, username, and password.

Build an in-house SOC or outsource SOC-as-a-Service -> Calculate Costs

Okta AD/LDAP Authentication Vulnerability

The critical flaw specifically impacted usernames that were 52 characters or longer. Under certain conditions, this implementation could permit authentication using only a username that matched a previously cached successful login attempt, effectively bypassing the need for a password.

Two scenarios could potentially trigger the vulnerability:

  1. When the authentication agent was down and unreachable
  2. During periods of high traffic

In these situations, the Delegated Authentication system would prioritize cache lookups, potentially leading to unauthorized access.

While the prerequisite of 52 characters or longer usernames may limit the vulnerability’s scope, organizations using lengthy usernames in their Active Directory or LDAP configurations were particularly at risk.

The issue affected all Okta AD/LDAP DelAuth implementations deployed after July 23, 2024.

Upon internal discovery on October 30, 2024, Okta’s security team immediately addressed the vulnerability. The fix involved replacing the Bcrypt algorithm with PBKDF2 for cache key generation, effectively closing the security gap.

The patch was deployed to Okta’s production environment on the same day as the discovery.

Okta has urged affected customers to audit their system logs between July 23, 2024, and October 30, 2024, to identify potential unauthorized access attempts.

As organizations increasingly rely on cloud-based identity management solutions, this event highlights the critical need for vigilance and proactive security measures to protect sensitive user data and prevent unauthorized access to critical systems.

Run private, Real-time Malware Analysis in both Windows & Linux VMs. Get a 14-day free trial with ANY.RUN!

Guru Baran

Gurubaran KS is a cybersecurity analyst, and Journalist with a strong focus on emerging threats and digital defense strategies. He is the Co-Founder and Editor-in-Chief of Cyber Security News, where he leads editorial coverage on global cybersecurity developments.

Recent Posts

Hackers Target AI Infrastructure With RCE, Prompt Injection and API Key Theft

Hackers are actively probing AI systems, turning exposed gateways and agent tools into routes for…

4 hours ago

Hackers Make Phishing Pages Change Their Code Every Time Someone Opens Them

Hackers are making some phishing pages harder to track by changing the code delivered to…

5 hours ago

Iran-Linked Hackers Reportedly Knock UK Power Plant Offline for Four Days

A cyber incident reportedly forced a British power plant to halt operations for about four…

6 hours ago

Russian Hackers Use New HOOKEDGE Malware to Spy on European Defense and Diplomatic Targets

Russian hackers have used a new backdoor called HOOKEDGE to target defense manufacturers, government bodies,…

6 hours ago

Ransomware Gang Claims AI Can Analyze 700GB of Stolen Data Every Hour

TITAN ransomware is pairing file encryption with an ambitious claim: artificial intelligence that can sort…

6 hours ago

Hackers Compromise Hundreds of WordPress Sites to Deploy Amatera Stealer via ClickFix

A fake student resume is being used to place a remote-access tool on researchers’ Windows…

8 hours ago