Am I affected?
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 ↗
modules · source files · routines
Affected — GitHub / oban-bg/oban_web Repository ↗
modules · source files · routines
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
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