Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve #4275 ambiguous URIs #6939

Merged
merged 3 commits into from Oct 11, 2021
Merged

Conversation

gregw
Copy link
Contributor

@gregw gregw commented Sep 28, 2021

#4275
A URI like /foo/%2e%2e;/bar should be ambiguous both because of the encoded dots and because of the parameters. This means that the default setting of jetty-9 is a bit more secure as this path is considered ambiguous if either Violation.SEGMENT or Violation.PARAM is set.

Signed-off-by: Greg Wilkins gregw@webtide.com

A URI like `/foo/%2e%2e;/bar` should be ambiguous both because of the encoded dots and because of the parameters.  This means that the default setting of jetty-9 is a bit more secure as this path is considered ambiguous if either Violation.SEGMENT or Violation.PARAM is set.

Signed-off-by: Greg Wilkins <gregw@webtide.com>
@gregw gregw added this to In progress in Jetty 9.4.45 - FROZEN via automation Sep 28, 2021
Jetty 9.4.45 - FROZEN automation moved this from In progress to Review in progress Sep 29, 2021
@lachlan-roberts
Copy link
Contributor

@gregw there are test failures.

Signed-off-by: Greg Wilkins <gregw@webtide.com>
Jetty 9.4.45 - FROZEN automation moved this from Review in progress to Reviewer approved Sep 29, 2021
Signed-off-by: Greg Wilkins <gregw@webtide.com>
Jetty 9.4.45 - FROZEN automation moved this from Reviewer approved to Review in progress Sep 30, 2021
@gregw
Copy link
Contributor Author

gregw commented Sep 30, 2021

@lachlan-roberts can you re-review.... I've been a little evil and snuck in a few extra fixes replacing == with equals

Jetty 9.4.45 - FROZEN automation moved this from Review in progress to Reviewer approved Sep 30, 2021
@gregw gregw merged commit 3f82d69 into jetty-9.4.x Oct 11, 2021
Jetty 9.4.45 - FROZEN automation moved this from Reviewer approved to Done Oct 11, 2021
@gregw gregw deleted the jetty-9.4.x-4275-ambiguousparam branch October 11, 2021 04:02
@lachlan-roberts lachlan-roberts added this to In progress in Jetty 10.0.8/11.0.8 - FROZEN via automation Oct 12, 2021
@lachlan-roberts lachlan-roberts removed this from In progress in Jetty 10.0.8/11.0.8 - FROZEN Oct 12, 2021
lachlan-roberts added a commit that referenced this pull request Oct 12, 2021
* Improve #4275 ambiguous URIs

A URI like `/foo/%2e%2e;/bar` should be ambiguous both because of the encoded dots and because of the parameters.  This means that the default setting of jetty-9 is a bit more secure as this path is considered ambiguous if either Violation.SEGMENT or Violation.PARAM is set.

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit that referenced this pull request Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants