Fixed: Prevent Host Header Injection (CVE-2019-12425)

(OFBIZ-11583)
This commit is contained in:
Jacques Le Roux
2020-04-04 19:32:02 +02:00
parent ba548f626e
commit e0f0d5271a
3 changed files with 26 additions and 0 deletions
@@ -152,6 +152,10 @@ security.internal.sso.enabled=false
# -- The secret key for the JWT token signature. Read Passwords and JWT (JSON Web Tokens) usage documentation to choose the way you want to store this key
security.token.key=security.token.key
# -- List of domains or IP addresses to be checked to prevent Host Header Injection,
# -- no spaces after commas,no wildcard, can be extended of course...
host-headers-allowed=localhost,127.0.0.1,demo-trunk.ofbiz.apache.org,demo-stable.ofbiz.apache.org,demo-old.ofbiz.apache.org
# -- By default the SameSite value in SameSiteFilter is strict. This allows to change it to lax if needed
SameSiteCookieAttribute=