-
Notifications
You must be signed in to change notification settings - Fork 732
V3.1/dev issue882 #887
V3.1/dev issue882 #887
Conversation
|
I think this is a big enough change it won't make it into the 3.0.x branches, others thoughts? |
|
We're still discussing it in #882, but I actually think the proposed fix is a bugfix and thus within the scope for backports. |
|
I think if it works then we should merge. Any performance hit from introducing extra variables should only be present when somebody submits a http:// parameter and that is pretty rare anyway. It's PL2 also. |
|
It has a conflict sadly... @fzipi :'( |
|
Not anymore! @lifeforms |
|
I checked it out and it fixes the bypass partly! The following failing case is FIXED: However, I found a case (HTTP parameter pollution) is still a bypass after the PR: Note I specified Luckily, this may not be a problem for PHP applications, as their parser also gives preference to the last parameter. In the above case, Could we quickly replace this technique by a parameter counter, as in HTTP parameter pollution rule? Do you think this could be quickly implementable @dune73, I believe you did extensive work on that? If we can't make a quick fix, I suggest that we merge this PR (which tested fine otherwise and still closes the bypass for many applications), backport it to v3.0/dev, and open a separate issue for the remaining parameter pollution bypass. |
|
Sorry for the long silence. I was teaching abroad for 10 days and really busy between the courses. Now 2 conferences next week and then I'll be free. As we are intending to backport this, I favor the partial fix. The bypass is works via HPP. Would not it make sense to accept that as we have a PL3 rule against HPP - or we come to the conclusion that HPP is severe and we shift said rule to PL2. The HPP was actually pushed by @franbuehler. We wrote the rule together and she did the PR. For the time being I now plan to follow the suggestion and merge this. Unless I hear opposition soon. ;) |
|
I concur. |
|
So I merged this. Welcoming backport as discussed. Also new issue. |
Fixes issue 882 for v3.1/dev. Should we backport this one?