Am I affected?

type your oban_web version to check

Description

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.

Weaknesses & attack patterns

Weakness

CWE-862 · Missing Authorization in catalog → MITRE ↗

Attack patterns

CAPEC-1 · Accessing Functionality Not Properly Constrained by ACLs MITRE ↗

Affected — Hex / oban_web Hex.pm ↗ Repository ↗

≥ 2.12.0 < 2.12.5 affected
every other version: unaffected
cpe cpe:2.3:a:oban_web_project:oban_web:*:*:*:*:*:*:*:*
version type semver
modules · source files · routines
modules 'Elixir.Oban.Web.Jobs.DetailComponent'
source files lib/oban/web/live/jobs/detail_component.ex
routines 'Elixir.Oban.Web.Jobs.DetailComponent':handle_event/3

Affected — GitHub / oban-bg/oban_web Repository ↗

≥ a17bc8c < ab3c5d1 affected
every other version: unaffected
cpe cpe:2.3:a:oban_web_project:oban_web:*:*:*:*:*:*:*:*
version type git
modules · source files · routines
modules 'Elixir.Oban.Web.Jobs.DetailComponent'
source files lib/oban/web/live/jobs/detail_component.ex
routines 'Elixir.Oban.Web.Jobs.DetailComponent':handle_event/3

Configurations

The Oban.Web dashboard must be deployed and accessible to users with less than full job-management privileges (e.g. :read_only).

References

Credits

Peter Ullrich Finder
Jonatan Männchen / EEF Analyst
Parker Selbert Remediation developer

CVSS breakdown

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Exploitability

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None

Vulnerable System

Confidentiality
None
Integrity
Low
Availability
None

Subsequent Systems

Confidentiality
None
Integrity
None
Availability
None
« All CVEs