Curl 7.46.0 <= 8.4.0 Information Disclosure (CVE-2023-46218)

medium Nessus Plugin ID 187725

Synopsis

The remote host has a program that is affected by an information disclosure vulnerability.

Description

The version of Curl installed on the remote host is between 7.46.0 and 8.4.0. It is, therefore, affected by an information disclosure vulnerability. A mixed case flaw in Curl's function that verifies a given cookie domain against the Public Suffix List (PSL) allows a malicious HTTP server to set 'super cookies' in Curl, that are then passed back to more origins than what is otherwise allowed or possible. For example a cookie could be set with `domain=co.UK` when the URL used a lower case hostname `curl.co.uk`, even though `co.uk` is listed as a PSL domain.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade Curl to version 8.5.0 or later

See Also

https://curl.se/docs/CVE-2023-46218.html

Plugin Details

Severity: Medium

ID: 187725

File Name: curl_CVE-2023-46218.nasl

Version: 1.3

Type: local

Agent: windows, macosx, unix

Family: Misc.

Published: 1/9/2024

Updated: 4/19/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.3

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2023-46218

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:haxx:curl

Required KB Items: installed_sw/Curl

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/6/2023

Vulnerability Publication Date: 12/6/2023

Reference Information

CVE: CVE-2023-46218