1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-03-03 07:59:15 +01:00
phorge-phorge/src/docs/user
epriestley 45665dd3b4 Hide "notification.servers" configuration and don't follow redirects from Aphlict
Summary:
See <https://hackerone.com/reports/850114>.

An attacker with administrator privileges can configure "notification.servers" to connect to internal services, either directly or with chosen parameters by selecting an attacker-controlled service and having it issue a "Location" redirect.

Generally, we allow this attack to occur. The same administrator can use an authentication provider or a VCS repository to perform the same attack, and we can't reasonably harden these workflows without breaking things that users expect to be able to do.

There's no reason this particular variation of the attack needs to be allowable, though, and the current behavior isn't consistent with how other similar things work.

  - Hide the "notification.servers" configuration, which also locks it. This is similar to other modern service/server configuration.
  - Don't follow redirects on these requests. Aphlict should never issue a "Location" header, so if we encounter one something is misconfigured. Declining to follow this header likely makes the issue easier to debug.

Test Plan:
  - Viewed configuration in web UI.
  - Configured a server that "Location: ..." redirects, got a followed redirect before and a failure afterward.

{F7365973}

Differential Revision: https://secure.phabricator.com/D21123
2020-04-15 07:00:51 -07:00
..
cluster Cleanup some clustering rough edges 2018-12-20 11:19:19 -08:00
configuration Hide "notification.servers" configuration and don't follow redirects from Aphlict 2020-04-15 07:00:51 -07:00
field Modernize user and repository "delete" workflows and improve documentation 2019-08-02 09:30:50 -07:00
userguide Document the "field present" and "field absent" operators in Ferret 2020-04-14 11:08:34 -07:00
feedback.diviner Update support documentation for modern times 2015-10-19 13:29:24 -07:00
installation_guide.diviner Issue setup guidance recommending MySQLi and MySQL Native Driver 2018-03-13 12:38:09 -07:00
introduction.diviner Reorganize Diviner articles into user/ and tech/ 2013-08-28 09:57:00 -07:00
reporting_security.diviner Update support documentation for modern times 2015-10-19 13:29:24 -07:00
support.diviner Update the "Support Resources" documentation for pacts instead of consulting 2018-03-14 08:27:11 -07:00
upgrading.diviner Change docs to be consistent with script 2019-04-10 12:38:33 -07:00