Lucene search

K
hackeroneBagderH1:1764858
HistoryNov 07, 2022 - 4:45 p.m.

curl: CVE-2022-43552: HTTP Proxy deny use-after-free

2022-11-0716:45:50
bagder
hackerone.com
66

5.9 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

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

2.6 Low

CVSS2

Access Vector

NETWORK

Access Complexity

HIGH

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

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

0.001 Low

EPSS

Percentile

18.0%

Issue(s) reported by Trail of Bits. This is either one or two issues.

Summary:

./src/curl 0 -x0:80 telnet:/[j-u][j-u]//0 -m 01
./src/curl 0 -x0:80 smb:/[j-u][j-u]//0 -m 01

Both command line ends up having libcurl access and use already freed heap-memory. For read and write.

Steps To Reproduce:

See above, run with valgrind for full report.

I have a local HTTP server on localhost host port 80 that will send back a 502 on the CONNECT requests curl issues to it for these protocols.

Supporting Material/References:

See logs.

Impact

Use after free stuff.

5.9 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

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

2.6 Low

CVSS2

Access Vector

NETWORK

Access Complexity

HIGH

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

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

0.001 Low

EPSS

Percentile

18.0%