Vulnerabilities > CVE-2007-0007 - Unspecified vulnerability in Gnucash
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN gnucash
nessus
Summary
gnucash 2.0.4 and earlier allows local users to overwrite arbitrary files via a symlink attack on the (1) gnucash.trace, (2) qof.trace, and (3) qof.trace.[PID] temporary files.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 1 |
Nessus
NASL family Fedora Local Security Checks NASL id FEDORA_2007-256.NASL description This updates GnuCash to version 2.0.5, the latest upstream release. Major changes in this release include; o Fix some strings not being translated. o Use guiles native sort and record. o Adjust how payment dialog resizes. o Don last seen 2020-06-01 modified 2020-06-02 plugin id 24728 published 2007-02-28 reporter This script is Copyright (C) 2007-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/24728 title Fedora Core 6 : gnucash-2.0.5-1.fc6 (2007-256) code #%NASL_MIN_LEVEL 80502 # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Fedora Security Advisory 2007-256. # include("compat.inc"); if (description) { script_id(24728); script_version ("1.13"); script_cvs_date("Date: 2019/08/02 13:32:25"); script_cve_id("CVE-2007-0007"); script_xref(name:"FEDORA", value:"2007-256"); script_name(english:"Fedora Core 6 : gnucash-2.0.5-1.fc6 (2007-256)"); script_summary(english:"Checks rpm output for the updated packages."); script_set_attribute( attribute:"synopsis", value:"The remote Fedora Core host is missing a security update." ); script_set_attribute( attribute:"description", value: "This updates GnuCash to version 2.0.5, the latest upstream release. Major changes in this release include; o Fix some strings not being translated. o Use guiles native sort and record. o Adjust how payment dialog resizes. o Don't abort when F::Q fails to return a quote. o Change Russian Ruble from RUR to RUB. o Fix security problem with tmp filesystem and symlink attack. (CVE-2007-0007) o Add French and Canadian French translation updates. o Do not crash on delete_event in new user dialog. o Add sanity checks when accessing GncPluginPage. o Make new windows the same size as the active one. o The New Turkish Lira changed from TRL to TRY in 2005. Thanks to Sami Farin for uncovering the /tmp file issue. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues." ); # https://lists.fedoraproject.org/pipermail/package-announce/2007-February/001514.html script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?2823b778" ); script_set_attribute( attribute:"solution", value:"Update the affected gnucash and / or gnucash-debuginfo packages." ); script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:N/C:N/I:P/A:P"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:gnucash"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:gnucash-debuginfo"); script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora_core:6"); script_set_attribute(attribute:"patch_publication_date", value:"2007/02/27"); script_set_attribute(attribute:"plugin_publication_date", value:"2007/02/28"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2007-2019 Tenable Network Security, Inc."); script_family(english:"Fedora Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/RedHat/release"); if (isnull(release) || "Fedora" >!< release) audit(AUDIT_OS_NOT, "Fedora"); os_ver = eregmatch(pattern: "Fedora.*release ([0-9]+)", string:release); if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Fedora"); os_ver = os_ver[1]; if (! ereg(pattern:"^6([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 6.x", "Fedora " + os_ver); if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item("Host/cpu"); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Fedora", cpu); flag = 0; if (rpm_check(release:"FC6", reference:"gnucash-2.0.5-1.fc6")) flag++; if (rpm_check(release:"FC6", reference:"gnucash-debuginfo-2.0.5-1.fc6")) flag++; if (flag) { if (report_verbosity > 0) security_note(port:0, extra:rpm_report_get()); else security_note(0); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "gnucash / gnucash-debuginfo"); }
NASL family Mandriva Local Security Checks NASL id MANDRAKE_MDKSA-2007-046.NASL description Gnucash 2.0.4 and earlier allows local users to overwrite arbitrary files via a symlink attack on the (1) gnucash.trace, (2) qof.trace, and (3) qof.trace.[PID] temporary files. Updated package have been patched to correct this issue. last seen 2020-06-01 modified 2020-06-02 plugin id 24688 published 2007-02-22 reporter This script is Copyright (C) 2007-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/24688 title Mandrake Linux Security Advisory : gnucash (MDKSA-2007:046) code #%NASL_MIN_LEVEL 80502 # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Mandrake Linux Security Advisory MDKSA-2007:046. # The text itself is copyright (C) Mandriva S.A. # include("compat.inc"); if (description) { script_id(24688); script_version ("1.15"); script_cvs_date("Date: 2019/08/02 13:32:49"); script_cve_id("CVE-2007-0007"); script_xref(name:"MDKSA", value:"2007:046"); script_name(english:"Mandrake Linux Security Advisory : gnucash (MDKSA-2007:046)"); script_summary(english:"Checks rpm output for the updated packages"); script_set_attribute( attribute:"synopsis", value: "The remote Mandrake Linux host is missing one or more security updates." ); script_set_attribute( attribute:"description", value: "Gnucash 2.0.4 and earlier allows local users to overwrite arbitrary files via a symlink attack on the (1) gnucash.trace, (2) qof.trace, and (3) qof.trace.[PID] temporary files. Updated package have been patched to correct this issue." ); script_set_attribute(attribute:"solution", value:"Update the affected packages."); script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:N/C:N/I:P/A:P"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:mandriva:linux:gnucash"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:mandriva:linux:gnucash-hbci"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:mandriva:linux:gnucash-ofx"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:mandriva:linux:gnucash-sql"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:mandriva:linux:lib64gnucash0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:mandriva:linux:lib64gnucash0-devel"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:mandriva:linux:libgnucash0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:mandriva:linux:libgnucash0-devel"); script_set_attribute(attribute:"cpe", value:"cpe:/o:mandriva:linux:2007"); script_set_attribute(attribute:"patch_publication_date", value:"2007/02/21"); script_set_attribute(attribute:"plugin_publication_date", value:"2007/02/22"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2007-2019 Tenable Network Security, Inc."); script_family(english:"Mandriva Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/Mandrake/release", "Host/Mandrake/rpm-list"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); if (!get_kb_item("Host/Mandrake/release")) audit(AUDIT_OS_NOT, "Mandriva / Mandake Linux"); if (!get_kb_item("Host/Mandrake/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item("Host/cpu"); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if (cpu !~ "^(amd64|i[3-6]86|x86_64)$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Mandriva / Mandrake Linux", cpu); flag = 0; if (rpm_check(release:"MDK2007.0", reference:"gnucash-2.0.1-1.1mdv2007.0", yank:"mdv")) flag++; if (rpm_check(release:"MDK2007.0", reference:"gnucash-hbci-2.0.1-1.1mdv2007.0", yank:"mdv")) flag++; if (rpm_check(release:"MDK2007.0", reference:"gnucash-ofx-2.0.1-1.1mdv2007.0", yank:"mdv")) flag++; if (rpm_check(release:"MDK2007.0", reference:"gnucash-sql-2.0.1-1.1mdv2007.0", yank:"mdv")) flag++; if (rpm_check(release:"MDK2007.0", cpu:"x86_64", reference:"lib64gnucash0-2.0.1-1.1mdv2007.0", yank:"mdv")) flag++; if (rpm_check(release:"MDK2007.0", cpu:"x86_64", reference:"lib64gnucash0-devel-2.0.1-1.1mdv2007.0", yank:"mdv")) flag++; if (rpm_check(release:"MDK2007.0", cpu:"i386", reference:"libgnucash0-2.0.1-1.1mdv2007.0", yank:"mdv")) flag++; if (rpm_check(release:"MDK2007.0", cpu:"i386", reference:"libgnucash0-devel-2.0.1-1.1mdv2007.0", yank:"mdv")) flag++; if (flag) { if (report_verbosity > 0) security_note(port:0, extra:rpm_report_get()); else security_note(0); exit(0); } else audit(AUDIT_HOST_NOT, "affected");
References
- http://fedoranews.org/cms/node/2725
- http://secunia.com/advisories/24225
- http://secunia.com/advisories/24226
- http://secunia.com/advisories/24317
- http://sourceforge.net/project/shownotes.php?group_id=192&release_id=487446
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:046
- http://www.securityfocus.com/bid/22610
- http://www.vupen.com/english/advisories/2007/0653
- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=223233
- https://exchange.xforce.ibmcloud.com/vulnerabilities/32558
- http://fedoranews.org/cms/node/2725
- https://exchange.xforce.ibmcloud.com/vulnerabilities/32558
- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=223233
- http://www.vupen.com/english/advisories/2007/0653
- http://www.securityfocus.com/bid/22610
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:046
- http://sourceforge.net/project/shownotes.php?group_id=192&release_id=487446
- http://secunia.com/advisories/24317
- http://secunia.com/advisories/24226
- http://secunia.com/advisories/24225