Symfony UX
Symfony UX: Information exposure via unescaped LIKE wildcards in EntitySearchUtil
Symfony UX is a JavaScript ecosystem for Symfony. From 2.2.0 until 2.36.0 and 3.1.0, Symfony\UX\Autocomplete\Doctrine\EntitySearchUtil::addSearchClause() builds the LIKE expression used by the autocomplete endpoint by wrapping the client-supplied query in %...% without escaping SQL LIKE wildcards (%, _, \), allowing unauthenticated users to turn the public BaseEntityAutocompleteType endpoint into a broad matcher or blind boolean oracle against every column in default searchable_fields. This issue is fixed in versions 2.36.0 and 3.1.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3.0.0, < 3.1.0
- >= 2.2.0, < 2.36.0
Fixed in 3.1.0, 2.36.0
Mitigation
Upgrade ux to 3.1.0 or 2.36.0 or later.
References
- Vendor advisory github.com/symfony/ux/security/advisories/GHSA…
- Patch github.com/symfony/ux/commit/725ab3d40689c91ff…
- Release notes github.com/symfony/ux/releases/tag/v2.36.0
1 more
- Release notes github.com/symfony/ux/releases/tag/v3.1.0
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.