-
Notifications
You must be signed in to change notification settings - Fork 729
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: mantisbt/mantisbt
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a7eacc1
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: mantisbt/mantisbt
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4b7492d
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 5 commits
- 11 files changed
- 3 contributors
Commits on Sep 4, 2011
-
Revert "Fix #13282, #13283: bug_actiongroup_ext_page.php LFI and XSS"
Configuration menu - View commit details
-
Copy full SHA for 965b00a - Browse repository at this point
Copy the full SHA 965b00aView commit details -
Rework the bug action group api such that we can easily convert this …
…to an object in the future, and to validate calls to require once. This leads to a security issue identified by IBM's Appscan program, whereby calls to require_once are not validated. Depending on webserver configuration, this is a file inclusion vulnerability. There will be a follow up commit to config api - probably: - if( $g_project_override != null ) { + if( $g_project_override != null && $p_project == null ) { At the moment, the action group API calls config_get with a project parameter to use. This is ignored, due to project_override being set - so we either need to: a) change project override within the command list function b) modifify config api to only use the project override *if* it is attempting to look up information on the default project. Backported from master-1.2.x branch. Note that this commit relies upon commit 6dc3510 from the master branch (that hadn't been backported to 1.2.x). Conflicts: bug_actiongroup_ext.php bug_actiongroup_ext_page.php bug_actiongroup_page.php core/bug_group_action_api.php Signed-off-by: David Hicks <d@hx.id.au>
Configuration menu - View commit details
-
Copy full SHA for 5b93161 - Browse repository at this point
Copy the full SHA 5b93161View commit details -
Fix #11481: Don't show bug group actions that can't be used
Currently the bug action group dropdown list on view_all_bug_page.php shows (almost) every available option, even if the current user isn't authorised to use those options. This patch implements checking to see which options are available to the user for the issues which are currently shown on view_all_bug_page.php. Options are only displayed in the dropdown list if the user is able to use the option on at least one of the bugs displayed. Additionally, the logic behind when selection checkboxes are shown alongside a bug has been improved. Checkboxes won't display next to bugs that the user cannot perform group actions on. Backported from master branch because it's needed to resolve an LFI/XSS issue in bug_actiongroup_ext.php.
Configuration menu - View commit details
-
Copy full SHA for 6ede60d - Browse repository at this point
Copy the full SHA 6ede60dView commit details -
Fix issue introduced previously whereby php_Self is now used unchecked.
introduced previously by john attempting to fix symlinks. Since we now use php 5.2, we can make use of filter_var. This is a simpler version of what we were trying to do previously aka http://git.mantisforge.org/w/mantisbt.git?a=commitdiff;h=5ac1fdf32717d0c82cca7e7660dd4fd316a6a1b8 Depending on server/mantis config this can lead to XSS issues David: Backported from master branch and removed unreachable code branch. Signed-off-by: David Hicks <d@hx.id.au>
Configuration menu - View commit details
-
Copy full SHA for d00745f - Browse repository at this point
Copy the full SHA d00745fView commit details -
Project override should only apply if $p_project hasn't been explicit…
…y set. For the most part, we use config_get(var) to get information for the current project [or overriden project] If we are explicity passing in a project ID, we should use this ID instead, and not override. Signed-off-by: David Hicks <d@hx.id.au>
Configuration menu - View commit details
-
Copy full SHA for 4b7492d - Browse repository at this point
Copy the full SHA 4b7492dView commit details
There are no files selected for viewing