Medium, CVSS 6.8MavenPublished
Read permissions not enforced for client provided filter expressions in Elide.
CVE-2020-5289 · GHSA-2mxr-89gf-rc4v
- Affected
- Maven com.yahoo.elide:elide-core < 4.5.14
- Fixed in
- 4.5.14· Vendor fix available
- Issue
- Impact It is possible for an adversary to "guess and check" the value of a model field they do not have access to assuming they can read at least one other field in the model. The adversary can construct filter expressions for an inaccessible field to filter a collection. The presence or absence of models in the returned collection can be used to reconstruct the value of the inaccessible field. For example, a User model has two fields: name and role. The adversary has read permissions to see the name field of the User collection but not the role. By constructing a filter like the one below, the adversary can determine which users have admin role by presence or absence in the returned collection: filter=role=="Admin" Patches Resolved in Elide 4.5.14 and greater. Workarounds The adversary can only access the fields if a model includes fields with different read permission levels (some less secure and some more secure). Model security can be adjusted by restricting read permissions on…
Recommended action: Upgrade to 4.5.14 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.