Lucene search

K
hackeroneNyymiH1:1813864
HistoryDec 21, 2022 - 9:59 a.m.

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

2022-12-2109:59:15
nyymi
hackerone.com
54

9.1 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

6.4 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:P/A:N

0.001 Low

EPSS

Percentile

27.9%

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.

9.1 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

6.4 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:P/A:N

0.001 Low

EPSS

Percentile

27.9%