Missing authorization check on save-job event handler in oban_web
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 2.12.5 and ab3c5d1d3eba06c62045f16f2cd7781c7752e248.
Missing Authorization vulnerability in oban-bg oban_web (Oban.Web.Jobs.DetailComponent modules) allows unauthorized job worker substitution. The handle_event("save-job", ...) handler in Oban.Web.Jobs.DetailComponent does not perform an authorization check, unlike the sibling cancel, delete, and retry handlers which all verify the caller's privileges via can?/2. An authenticated user with :read_only access can push a forged save-job LiveView WebSocket event to overwrite a job's worker field with any other existing Oban.Worker module in the application. On the job's next execution attempt, Oban will invoke perform/1 on the attacker-chosen module instead of the intended one. This issue affects oban_web: from 2.12.0 before 2.12.5.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| oban-bg | >=2.12.0 <2.12.5, >=a17bc8c31286c9d516e2892cf5483d1c95e65d6c <ab3c5d1d3eba06c62045f16f2cd7781c7752e248 | 2.12.5, ab3c5d1d3eba06c62045f16f2cd7781c7752e248 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket