CyberRota Analysis
AI-GeneratedThe vulnerability in ash_oban allows unauthorized users to manipulate job triggers by retargeting updates or deletions to other records, potentially breaching tenant isolation. This occurs due to improper handling of user input in the :args option of the build_trigger/3 function, which can lead to authorization bypass. Organizations using ash_oban versions from 0.2.5 to before 0.8.14 should prioritize patching this issue to mitigate risks associated with data integrity and multi-tenancy.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Improperly Controlled Modification of Dynamically-Determined Object Attributes vulnerability in ash-project ash_oban allows a user whose input reaches the :args option of AshOban.build_trigger/3 to retarget an update or destroy trigger at another record, including across tenants. build_trigger/3 builds the trusted job arguments with atom keys (:primary_key, :tenant, :action_arguments) and merges the caller's :args underneath so the trusted values win on collision. Because Oban job arguments round-trip through JSON, the caller's keys arrive as strings, so Map.merge sees no collision and both keys survive. When the job is persisted the JSON object is de-duplicated keeping the last (string) key, and the worker reads the caller's value. The documentation describes :args as unable to affect the action, so an application that forwards user input into it for uniqueness scoping is exposed to authorization bypass and tenant isolation breaks. This issue affects ash_oban: from 0.2.5 before 0.8.14.