VDB
Sign up
MEDIUM5.3

GHSA-m7ph-9558-mrx3

MantisBT: REST API unauthorized Issue status change

Quick fix

GHSA-m7ph-9558-mrx3 — mantisbt/mantisbt: upgrade to the fixed version with the command below.

composer require mantisbt/mantisbt:^2.28.4

Details

A MantisBT user having *$g_update_bug_threshold* (UPDATER by default) can change an Issue's Status via REST and SOAP API, even if the *$g_set_status_threshold* config is set to a higher level (DEVELOPER by default).

### Impact Unauthorized change in Issue workflow.

### Patches https://github.com/mantisbt/mantisbt/releases/tag/release-2.28.4

### Workarounds None

### Resources - https://mantisbt.org/bugs/view.php?id=37181

### Credits Mamdouh Mahfouz (@mamdouhmahfouz)

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/mantisbt/mantisbt
Introduced in: 2.8.0Fixed in: 2.28.4
Fixcomposer require mantisbt/mantisbt:^2.28.4

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:composer/mantisbt/mantisbt"]}'