Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Javier López <fjlopez@gitlab.com>2019-07-02 19:38:23 +0300
committerFrancisco Javier López <fjlopez@gitlab.com>2019-07-15 10:21:20 +0300
commitf5c1cd489834e824c83f2ae909cd0dd41fb95dab (patch)
treebfbf073fae7b2a5dedb63118cc3865036a92c847 /spec/controllers
parente674a9d97822553c930062b9c5f4d4a349d39c11 (diff)
Fix Server Side Request Forgery mitigation bypass
When we can't resolve the hostname or it is invalid, we shouldn't even perform the request. This fix also fixes the problem the SSRF rebinding attack. We can't stub feature flags outside example blocks. Nevertheless, there are some actions that calls the UrlBlocker, that are performed outside example blocks, ie: `set` instruction. That's why we have to use some signalign mechanism outside the scope of the specs.
Diffstat (limited to 'spec/controllers')
0 files changed, 0 insertions, 0 deletions