| Package | Affected versions | Patched versions |
|---|---|---|
| mantisbt/mantisbt | < 2.28.4 | 2.28.4 |
MantisBT 2.28.3 and earlier versions contains a SQL injection vulnerability in core/history_api.php. The history_order configuration value is concatenated directly into a SQL ORDER BY clause without any sanitisation, parameterization, or validation against a whitelist.
An administrator can set this configuration value via the web UI (adm_config_set.php) or the REST API (PATCH /api/rest/config). The injected SQL then executes whenever any user views a bug with history entries.
Is there a way for users to fix or remediate the vulnerability without upgrading?
McCaulay Hudson (@McCaulay) of watchTowr
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free