Relationship Graph
View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0037201 | mantisbt | security | public | 2026-05-27 22:09 | 2026-11-22 16:08 |
| Reporter | byteoverride | Assigned To | dregad | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Target Version | 2.29.0 | Fixed in Version | 2.29.0 | ||
| Summary | 0037201: Authorization bypass in mc_issue_note_update due to boolean coercion of Integer threshold | ||||
| Description | The This is the same bug class as CVE-2026-42070 (GHSA-pq86-j2c2-47f6), which was fixed in Vulnerability DetailsType: Incorrect Authorization (CWE-863) Affected File: Broken code at lines 1508-1512:
Why it fails:
Fixed code in mc_issue_update (commit 6e58fae, lines 1191-1196):
This correctly uses PHP Proof of Boolean Coercion Bug | ||||
| Steps To Reproduce | Steps to ReproduceEnvironment: MantisBT 2.29.0-dev, PHP 8.3, MariaDB 11.8 Accounts used:
Step 1: Verify testuser is REPORTER and owns note 0000002
Step 2: Verify bugnote_user_edit_threshold is DEVELOPER (55)
testuser (25) is below the threshold (55). They should NOT be able to edit notes. Step 3: Edit own note via mc_issue_note_update
Expected behavior: SOAP fault "Access denied" because REPORTER (25) is below DEVELOPER (55) threshold. Actual behavior: Returns Step 4: Verify note was modified | ||||
| Additional Information | ImpactAny authenticated user can edit their own bugnotes through the SOAP API regardless of the
The fix for CVE-2026-42070 (commit 6e58fae) addressed the identical bug class in Recommended FixReplace lines 1508-1512 with the same pattern used in the CVE-2026-42070 fix:
This replaces the boolean coercion check ( Affected VersionsMantisBT 2.29.0-dev (current develop branch). The broken boolean coercion has been present in | ||||
| Tags | No tags attached. | ||||
| related to | 0037089 | closed | dregad | CVE-2026-42070: REST/SOAP mc_issue_update Embedded Note Update Bypasses Note-Level Authorization |
| has duplicate | 0037350 | closed | dregad | MantisBT SOAP mc_issue_note_update() own-note edit-threshold check is fail-open (boolean coercion) |
| has duplicate | 0036980 | closed | dregad | SOAP Note Update Bypasses bugnote_user_edit_threshold for Note Authors |
| has duplicate | 0037493 | closed | dregad | SOAP mc_issue_note_update: note-owner edit threshold bypassed and view_state change unchecked |
|
Thanks for the report, I'll look into it. |
|
|
Advisory https://github.com/mantisbt/mantisbt/security/advisories/GHSA-6x7h-hm8p-xch9 created and CVE request sent. |
|
|
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 | ||
related to
child of
duplicate of