Security Advisory for Huawei EulerOS 'curl' package(s) is missing update announced via EulerOS-SA-2023-2510 advisory. Vulnerabilities include path traversal, FTP authentication bypass, and SSH connection reuse issues
Reporter | Title | Published | Views | Family All 199 |
---|---|---|---|---|
![]() | EulerOS Virtualization 2.9.0 : curl (EulerOS-SA-2023-2523) | 31 Jul 202300:00 | – | nessus |
![]() | EulerOS 2.0 SP9 : curl (EulerOS-SA-2023-2328) | 9 Jul 202300:00 | – | nessus |
![]() | EulerOS 2.0 SP9 : curl (EulerOS-SA-2023-2308) | 9 Jul 202300:00 | – | nessus |
![]() | EulerOS Virtualization 2.9.1 : curl (EulerOS-SA-2023-2510) | 31 Jul 202300:00 | – | nessus |
![]() | Fedora 36 : curl (2023-7e7414e64d) | 9 Apr 202300:00 | – | nessus |
![]() | Photon OS 4.0: Curl PHSA-2023-4.0-0371 | 23 Jul 202400:00 | – | nessus |
![]() | SUSE SLED15 / SLES15 / openSUSE 15 Security Update : curl (SUSE-SU-2023:1582-1) | 28 Mar 202300:00 | – | nessus |
![]() | SUSE SLES12 Security Update : curl (SUSE-SU-2023:0865-1) | 22 Mar 202300:00 | – | nessus |
![]() | EulerOS 2.0 SP8 : curl (EulerOS-SA-2023-2188) | 8 Jun 202300:00 | – | nessus |
![]() | EulerOS Virtualization 3.0.6.0 : curl (EulerOS-SA-2023-2500) | 31 Jul 202300:00 | – | nessus |
Source | Link |
---|---|
developer | www.developer.huaweicloud.com/intl/en-us/euleros/securitydetail.html |
# SPDX-FileCopyrightText: 2023 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.1.2.2023.2510");
script_cve_id("CVE-2023-27534", "CVE-2023-27535", "CVE-2023-27536", "CVE-2023-27538");
script_tag(name:"creation_date", value:"2023-08-01 04:15:08 +0000 (Tue, 01 Aug 2023)");
script_version("2024-02-05T14:36:57+0000");
script_tag(name:"last_modification", value:"2024-02-05 14:36:57 +0000 (Mon, 05 Feb 2024)");
script_tag(name:"cvss_base", value:"9.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:C/I:C/A:C");
script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2023-04-07 16:23:46 +0000 (Fri, 07 Apr 2023)");
script_name("Huawei EulerOS: Security Advisory for curl (EulerOS-SA-2023-2510)");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2023 Greenbone AG");
script_family("Huawei EulerOS Local Security Checks");
script_dependencies("gb_huawei_euleros_consolidation.nasl");
script_mandatory_keys("ssh/login/euleros", "ssh/login/rpms", re:"ssh/login/release=EULEROSVIRT\-2\.9\.1");
script_xref(name:"Advisory-ID", value:"EulerOS-SA-2023-2510");
script_xref(name:"URL", value:"https://developer.huaweicloud.com/intl/en-us/euleros/securitydetail.html?secId=EulerOS-SA-2023-2510");
script_tag(name:"summary", value:"The remote host is missing an update for the Huawei EulerOS 'curl' package(s) announced via the EulerOS-SA-2023-2510 advisory.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable package version is present on the target host.");
script_tag(name:"insight", value:"A path traversal vulnerability exists in curl <8.0.0 SFTP implementation causes the tilde (~) character to be wrongly replaced when used as a prefix in the first path element, in addition to its intended use as the first element to indicate a path relative to the user's home directory. Attackers can exploit this flaw to bypass filtering or execute arbitrary code by crafting a path like /~2/foo while accessing a server with a specific user.(CVE-2023-27534)
An authentication bypass vulnerability exists in libcurl <8.0.0 in the FTP connection reuse feature that can result in wrong credentials being used during subsequent transfers. Previously created connections are kept in a connection pool for reuse if they match the current setup. However, certain FTP settings such as CURLOPT_FTP_ACCOUNT, CURLOPT_FTP_ALTERNATIVE_TO_USER, CURLOPT_FTP_SSL_CCC, and CURLOPT_USE_SSL were not included in the configuration match checks, causing them to match too easily. This could lead to libcurl using the wrong credentials when performing a transfer, potentially allowing unauthorized access to sensitive information.(CVE-2023-27535)
An authentication bypass vulnerability exists libcurl <8.0.0 in the connection reuse feature which can reuse previously established connections with incorrect user permissions due to a failure to check for changes in the CURLOPT_GSSAPI_DELEGATION option. This vulnerability affects krb5/kerberos/negotiate/GSSAPI transfers and could potentially result in unauthorized access to sensitive information. The safest option is to not reuse connections if the CURLOPT_GSSAPI_DELEGATION option has been changed.(CVE-2023-27536)
An authentication bypass vulnerability exists in libcurl prior to v8.0.0 where it reuses a previously established SSH connection despite the fact that an SSH option was modified, which should have prevented reuse. libcurl maintains a pool of previously used connections to reuse them for subsequent transfers if the configurations match. However, two SSH settings were omitted from the configuration check, allowing them to match easily, potentially leading to the reuse of an inappropriate connection.(CVE-2023-27538)");
script_tag(name:"affected", value:"'curl' package(s) on Huawei EulerOS Virtualization release 2.9.1.");
script_tag(name:"solution", value:"Please install the updated package(s).");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"package");
exit(0);
}
include("revisions-lib.inc");
include("pkg-lib-rpm.inc");
release = rpm_get_ssh_release();
if(!release)
exit(0);
res = "";
report = "";
if(release == "EULEROSVIRT-2.9.1") {
if(!isnull(res = isrpmvuln(pkg:"curl", rpm:"curl~7.69.1~2.h21.eulerosv2r9", rls:"EULEROSVIRT-2.9.1"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"libcurl", rpm:"libcurl~7.69.1~2.h21.eulerosv2r9", rls:"EULEROSVIRT-2.9.1"))) {
report += res;
}
if(report != "") {
security_message(data:report);
} else if(__pkg_match) {
exit(99);
}
exit(0);
}
exit(0);
Transform Your Security Services
Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.
Book a live demo