Commit Graph
2 Commits
Author SHA1 Message Date
Lauri Ojansivu 6cc84a07cd Security regression inventory: UnassignedArchiveBleed is guarded.
The Hall of Fame published UnassignedArchiveBleed (GHSA-6xqf-jh8x-4wxc), so
tests/securityRegressionCoverage.test.cjs failed: the companion list had a
name the inventory did not. It is in GUARDED now, with the two suites that
pin the fix, and those suites name it.

Thanks to tsurutanmen and xet7 !
2026-11-09 09:07:51 +02:00
Lauri Ojansivu 1513b2e98c UnassignedArchiveBleed: an assigned-only member archives and converts only the cards assigned to them.
GHSA-6xqf-jh8x-4wxc. The DDP methods archiveSelectedCards and
createBoardFromCard asked only for the board's write capability. The
Normal, assigned only role has it, but sees and changes only its own
cards, so such a member who knew a card's id archived any card of the
board - and its subtasks - and turned any card into a linked-board
card. Both methods now also ask assignedOnlyAllowsCard, as copyCard
does; archiveSelectedCards checks every card of the selection before it
archives the first, so a refused selection changes nothing.

A refusal is recorded in Admin Panel -> Problems as
UnassignedArchiveBleed (authz.assigned-card-write, medium, never
disabling the account). tests/assignedCardMethods.test.cjs drives the
reported case and fails for any server method that takes a card id and
decides by the board's write access alone;
tests/playwright/specs/assigned-card-methods.e2e.js replays the
reporter's calls against a running server.

Thanks to tsurutanmen and xet7 !
2026-11-08 14:50:53 +02:00