View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0037089 | mantisbt | security | public | 2026-04-18 17:26 | 2026-05-09 19:56 |
| 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. | ||||
|
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 | ||