esearch utility creates insecure temporary files
Reporter | Title | Published | Views | Family All 6 |
---|---|---|---|---|
![]() | GLSA-200407-01 : Esearch: Insecure temp file handling | 30 Aug 200400:00 | – | nessus |
![]() | CVE-2004-0655 | 6 Aug 200404:00 | – | cve |
![]() | CVE-2004-0655 | 6 Aug 200404:00 | – | nvd |
![]() | Gentoo Security Advisory GLSA 200407-01 (esearch) | 24 Sep 200800:00 | – | openvas |
![]() | CVE-2004-0655 | 13 Jul 200404:00 | – | cvelist |
![]() | Esearch: Insecure temp file handling | 1 Jul 200400:00 | – | gentoo |
Source | Link |
---|---|
bugs | www.bugs.gentoo.org/show_bug.cgi |
securityspace | www.securityspace.com/smysecure/catid.html |
# SPDX-FileCopyrightText: 2008 E-Soft Inc.
# 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.0.54608");
script_cve_id("CVE-2004-0655");
script_tag(name:"cvss_base", value:"7.2");
script_tag(name:"cvss_base_vector", value:"AV:L/AC:L/Au:N/C:C/I:C/A:C");
script_version("2023-07-18T05:05:36+0000");
script_tag(name:"last_modification", value:"2023-07-18 05:05:36 +0000 (Tue, 18 Jul 2023)");
script_tag(name:"creation_date", value:"2008-09-24 21:14:03 +0200 (Wed, 24 Sep 2008)");
script_name("Gentoo Security Advisory GLSA 200407-01 (esearch)");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2008 E-Soft Inc.");
script_family("Gentoo Local Security Checks");
script_dependencies("gather-package-list.nasl");
script_mandatory_keys("ssh/login/gentoo", "ssh/login/pkg");
script_tag(name:"insight", value:"The eupdatedb utility in esearch creates a file in /tmp without first
checking for symlinks. This makes it possible for any user to create
arbitrary files.");
script_tag(name:"solution", value:"All users should upgrade to the latest available version of esearch, as
follows:
# emerge sync
# emerge -pv '>=app-portage/esearch-0.6.2'
# emerge '>=app-portage/esearch-0.6.2'");
script_xref(name:"URL", value:"http://www.securityspace.com/smysecure/catid.html?in=GLSA%20200407-01");
script_xref(name:"URL", value:"http://bugs.gentoo.org/show_bug.cgi?id=55424");
script_tag(name:"summary", value:"The remote host is missing updates announced in
advisory GLSA 200407-01.");
script_tag(name:"qod_type", value:"package");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("pkg-lib-gentoo.inc");
include("revisions-lib.inc");
res = "";
report = "";
report = "";
if ((res = ispkgvuln(pkg:"app-portage/esearch", unaffected: make_list("ge 0.6.2"), vulnerable: make_list("le 0.6.1"))) != NULL) {
report += res;
}
if (report != "") {
security_message(data:report);
} else if (__pkg_match) {
exit(99);
}
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