Description
MantisBT through 2.3.0 allows arbitrary password reset and unauthenticated admin access via an empty confirm_hash value to verify.php.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
MantisBT password reset
auxiliary/admin/http/mantisbt_password_reset
Exploit-DB 2
- Mantis Bug Tracker 2.3.0 - Remote Code Execution (Unauthenticated) EDB-48818 · webapps · Sep 18, 2020
- Mantis Bug Tracker 1.3.0/2.3.0 - Password Reset EDB-41890 · webapps · Apr 16, 2017 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- MantisBT <=2.30 - Arbitrary Password Reset/Admin Access http/cves/2017/CVE-2017-7615.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | mantisbt/mantisbt | >= 1.3.0-rc.2, < 1.3.10 | 1.3.10 | GHSA-252r-f55f-ff34 |
| Packagist | mantisbt/mantisbt | >= 2.0.0, < 2.2.4 | 2.2.4 | GHSA-252r-f55f-ff34 |
| Packagist | mantisbt/mantisbt | >= 2.3.0, < 2.3.1 | 2.3.1 | GHSA-252r-f55f-ff34 |
References
- 97707 vdb-entry
- https://mantisbt.org/bugs/view.php?id=22690
- http://www.openwall.com/lists/oss-security/2017/04/16/2
- 41890 exploit
- http://hyp3rlinx.altervista.org/advisories/MANTIS-BUG-TRACKER-PRE-AUTH-REMOTE-PASSWORD-RESET.txt
- http://packetstormsecurity.com/files/159219/Mantis-Bug-Tracker-2.3.0-Remote-Code-Execution.html