MantisBT: master b7cd66ce

Author Committer Branch Timestamp Parent
dregad dregad master 2026-08-22 13:06 master 600705b0
Affected Issues  0037089: CVE-2026-42070: REST/SOAP mc_issue_update Embedded Note Update Bypasses Note-Level Authorization
 0037201: Authorization bypass in mc_issue_note_update due to boolean coercion of Integer threshold
Changeset

Prevent bugnote edit auth bypass via SOAP API

Due to boolean coercion of integer threhsold, any authenticated user
could edit their own bugnotes regardless of bugnote_user_edit_threshold
with mc_issue_note_update endpoint.

Calling access_has_bugnote_level() fixes the problem.

Amending similar access check in mc_issue_update() to cover the
(unlikely) scenario where configuration sets bugnote_user_edit_threshold
higher than update_bugnote_threshold, which would prevent a user allowed
to update any bugnote from editing their own (see Issue 0037089).

Fixes 0037201, GHSA-6x7h-hm8p-xch9

mod - api/soap/mc_issue_api.php Diff File