MEDIUM4.8
GHSA-v7qf-22rw-chph
MantisBT XSS via adm_config_report.php's action parameter
Quick fix
GHSA-v7qf-22rw-chph — mantisbt/mantisbt: upgrade to the fixed version with the command below.
composer require mantisbt/mantisbt:^1.3.8Details
A cross-site scripting (XSS) vulnerability in the MantisBT Configuration Report page (adm_config_report.php) allows remote attackers to inject arbitrary code through a crafted 'action' parameter. This is fixed in 1.3.8, 2.1.2, and 2.2.2.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/mantisbt/mantisbt
Introduced in:
0Fixed in: 1.3.8Fix
composer require mantisbt/mantisbt:^1.3.8Packagist/mantisbt/mantisbt
Introduced in:
2.0.0Fixed in: 2.1.2Fix
composer require mantisbt/mantisbt:^2.1.2Packagist/mantisbt/mantisbt
Introduced in:
2.2.0Fixed in: 2.2.2Fix
composer require mantisbt/mantisbt:^2.2.2References
- https://nvd.nist.gov/vuln/detail/CVE-2017-6973[ADVISORY]
- https://github.com/mantisbt/mantisbt/commit/034cd07b47af37366fc7b726cb4a4f971d3d3fb9[WEB]
- https://github.com/mantisbt/mantisbt/commit/15e52e84c389afe8b03ed3cdb59b6549257ed197[WEB]
- https://github.com/mantisbt/mantisbt/commit/da74c5aa02bcf21cfaab1180f892c22415e5fea6[WEB]
- https://github.com/mantisbt/mantisbt[PACKAGE]
- http://www.mantisbt.org/bugs/view.php?id=22537[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"]}'