Bug 830737 (CVE-2012-2692) - CVE-2012-2692 mantis: delete_attachments_threshold permission not checked when a user attempted to delete an attachment from an issue
Summary: CVE-2012-2692 mantis: delete_attachments_threshold permission not checked whe...
Status: CLOSED CURRENTRELEASE
Alias: CVE-2012-2692
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=low,public=20120609,reported=2...
Keywords: Security
Depends On: 800667 830741
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-11 10:19 UTC by Jan Lieskovsky
Modified: 2019-06-08 19:09 UTC (History)
4 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2013-03-15 04:18:36 UTC


Attachments (Terms of Use)

Description Jan Lieskovsky 2012-06-11 10:19:07 UTC
From the CVE request [2]:

Roland Becker (MantisBT developer) found that the delete_attachments_threshold permission was not being checked when a user attempted to delete an attachment from an issue. The more generic update_bug_threshold permission was being checked instead. MantisBT administrators may have been under the false impression that their configuration of the delete_attachments_threshold was successfully preventing unwanted users from deleting attachments.

References:
[1] http://www.mantisbt.org/bugs/view.php?id=14016
[2] http://www.openwall.com/lists/oss-security/2012/06/09/1
[3] https://bugs.gentoo.org/show_bug.cgi?id=420375

Upstream patches (against the v1.2.x branch) seems to be the
following three:
[4] https://github.com/mantisbt/mantisbt/commit/ceafe6f0c679411b81368052633a63dd3ca06d9c
[5] https://github.com/mantisbt/mantisbt/commit/628e93708fa7e35e751fd23863d207423a25c408
[6] https://github.com/mantisbt/mantisbt/commit/c9314184f541f0e3e3b91b3533104e50292c3e68

Comment 1 Jan Lieskovsky 2012-06-11 10:25:50 UTC
This issue affects the versions of the mantis package, as shipped with Fedora release of 15, 16, and 17. Please schedule an update.

--

This issue affects the version of the mantis package, as shipped with Fedora EPEL 5. Please schedule an update.

Comment 2 Jan Lieskovsky 2012-06-11 10:28:39 UTC
Created mantis tracking bugs for this issue

Affects: fedora-all [bug 830741]
Affects: epel-5 [bug 830742]

Comment 3 Jan Lieskovsky 2012-06-12 08:00:03 UTC
The CVE identifier of CVE-2012-2692 has been assigned to this issue:
http://www.openwall.com/lists/oss-security/2012/06/11/6

Comment 4 Fedora Update System 2012-11-23 07:55:58 UTC
mantis-1.2.12-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2012-11-24 03:24:17 UTC
mantis-1.2.12-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2012-11-24 03:25:19 UTC
mantis-1.2.12-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Vincent Danen 2013-03-15 04:18:36 UTC
EPEL5 hasn't been touched since Dec 2010, and the package is technically orphaned.  As a result I'm closing this bug as this issue is fixed in Fedora.  The EPEL5 tracking bug #800667 will remain open until either mantis is dropped from EPEL or it is fixed.


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