VDB
Sign up
MEDIUM4.3

GHSA-h4x5-gvx6-3rwc

MantisBT has an Authorization Bypass that Allows Uploading Attachments to Private Issues via REST API

Quick fix

GHSA-h4x5-gvx6-3rwc — mantisbt/mantisbt: upgrade to the fixed version with the command below.

composer require mantisbt/mantisbt:^2.28.2

Details

### Impact MantisBT allows an authenticated user to upload attachments to private Issues they are not authorized to access.

### Patches - b262b4d2835b81394d75356dead66e52a6275206

### Workarounds None.

### Credits Thanks to Vishal Shukla for discovering and responsibly reporting the issue.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/mantisbt/mantisbt
Introduced in: 0Fixed in: 2.28.2
Fixcomposer require mantisbt/mantisbt:^2.28.2

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"]}'