MEDIUM4.3
GHSA-xjmx-cprh-646r
MantisBT unauthorized users able to access private files
Quick fix
GHSA-xjmx-cprh-646r — mantisbt/mantisbt: upgrade to the fixed version with the command below.
composer require mantisbt/mantisbt:^2.24.3Details
An issue was discovered in file_download.php in MantisBT before 2.24.3. Users without access to view private issue notes are able to download the (supposedly private) attachments linked to these notes by accessing the corresponding file download URL directly.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/mantisbt/mantisbt
Introduced in:
0Fixed in: 2.24.3Fix
composer require mantisbt/mantisbt:^2.24.3References
- https://nvd.nist.gov/vuln/detail/CVE-2020-25781[ADVISORY]
- https://github.com/mantisbt/mantisbt[PACKAGE]
- https://mantisbt.org/bugs/view.php?id=27039[WEB]
- http://github.com/mantisbt/mantisbt/commit/5595c90f11c48164331a20bb9c66098980516e93[WEB]
- http://github.com/mantisbt/mantisbt/commit/9de20c09e5a557e57159a61657ce62f1a4f578fe[WEB]
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"]}'