MEDIUM5.3
GHSA-49w9-82cj-xr48
MantisBT SQL Injection via mc_project_get_users function
Quick fix
GHSA-49w9-82cj-xr48 — mantisbt/mantisbt: upgrade to the fixed version with the command below.
composer require mantisbt/mantisbt:^2.24.4Details
In MantisBT 2.24.3, SQL Injection can occur in the parameter "access" of the mc_project_get_users function through the API SOAP.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/mantisbt/mantisbt
Introduced in:
0Fixed in: 2.24.4Fix
composer require mantisbt/mantisbt:^2.24.4References
- https://nvd.nist.gov/vuln/detail/CVE-2020-28413[ADVISORY]
- https://github.com/mantisbt/mantisbt/commit/3e37b4041bf76422541836a424ca71bc4a660247[WEB]
- https://ethicalhcop.medium.com/cve-2020-28413-blind-sql-injection-en-mantis-bug-tracker-2-24-3-api-soap-54238f8e046d[WEB]
- https://github.com/mantisbt/mantisbt[PACKAGE]
- http://packetstormsecurity.com/files/160750/Mantis-Bug-Tracker-2.24.3-SQL-Injection.html[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"]}'