Description
orange-orm before 5.6.1 contains an authorization bypass vulnerability that allows authenticated clients to override server-side baseFilter, readonly and disableBulkDeletes settings by supplying body.options in requests. Attackers can send JSON requests to the Express or Hono adapter endpoints setting baseFilter to null or readonly to false to read, update and bulk delete other tenants' rows.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
alfateam orange-orm
Default version status: unaffected
0 to < 5.6.1affected
pkg:npm/orange-ormalfateam rdb
Default version status: unaffected
3.2.7 to ≤ 3.10.1affected
pkg:npm/rdbReferences
- https://github.com/alfateam/orange-orm/security/advisories/GHSA-j5gg-hxv4-74gm ↗
- https://github.com/alfateam/orange-orm/commit/09c4ac5ac8d855240bd595c5674364e3f1a6e6ad ↗
- https://github.com/alfateam/orange-orm/blob/v5.6.1/docs/changelog.md ↗
- https://github.com/alfateam/orange-orm/blob/v5.6.0/src/hostLocal.js#L119-L123 ↗
- https://github.com/alfateam/orange-orm/blob/v5.6.0/src/hostExpress.js#L12-L25 ↗
- https://www.vulncheck.com/advisories/orange-orm-before-5.6.1-authorization-bypass-via-client-supplied-request-options ↗