CVE-2017-7309
Medium · 4.8CVSS
4.8
EPSS
57.3%
Published
Mar 31, 2017
CISA due date
—
Cloudanix analysis
A flaw in an older bug-tracking tool lets attackers trick administrators into running harmful code in their browsers, potentially exposing sensitive settings.
- Exploitation
- Requires User Interaction
- Attacker needs
- High Privilege
- Complexity
- Low
- Impact
- Data Tampering
- Component
- Application
- Class
- XSS
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Allows remote injection of arbitrary JavaScript into the Configuration Report page via a crafted config_option parameter when content security policy settings permit execution.
Why it matters to the business
Attackers could hijack administrative sessions to steal sensitive configuration data or perform unauthorized changes, increasing risk of broader system compromise in environments where the vulnerable version remains deployed.
How an attack unfolds
An attacker crafts a malicious URL containing executable script in the config_option parameter, then tricks an authenticated administrator into visiting the page; if CSP allows, the script executes in the admin's browser context to exfiltrate data or perform actions.
How to fix it
Upgrade MantisBT to version 1.3.9, 2.1.3, or 2.2.3 or later; for the listed mc packages, ensure deployment uses the fixed version 0 or equivalent patched build.
How to confirm the fix worked
Confirm the installed version matches or exceeds 1.3.9/2.1.3/2.2.3, review CSP headers to ensure they block inline scripts, and test the config_option parameter with benign input to verify sanitization.
Typical attack path
- Identify exposed MantisBT instance with Configuration Report page accessible
- Craft URL with malicious payload in config_option parameter
- Deliver link via phishing or other social engineering to authenticated administrator
- Script executes in browser if CSP permits, enabling session hijacking or data theft
How to detect it
Review web server access logs for unusual or encoded values in the config_option parameter on adm_config_report.php requests; inspect browser console or proxy logs for unexpected script execution originating from the configuration report page.
What your security team should do
- Prioritize upgrade to fixed MantisBT versions immediately given public exploit availability
- Audit CSP settings on the application to block script execution from untrusted sources
- Monitor for any administrative access to adm_config_report.php from unexpected sources
The record
A cross-site scripting (XSS) vulnerability in the MantisBT Configuration Report page (adm_config_report.php) allows remote attackers to inject arbitrary code (if CSP settings permit it) through a crafted 'config_option' parameter. This is fixed in 1.3.9, 2.1.3, and 2.2.3.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Packagist | mantisbt/mantisbt | 0 | 1.3.9 |
| Packagist | mantisbt/mantisbt | 2.1.0 | 2.1.3 |
| Packagist | mantisbt/mantisbt | 2.2.0 | 2.2.3 |
| packagist | mantisbt/mantisbt | 2.1.0 | 2.1.3 |
| packagist | mantisbt/mantisbt | 2.2.0 | 2.2.3 |
Related vulnerabilities
- CVE-2025-62520 MantisBT unauthorized disclosure of private project column configuration Also affects mantisbt/mantisbt
- CVE-2025-55155 MantisBT: Authentication bypass for some passwords due to PHP type juggling Also affects mantisbt/mantisbt
- CVE-2025-47776 MantisBT: Authentication bypass for some passwords due to PHP type juggling Also affects mantisbt/mantisbt
- CVE-2025-46556 MantisBT is Vulnerable to Denial-of-Service (DoS) attack via Excessive Note Length Also affects mantisbt/mantisbt
- GHSA-g582-8vwr-68h2 MantisBT unauthorized disclosure of private project column configuration Also affects mantisbt/mantisbt
- GHSA-q747-c74m-69pr MantisBT lacks verification when changing a user's email address Also affects mantisbt/mantisbt
- GHSA-r3jf-hm7q-qfw5 MantisBT Vulnerable to Denial-of-Service (DoS) via Excessive Note Length Also affects mantisbt/mantisbt
- GHSA-4v8w-gg5j-ph37 MantisBT vulnerable to authentication bypass for some passwords due to PHP type juggling Also affects mantisbt/mantisbt