Critical · published May 5, 2022
CVSS calls it critical at 9.8. It sits in the 99.2th percentile for exploit probability.
⚠️ A sneaky SQL injection is hiding in OpenLDAP's experimental back-sql backend! This flaw can exploit a search operation through improper escaping, and it’s critical to address it. 🔥 Think of this SQL injection as a delivery driver who misreads a package address—if the driver doesn’t double-check, they might drop that package right at the wrong house! In this case, the wrong query could spill sensitive data instead of safely delivering it to the intended recipient. An attacker could craft a malicious LDAP query that, when processed, results in unintended SQL commands being executed. This could lead to unauthorized access, data leaks, or even complete database manipulation. Yikes!
Think of this SQL injection as a delivery driver who misreads a package address—if the driver doesn’t double-check, they might drop that package right at the wrong house! In this case, the wrong query could spill sensitive data instead of safely delivering it to the intended recipient. This vulnerability in OpenLDAP allows attackers to inject SQL commands into LDAP queries during search operations, due to inadequate input escaping. The affected versions are OpenLDAP 2.x before 2.5.12 and 2.6.x before 2.6.2.
An attacker could craft a malicious LDAP query that, when processed, results in unintended SQL commands being executed. This could lead to unauthorized access, data leaks, or even complete database manipulation. Yikes! Upgrade OpenLDAP to version 2.5.12 or 2.6.2 immediately to patch this vulnerability. It’s also advisable to review any custom queries for proper escaping to ensure they're immune to injection attacks. Don't leave anything to chance! You've got this! With a quick update, you can safeguard your LDAP setup and keep your data secure! 🛡️
| Product | Versions | Fixed in |
|---|---|---|
| openldap/openldap | ≥ 2.0, < 2.5.12 | 2.5.12 |
| openldap/openldap | ≥ 2.6.0, < 2.6.2 | 2.6.2 |
| debian/debian_linux | all versions | — |
| debian/debian_linux | all versions | — |
| debian/debian_linux | all versions | — |
| netapp/h300s_firmware | all versions | — |
| netapp/h500s_firmware | all versions | — |
| netapp/h700s_firmware | all versions | — |
| netapp/h700e_firmware | all versions | — |
| netapp/h410s_firmware | all versions | — |
| netapp/h410c_firmware | all versions | — |