CVE-2022-46337

Apache Derby: LDAP injection vulnerability in authenticator

Critical · published November 20, 2023

CVSS v3.1
9.8
EPSS
1%
Percentile
72.6
In the wild
Unconfirmed
What it is

🚨 A cleverly crafted username can slip past LDAP authentication checks like a master forger slipping a fake ID past a bouncer! 🔥 Think of it as a sneaky delivery driver who creates fake orders to fill your warehouse with junk — every misdelivered package clogs up valuable space and resources. In this scenario, attackers can not only waste disk space but also access sensitive databases and execute malicious commands if they play their cards right! An attacker using this exploit could create endless junk Derby databases, filling up your disk and causing absolute chaos. But wait, it gets worse! They could also execute malware that runs with the same permissions as your Derby server, allowing them to view and corrupt sensitive data, and even run privileged database functions. This is a recipe for disaster!

Put simply

Think of it as a sneaky delivery driver who creates fake orders to fill your warehouse with junk — every misdelivered package clogs up valuable space and resources. In this scenario, attackers can not only waste disk space but also access sensitive databases and execute malicious commands if they play their cards right! This vulnerability allows attackers to bypass LDAP authentication checks by cleverly crafting their usernames. Consequently, they can create unwanted Derby databases and potentially execute harmful commands, exposing sensitive data and functionalities without proper authorization.

What to do

An attacker using this exploit could create endless junk Derby databases, filling up your disk and causing absolute chaos. But wait, it gets worse! They could also execute malware that runs with the same permissions as your Derby server, allowing them to view and corrupt sensitive data, and even run privileged database functions. This is a recipe for disaster! Upgrade to Java 21 and Derby 10.17.1.0 immediately to secure your installations. If you need to stick with older Java versions, build your own Derby distribution from backported fixes in versions 10.16, 10.15, or 10.14 corresponding to Java LTS versions 17, 11, and 8. Don't wait — patch up! You've got this! Follow these steps, and you'll be a security hero in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01418 · 72.6th percentile
Published
2023-11-20T08:49Z
EPSS history
Timeline
  • 20 NOV 08:49Z
    Apache Derby: LDAP injection vulnerability in authenticator
    cvelistv5