HSTS Preloading Should Be Opt-In
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- nginx, php, wordpress
- Lĩnh vực
- infrastructure, security
Hướng nghiên cứu
Bắt đầu bằng cách kiểm tra /etc/nginx/conf.d/spec-settings.conf trong container WordPress và so sánh chỉ thị Strict-Transport-Security của nó với hướng dẫn trên hstspreload.org. Xem lại workaround được ghi lại trong /home/dev/startup.sh. Được xem là hoàn tất khi việc preload HSTS và phạm vi áp dụng cho các subdomain không còn được bật ngoài dự kiến, đồng thời opt-in bắt buộc hoặc tài liệu được làm rõ.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hey there 👋,
per the hstspreload.org site:
If you maintain a project that provides HTTPS configuration advice or provides an option to enable HSTS, do not include the preload directive by default. We get regular emails from site operators who tried out HSTS this way, only to find themselves on the preload list by the time they find they need to remove HSTS to access certain subdomains. Removal tends to be slow and painful for those sites.
Projects that support or advise about HSTS and HSTS preloading should ensure that site operators understand the long-term consequences of preloading before they turn it on for a given domain. They should also be informed that they need to meet additional requirements and submit their site to hstspreload.org to ensure that it is successfully preloaded (i.e. to get the full protection of the intended configuration).
The WordPress container image used by the 'WordPress on App Service' marketplace item does currently enable HSTS by default. If someone doesn't notice this, they can get really caught of guard, since now their domain and (internal) subdomains require https which browsers will remember for 1 year.
Enabling HSTS by default is maybe okay, but I don't think it should include subdomains and enable preloading, since that can have a huge impact.
$ docker run --rm --entrypoint /bin/sh mcr.microsoft.com/appsvc/wordpress-alpine-php -c 'grep -i strict-transport-security /etc/nginx/co
nf.d/spec-settings.conf'
add_header Strict-Transport-Security 'max-age=31536000; includeSubDomains; preload';
At the very least this should be documented somewhere and preferably, as the hstspreload site suggests, it should be opt-in.
We noticed this thankfully at our company, and added this command to our /home/dev/startup.sh script:
sed -i '
/Strict-Transport-Security/d
' /etc/nginx/conf.d/spec-settings.conf
- Ngôn ngữ chính
- HCL
- Star
- 139
- Fork
- 84
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Azure/wordpress-linux-appservice
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 68/100
Azure/wordpress-linux-appservice#220 · 1 bình luận · 1 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
ACS Email retirement (30 Sep 2028) – recommended email solution for WordPress on App Service?Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
-
Vulnerable PHP Minor VersionsĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
Azure/wordpress-linux-appservice#223 · 7 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
Tất cả issue của Azure/wordpress-linux-appservice
Issue tương tự
-
Git for Windows shouldn't be locked on their `.windows.1` versionsCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởgit windows
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
jenkins-infra/packer-images#3179 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
s3s-project/s3s#1009 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
MISP/misp-workbench#496 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
praetorianer777/Dynamo#53 ·
Maintainer thường phản hồi trong vòng 1 ngày