GithubHelp home page GithubHelp logo

Display error page when the request to the dashboard contains X-HTTP-Method, X-HTTP-Method-Override, or X-Method-Override in request about dashboard HOT 2 CLOSED

srisek avatar srisek commented on September 27, 2024
Display error page when the request to the dashboard contains X-HTTP-Method, X-HTTP-Method-Override, or X-Method-Override in request

from dashboard.

Comments (2)

AlanGreene avatar AlanGreene commented on September 27, 2024

Thanks for raising this issue @srisek. Can you share more details about the issue you're encountering? Is the issue just that this is being flagged by a security scan or have you found an actual bug in how the Dashboard behaves?

Use of HTTP method override is valid in a number of scenarios and many applications respond appropriately. If the Dashboard is handling these headers and behaving correctly as a result of the updated method I would consider this working as expected.

Users will not gain access to additional functionality which should not be available to them by modifying the method in this way. For example a PUT / PATCH request to update a resource will only succeed if the user has permission to perform the update action on that resource in the given context. This is handled by the Kubernetes API server RBAC implementation.

If for some reason you wish to prevent all use of method override this would be something to implement in a reverse proxy deployed in front of the Dashboard according to your own particular requirements.

from dashboard.

AlanGreene avatar AlanGreene commented on September 27, 2024

Closing due to inactivity. If you think there's a bug in the Dashboard please reopen with more details so we can reproduce the issue and resolve it.

from dashboard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.