View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0009247 | mantisbt | security | public | 2008-06-09 19:41 | 2008-08-11 09:42 |
| Reporter | Sergiodf | Assigned To | jreese | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 1.2.0a1 | ||||
| Target Version | 1.2.0a2 | Fixed in Version | 1.2.0a2 | ||
| Summary | 0009247: A reporter can update an incidence | ||||
| Description | When playing with this Mantis (http://www.mantisbt.org/bugs/) i clicked on "Report issue", then i reset the filter and i discovered a new feature: due date. This seems to work only for bugs reported by myself. | ||||
| Tags | No tags attached. | ||||
|
May i add a note, also? |
|
|
I fail to see where is the problem... can you expand your point please? |
|
|
I have reporter access ("Logged in as: Sergiodf (Sergio Del Franco - reporter)"), not Updater. |
|
|
The advanced update page checks for access levels, but does not enforce them or give an 'access denied' message like the standard update page; This should be fixed. However, a reporter will still not be allowed to actually update the bug if they lack the necessary permissions. |
|
|
After further looking, it seems this is because of the due date feature, in attempts to allow the user to update the due date even without persmissions to update anything else. In my opinion, this should not be allowed, as it could potentially be a security risk, for example, brute-force viewing of private issues because you have access to update due dates. I think the best solution is to:
I'm partial to the second option. Is there really anyone who would have permission to select when a bug is due that wouldn't already have permissions to update the bug in the first place? |
|
|
I would go with the first option. However, we have to support the case where a user has access to update an issue but not to update the due date. I can see in some installations that users have access to update their issues but not the due date of such issues. |
|
|
Fixed in SVN trunk r5464. |
|
|
MantisBT: master 562e08a8 2008-07-30 14:05 Details Diff |
Fix 0009247: Bug updates were not ensuring access levels. git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@5464 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
Affected Issues 0009247 |
|
| mod - bug_update_advanced_page.php | Diff File | ||
| mod - bug_update_page.php | Diff File | ||
| mod - bug_update.php | Diff File | ||