SecurityContext

CVE-2017-12061: MantisBT - Reflected XSS

  • Cve: CVE-2017-12061
  • Name: MantisBT - Reflected XSS
  • Description: An XSS issue was discovered in admin/install.php in MantisBT before 1.3.12 and 2.x before 2.5.2. Some variables under user control in the MantisBT installation script are not properly sanitized before being output, allowing remote attackers to inject arbitrary JavaScript code, as demonstrated by the $f_database, $f_db_username, and $f_admin_username variables. This is mitigated by the fact that the admin/ folder should be deleted after installation, and also prevented by CSP.
  • Impact: Attackers can execute arbitrary JavaScript in the context of the victim's browser, potentially leading to session hijacking or defacement.
  • Remediation: Delete the admin/ folder after installation and implement Content Security Policy (CSP). Update to version 1.3.12 or 2.5.2 or later.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs to control specific variables during installation
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.02937
  • Epss percentile: 0.8745
  • Assignee: [email protected]
  • Published at: 2017-08-01T15:29:00Z
  • Age in days: 3402
  • Modified at: 2026-06-17T01:02:36Z
  • Patch available: yes
  • References total: 6
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-12061
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/mantisbt/mantisbt/commit/17f9b94f031ba93ae2a727bca0e68458ecd08fb0Patch, Third Party Advisory
https://github.com/mantisbt/mantisbt/commit/c73ae3d3d4dd4681489a9e697e8ade785e27cba5Patch, Third Party Advisory
https://mantisbt.org/bugs/view.php?id=23146Issue Tracking, Vendor Advisory
http://openwall.com/lists/oss-security/2017/08/01/1Mailing List, Third Party Advisory
http://openwall.com/lists/oss-security/2017/08/01/2Mailing List, Third Party Advisory
http://www.securitytracker.com/id/1039030Third Party Advisory, VDB Entry

Products

ProductAffectedPlatform boundSourcesUrl
mantisbt:mantisbt>= 2.0.0, < 2.5.2; >= 1.3.0, < 1.3.12nonvd/v1/products/mantisbt/mantisbt

Projects

RepositoryLink kindsIndexedUrl
mantisbt/mantisbtcommit, fix, packageyes/v1/repositories/mantisbt/mantisbt

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 994
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports