Information disclosure in Mantisbt
CVE-2017-12419
If, after successful installation of MantisBT through 2.5.2 on MySQL/MariaDB, the administrator does not remove the 'admin' directory (as recommended in the "Post-installation and upgrade tasks" section of the MantisBT Admin Guide), and the MySQL client has a local_infile setting enabled (in php.ini mysqli.allow_local_infile, or the MySQL client config file, depending on the PHP setup), an attacker may take advantage of MySQL's "connect file read" feature to remotely access files on the MantisBT server.
Vulnerability class: Information Disclosure
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.9 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.013, 71.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Mantisbt — versions 2.5.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (MelvinM8/OSCP). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- mantisbt.org/bugs/view.php (Vendor Advisory)
- www.securityfocus.com/bid/100142 (Third Party Advisory, VDB Entry, vdb-entry)
- openwall.com/lists/oss-security/2017/08/04/6 (Mailing List, Third Party Advisory)