Lucene search
K

Mandriva Update for gnucash MDVSA-2010:241 (gnucash)

🗓️ 02 Dec 2010 00:00:00Reported by Copyright (c) 2010 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 19 Views

Mandriva Update for gnucash MDVSA-2010:241 (gnucash). A vulnerability was discovered and corrected in gnucash related to gnc-test-env placing a zero-length directory name in the LD_LIBRARY_PATH, allowing local users to gain privileges via a Trojan horse shared library. Affected versions: 2010.0, 2010.1

Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2010-3999
5 Nov 201016:28
cve
Cvelist
CVE-2010-3999
5 Nov 201016:28
cvelist
Debian CVE
CVE-2010-3999
5 Nov 201016:28
debiancve
EUVD
EUVD-2010-3975
7 Oct 202500:30
euvd
Fedora
[SECURITY] Fedora 12 Update: gnucash-2.2.9-5.fc12
30 Oct 201023:44
fedora
Fedora
[SECURITY] Fedora 14 Update: gnucash-2.3.15-2.fc14
4 Nov 201023:29
fedora
Fedora
[SECURITY] Fedora 13 Update: gnucash-2.3.15-2.fc13
30 Oct 201023:48
fedora
Tenable Nessus
Fedora 13 : gnucash-2.3.15-2.fc13 (2010-16605)
1 Nov 201000:00
nessus
Tenable Nessus
Fedora 12 : gnucash-2.2.9-5.fc12 (2010-16622)
1 Nov 201000:00
nessus
Tenable Nessus
Fedora 14 : gnucash-2.3.15-2.fc14 (2010-16762)
5 Nov 201000:00
nessus
Rows per page
###############################################################################
# OpenVAS Vulnerability Test
#
# Mandriva Update for gnucash MDVSA-2010:241 (gnucash)
#
# Authors:
# System Generated Check
#
# Copyright:
# Copyright (c) 2010 Greenbone Networks GmbH, http://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################

include("revisions-lib.inc");
tag_insight = "A vulnerability was discovered and corrected in gnucash:

  gnc-test-env in GnuCash 2.3.15 and earlier places a zero-length
  directory name in the LD_LIBRARY_PATH, which allows local users to
  gain privileges via a Trojan horse shared library in the current
  working directory (CVE-2010-3999).
  
  The affected /usr/bin/gnc-test-env file has been removed to mitigate
  the CVE-2010-3999 vulnerability as gnc-test-env is only used for
  tests and while building gnucash.
  
  Additionally for Mandriva 2010.1 gnucash-2.2.9 was not compatible
  with guile. This update adapts gnucash to the new API of guile.";
tag_solution = "Please Install the Updated Packages.";

tag_affected = "gnucash on Mandriva Linux 2010.0,
  Mandriva Linux 2010.0/X86_64,
  Mandriva Linux 2010.1,
  Mandriva Linux 2010.1/X86_64";


if(description)
{
  script_xref(name : "URL" , value : "http://lists.mandriva.com/security-announce/2010-11/msg00040.php");
  script_id(831264);
  script_version("$Revision: 8245 $");
  script_tag(name:"last_modification", value:"$Date: 2017-12-26 07:29:59 +0100 (Tue, 26 Dec 2017) $");
  script_tag(name:"creation_date", value:"2010-12-02 08:39:14 +0100 (Thu, 02 Dec 2010)");
  script_tag(name:"cvss_base", value:"6.9");
  script_tag(name:"cvss_base_vector", value:"AV:L/AC:M/Au:N/C:C/I:C/A:C");
  script_xref(name: "MDVSA", value: "2010:241");
  script_cve_id("CVE-2010-3999");
  script_name("Mandriva Update for gnucash MDVSA-2010:241 (gnucash)");

  script_tag(name: "summary" , value: "Check for the Version of gnucash");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (c) 2010 Greenbone Networks GmbH");
  script_family("Mandrake Local Security Checks");
  script_dependencies("gather-package-list.nasl");
  script_mandatory_keys("ssh/login/mandriva_mandrake_linux", "ssh/login/release");
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name:"qod_type", value:"package");
  script_tag(name:"solution_type", value:"VendorFix");
  exit(0);
}


include("pkg-lib-rpm.inc");

release = get_kb_item("ssh/login/release");


res = "";
if(release == NULL){
  exit(0);
}

if(release == "MNDK_2010.1")
{

  if ((res = isrpmvuln(pkg:"gnucash", rpm:"gnucash~2.2.9~8.1mdv2010.1", rls:"MNDK_2010.1")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if ((res = isrpmvuln(pkg:"gnucash-hbci", rpm:"gnucash-hbci~2.2.9~8.1mdv2010.1", rls:"MNDK_2010.1")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if ((res = isrpmvuln(pkg:"gnucash-ofx", rpm:"gnucash-ofx~2.2.9~8.1mdv2010.1", rls:"MNDK_2010.1")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if ((res = isrpmvuln(pkg:"gnucash-sql", rpm:"gnucash-sql~2.2.9~8.1mdv2010.1", rls:"MNDK_2010.1")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if ((res = isrpmvuln(pkg:"libgnucash0", rpm:"libgnucash0~2.2.9~8.1mdv2010.1", rls:"MNDK_2010.1")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if ((res = isrpmvuln(pkg:"libgnucash-devel", rpm:"libgnucash-devel~2.2.9~8.1mdv2010.1", rls:"MNDK_2010.1")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if ((res = isrpmvuln(pkg:"lib64gnucash0", rpm:"lib64gnucash0~2.2.9~8.1mdv2010.1", rls:"MNDK_2010.1")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if ((res = isrpmvuln(pkg:"lib64gnucash-devel", rpm:"lib64gnucash-devel~2.2.9~8.1mdv2010.1", rls:"MNDK_2010.1")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if (__pkg_match) exit(99); # Not vulnerable.
  exit(0);
}


if(release == "MNDK_2010.0")
{

  if ((res = isrpmvuln(pkg:"gnucash", rpm:"gnucash~2.2.9~4.1mdv2010.0", rls:"MNDK_2010.0")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if ((res = isrpmvuln(pkg:"gnucash-hbci", rpm:"gnucash-hbci~2.2.9~4.1mdv2010.0", rls:"MNDK_2010.0")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if ((res = isrpmvuln(pkg:"gnucash-ofx", rpm:"gnucash-ofx~2.2.9~4.1mdv2010.0", rls:"MNDK_2010.0")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if ((res = isrpmvuln(pkg:"gnucash-sql", rpm:"gnucash-sql~2.2.9~4.1mdv2010.0", rls:"MNDK_2010.0")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if ((res = isrpmvuln(pkg:"libgnucash0", rpm:"libgnucash0~2.2.9~4.1mdv2010.0", rls:"MNDK_2010.0")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if ((res = isrpmvuln(pkg:"libgnucash-devel", rpm:"libgnucash-devel~2.2.9~4.1mdv2010.0", rls:"MNDK_2010.0")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if ((res = isrpmvuln(pkg:"lib64gnucash0", rpm:"lib64gnucash0~2.2.9~4.1mdv2010.0", rls:"MNDK_2010.0")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if ((res = isrpmvuln(pkg:"lib64gnucash-devel", rpm:"lib64gnucash-devel~2.2.9~4.1mdv2010.0", rls:"MNDK_2010.0")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if (__pkg_match) exit(99); # Not vulnerable.
  exit(0);
}

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation