Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for HSTS on all redirects on same endpoint #193

Closed

Conversation

echudow
Copy link
Collaborator

@echudow echudow commented May 17, 2019

This is to resolve Issue #89 Factor in redirects when calculating HSTS by looking at all redirects to the same endpoint for an HSTS header, rather than only the first response and no redirects.

@echudow echudow requested review from konklone and jsf9k May 21, 2019 16:57
@jsf9k jsf9k requested a review from h-m-f-t May 21, 2019 21:12
@jsf9k
Copy link
Member

jsf9k commented May 21, 2019

@echudow, I want to get #192 merged before merging this PR. I am looking at the results of the full test run from that PR now.

Copy link
Member

@jsf9k jsf9k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see my comment/question.

pshtt/pshtt.py Outdated Show resolved Hide resolved
@echudow
Copy link
Collaborator Author

echudow commented May 28, 2019

@jsf9k, I added some code to record the HSTS URL and redirect chain so you can always see which URL the HSTS header that is being checking is coming from. In the output there are now lines that say ": Found HSTS in redirected response from ". In my tests, the code ensures that the redirected URL is on the same endpoint and I can see that in these lines in the output.

@jsf9k jsf9k self-assigned this Aug 8, 2019
@jsf9k
Copy link
Member

jsf9k commented Aug 9, 2019

This PR resolves #196.

@jsf9k jsf9k requested review from dav3r, felddy, mcdonnnj and a team August 9, 2019 16:23
jsf9k added a commit to cisagov/lambda_functions that referenced this pull request Aug 9, 2019
jsf9k added a commit to cisagov/scanner that referenced this pull request Aug 9, 2019
jsf9k added a commit to 18F/domain-scan that referenced this pull request Aug 9, 2019
jsf9k added a commit to cisagov/orchestrator that referenced this pull request Aug 9, 2019
Copy link
Member

@jsf9k jsf9k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there are still a few open questions here that need to be answered.

pshtt/pshtt.py Show resolved Hide resolved
@felddy felddy removed their request for review March 25, 2020 22:20
@jsf9k
Copy link
Member

jsf9k commented May 18, 2020

Closed due to a lack of attention.

@jsf9k jsf9k closed this May 18, 2020
@jsf9k jsf9k deleted the issue/Factor_in_redirects_when_calculating_HSTS_#89 branch January 23, 2023 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Factor in redirects when calculating HSTS
2 participants