All vulnerabilities

Servers and applications

GHSA-97h5-f5j2-6v99

LDAP sync matches usernames via case/accent-folding collation without exact-match guard, enabling local account takeover

Severity
Medium 5.9
Published
20 Nov 2026
Last changed
20 Nov 2026
Added to UpHeron
20 Nov 2026
Fixed in
8.8.0
Weakness
Case-sensitivity mistakes (CWE-178)Improper authentication (CWE-287)CWE-706
Attack
Over the network · Only under certain conditions · Needs an administrator account · No user action needed
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N
Sources
Project advisories (GitHub)

Description

Snipe-IT's snipe-it:ldap-sync batch provisioning command matches existing local user accounts by username WITHOUT the exact-match guard (verifyExactUsernameMatch) that all four federated LOGIN paths use. Because the default MySQL collation utf8mb4_unicode_ci folds case and accents, a directory entry whose mapped username folds onto a local privileged account (e.g. admín → admin) matches that row, and the sync then overwrites the row's identity fields in place and sets ldap_import=1. Combined with the guarded login path, this yields account takeover of the local privileged account.

app/Console/Commands/LdapSync.php:240: $user = User::withTrashed()->where('username', $item['username'])->first(); — no verifyExactUsernameMatch, no binary collation. Ldap::applyLdapAttributesToUser (app/Models/Ldap.php) unconditionally overwrites username/first_name/last_name/email (not permissions/groups; the activated=1 is only on the new-user-create branch).

From grokability/snipe-it's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Snipe-ITServers and applications · github:grokability/snipe-it
  • Every version before 8.8.0

About Snipe-IT

A free open source IT asset/license management system

From its GitHub repository.
Docker Hub pulls
29,869,543Docker Hub, 15 Nov 2026
GitHub stars
15,189GitHub, 15 Nov 2026
Forks
4,068GitHub, 15 Nov 2026
Latest release
v8.8.3GitHub, 15 Nov 2026
Released
22 Oct 2026GitHub
License
AGPL-3.0GitHub
First published on GitHub
12 Nov 2013GitHub

References