View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0037089 | mantisbt | security | public | 2026-04-18 17:26 | 2026-11-22 14:59 |
| Reporter | ninjasec | Assigned To | dregad | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 2.28.1 | ||||
| Target Version | 2.28.2 | Fixed in Version | 2.28.2 | ||
| Summary | 0037089: CVE-2026-42070: REST/SOAP mc_issue_update Embedded Note Update Bypasses Note-Level Authorization | ||||
| Description | mc_issue_update() accepts a notes array. When a note entry in that array
The only gating applied before reaching the note-update branch is Relevant code at mc_issue_api.php:1185-1197: | ||||
| Steps To Reproduce | Precondition: authenticated user has update_bug_threshold access (UPDATER) but
Observed: note 5 text is changed, privacy toggled to private, time tracking | ||||
| Additional Information | Severity: Type: Affected code: Impact: | ||||
| Tags | No tags attached. | ||||
| has duplicate | 0037093 | closed | dregad | Authorization Bypass in Bugnote Editing via Issue Update API |
| related to | 0037350 | closed | dregad | MantisBT SOAP mc_issue_note_update() own-note edit-threshold check is fail-open (boolean coercion) |
| related to | 0037493 | closed | dregad | SOAP mc_issue_note_update: note-owner edit threshold bypassed and view_state change unchecked |
| related to | 0037201 | closed | dregad | Authorization bypass in mc_issue_note_update due to boolean coercion of Integer threshold |
|
Advisory https://github.com/mantisbt/mantisbt/security/advisories/GHSA-pq86-j2c2-47f6 created, CVE request sent. |
|
By default, changing view state from public to private is possible, but to make a private note public the UPDATER user also needs to have private_bugnote_threshold (which is not the case by default). mc_issue_update() calls bugnote_get_all_visible_bugnotes(), which only returns bugnotes the UPDATER user has access to, excluding other user's private notes. |
|
|
CVE-2026-42070 assigned |
|
|
@ninjasec Patch is ready for review, https://github.com/mantisbt/mantisbt-private/pull/4. looking forward to receiving your feedback. |
|
|
MantisBT: master-2.28 6e58fae4 2026-05-06 19:33 Committer: community Details Diff |
Fix Bugnote udpate auth bypass via REST/SOAP API Add a note-level permission check in mc_issue_update() to ensure the user is authorized to update each bugnote individually. Fixes 0037089, GHSA-pq86-j2c2-47f6 / CVE-2026-42070 |
Affected Issues 0037089 |
|
| mod - api/soap/mc_issue_api.php | Diff File | ||
|
MantisBT: master b7cd66ce 2026-08-22 13:06 Details Diff |
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 |
Affected Issues 0037089, 0037201 |
|
| mod - api/soap/mc_issue_api.php | Diff File | ||