View Issue Details

IDProjectCategoryView StatusLast Update
0017744mantisbtsecuritypublic2014-12-05 18:33
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.2.17 
Target Version1.2.18Fixed in Version1.2.18 
Summary0017744: Attachments displayed in history despite user not authorised to view them
Description

A user authorized to view issue history ($g_view_history_threshold) is able to see that an issue has attachments and discover the corresponding filenames even if their access level is lower than $g_view_attachments_threshold.

Additional Information

This problem was originally reported by user ffuchs in 0017742:0041514

TagsNo tags attached.

Activities

dregad

dregad

2014-10-10 08:39

developer   ~0041524

Last edited: 2014-10-10 08:40

Pull request https://github.com/mantisbt/mantisbt/pull/376 for review

Related Changesets

MantisBT: master-1.2.x 2c93b0df

2014-10-10 04:36

dregad


Details Diff
Hide attachments in history if user can't see them

If user is not allowed to view attachments (i.e. their access level is
lower than $g_view_attachments_threshold), then the history should not
display information about attachments.

Fixes 0017744

Backported from master (c2e2bf1c614afe2e3b0739c789f85413d4ef29cd)
Affected Issues
0017744
mod - core/history_api.php Diff File

MantisBT: master c2e2bf1c

2014-10-10 04:36

dregad


Details Diff
Hide attachments in history if user can't see them

If user is not allowed to view attachments (i.e. their access level is
lower than $g_view_attachments_threshold), then the history should not
display information about attachments.

Fixes 0017744
Affected Issues
0017744
mod - core/history_api.php Diff File