HexBrain

curl · Report #1813864

CVE-2023-23914: curl HSTS ignored on multiple requests

Validstatus
lowseverity
6upvotes
15 Feb 2023disclosed

How it was found

Summary:

curl tool HSTS doesn't work correctly when performing multiple requests within a single invocation.

Steps To Reproduce:

  1. curl --hsts "" https://hsts.example.com http://hsts.example.com

The second request will be performed over HTTP regardless if correct HSTS header is returned by the first request.

Impact

Request performed over insecure channels unexpectedly and loss of confidentiality and integrity.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original