Bug 1483617 (CVE-2017-12419) - CVE-2017-12419 mantis: Arbitrary file read via MySQL's "connect file read" feature
Summary: CVE-2017-12419 mantis: Arbitrary file read via MySQL's "connect file read" fe...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2017-12419
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1483618
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-21 13:27 UTC by Adam Mariš
Modified: 2019-09-29 14:19 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-06-08 03:21:44 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2017-08-21 13:27:08 UTC
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.

Upstream bug:

https://mantisbt.org/bugs/view.php?id=23173

Comment 1 Adam Mariš 2017-08-21 13:27:32 UTC
Created mantis tracking bugs for this issue:

Affects: fedora-all [bug 1483618]

Comment 2 Gianluca Sforna 2017-08-22 08:45:10 UTC
So, the mantis RPM package ships with an Apache directive that disallow access to the admin/ directory by default:

<Directory /usr/share/mantis/admin>
	Order   Deny,Allow
	Deny    from All
	Allow   from None
</Directory>

So my guess is that we are not affected by the issue in our default configuration.

Comment 3 Adam Mariš 2017-08-30 15:11:14 UTC
(In reply to Gianluca Sforna from comment #2)
> So, the mantis RPM package ships with an Apache directive that disallow
> access to the admin/ directory by default:
> 
> <Directory /usr/share/mantis/admin>
> 	Order   Deny,Allow
> 	Deny    from All
> 	Allow   from None
> </Directory>
> 
> So my guess is that we are not affected by the issue in our default
> configuration.

You seem to be right. Feel free to close Fedora tracker then. Thanks for looking into it!

Comment 4 Product Security DevOps Team 2019-06-08 03:21:44 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.