Skip to main content

Posts

Featured

LDAP Injection Explained: The Bug That Bypasses Logins in Enterprise Apps

Every bug bounty hunter learns SQL injection. Far fewer learn its enterprise cousin: LDAP injection. It works the same way — untrusted input smuggled into a query — but the target is a directory server like Active Directory or OpenLDAP, and the prize is often a login bypass on an internal application. If you hunt in enterprise programs, this bug is worth knowing. What LDAP Is LDAP, the Lightweight Directory Access Protocol, is how organizations store their user directory: names, usernames, groups, email addresses and more. When you log in to a corporate app, the app often asks the LDAP server "does this user exist, and is this the right password?" using a search filter that looks like this: (&(uid=alice)(userPassword=secret123)) That filter says: find an entry whose username is alice AND whose password is secret123 . If the server returns a match, the app logs you in. The filter is built by pasting the user's input straight into the query string — and that is whe...

Latest Posts

Build a Python TLS Cipher Checker: Find Weak Ciphers on Your Own Servers

Linux Mount Options Explained: nosuid, noexec, nodev — Stop Attacks at the Filesystem

Amass Basics: Map Your Attack Surface Before Attackers Do

Hex.pm Hacked Through a 10-Year-Old Bug — Reset Your Password and 2FA Now

XPath Injection Explained: The Bug That Queries Your Database for Attackers

Build a Python File Encryptor: Protect Sensitive Files With Fernet (Full Code)

strace Basics: See Exactly What a Linux Program Really Does

Wazuh Basics: Build a Free SIEM for Your Home Lab

Apache Roller 9.8 Flaw Is Being Exploited Right Now — Upgrade to 6.1.6 Today

Broken Rate Limiting Explained: The Bug That Lets Attackers Brute-Force Anything