Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7702

Remove methods in QueryContext that don't use a custom bean class

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.2.5
    • None
    • None
    • Unknown

    Description

      The JAX-RS search QueryContext has some methods to return the converted search expression that don't take a bean parameter. This means that it's possible to inject parameters into the search query that are not defined as properties in the bean class, leading to potential injection attacks. Instead all methods should require a bean, similar to the SearchContext.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            coheigea Colm O hEigeartaigh
            coheigea Colm O hEigeartaigh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment