Uploaded image for project: 'ActiveMQ Apollo (Retired)'
  1. ActiveMQ Apollo (Retired)
  2. APLO-250

add_user_header should prevent forging

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5
    • apollo-stomp
    • None
    • apollo-99-trunk-20120827.123709-100

    Description

      add_user_header currently adds or overwrites the specified header if the corresponding principal exists. If the principal is not present, it does nothing.

      This opens for forgeries since the sent message may contain a header with the same name and, if the principal is missing, Apollo will leave it there. By examining the message, there is no way to know if the header has been set by the sender or by Apollo.

      IMHO it would be safer for Apollo to remove the header in case the corresponding principal is not present.

      Attachments

        Activity

          People

            chirino Hiram R. Chirino
            lionel.cons Lionel Cons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: