From: markt Date: Thu, 14 Oct 2010 09:22:54 +0000 (+0000) Subject: Add some more info on CSRF protection for the manager and host manager applications X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=92e2397a6d31ca41e909fc944e30dc135bb229e8;p=tomcat7.0 Add some more info on CSRF protection for the manager and host manager applications git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1022441 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/webapps/docs/manager-howto.xml b/webapps/docs/manager-howto.xml index cd0806484..3bc29b6f0 100644 --- a/webapps/docs/manager-howto.xml +++ b/webapps/docs/manager-howto.xml @@ -169,6 +169,18 @@ an example of restricting access to the localhost by IP address:

allow="127\.0\.0\.1"/> </Context> + +

The HTML interface is protected against CSRF but the text and JMX interfaces +are not. To maintain the CSRF protection:

+ + + diff --git a/webapps/host-manager/401.jsp b/webapps/host-manager/401.jsp index b2d9deb96..ce37e3e8e 100644 --- a/webapps/host-manager/401.jsp +++ b/webapps/host-manager/401.jsp @@ -54,9 +54,20 @@ the functionality you wish to access.

+

+ The HTML interface is protected against CSRF but the text interface is not. + To maintain the CSRF protection: +

+ diff --git a/webapps/host-manager/403.jsp b/webapps/host-manager/403.jsp index 8f5b0d34f..33e9058db 100644 --- a/webapps/host-manager/403.jsp +++ b/webapps/host-manager/403.jsp @@ -71,6 +71,17 @@
  • admin-gui - allows access to the HTML GUI
  • admin-script - allows access to the text interface
  • +

    + The HTML interface is protected against CSRF but the text interface is not. + To maintain the CSRF protection: +

    + diff --git a/webapps/manager/401.jsp b/webapps/manager/401.jsp index 8fb2cfd57..b05d87f68 100644 --- a/webapps/manager/401.jsp +++ b/webapps/manager/401.jsp @@ -63,6 +63,17 @@
  • manager-status - allows access to the status pages only
  • + The HTML interface is protected against CSRF but the text and JMX interfaces + are not. To maintain the CSRF protection: +

    + +

    For more information - please see the Manager App HOW-TO.

    diff --git a/webapps/manager/403.jsp b/webapps/manager/403.jsp index 23f9d724f..028d2bb70 100644 --- a/webapps/manager/403.jsp +++ b/webapps/manager/403.jsp @@ -78,6 +78,17 @@
  • manager-status - allows access to the status pages only
  • + The HTML interface is protected against CSRF but the text and JMX interfaces + are not. To maintain the CSRF protection: +

    + +

    For more information - please see the Manager App HOW-TO.