Vulnerabilities > CVE-2005-2972 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Abisource Community Abiword
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Multiple stack-based buffer overflows in the RTF import feature in AbiWord before 2.2.11 allow user-assisted attackers to execute arbitrary code via an RTF file with long identifiers, which are not properly handled in the (1) ParseLevelText, (2) getCharsInsideBrace, (3) HandleLists, (4) or (5) HandleAbiLists functions in ie_imp_RTF.cpp, a different vulnerability than CVE-2005-2964.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 1 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
- Client-side Injection-induced Buffer Overflow This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
- Filter Failure through Buffer Overflow In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
- MIME Conversion An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
Nessus
NASL family Gentoo Local Security Checks NASL id GENTOO_GLSA-200510-17.NASL description The remote host is affected by the vulnerability described in GLSA-200510-17 (AbiWord: New RTF import buffer overflows) Chris Evans discovered a different set of buffer overflows than the one described in GLSA 200509-20 in the RTF import function in AbiWord. Impact : An attacker could design a malicious RTF file and entice a user to import it in AbiWord, potentially resulting in the execution of arbitrary code with the rights of the user running AbiWord. Workaround : There is no known workaround at this time. last seen 2020-06-01 modified 2020-06-02 plugin id 20079 published 2005-10-24 reporter This script is Copyright (C) 2005-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/20079 title GLSA-200510-17 : AbiWord: New RTF import buffer overflows code #%NASL_MIN_LEVEL 80502 # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Gentoo Linux Security Advisory GLSA 200510-17. # # The advisory text is Copyright (C) 2001-2018 Gentoo Foundation, Inc. # and licensed under the Creative Commons - Attribution / Share Alike # license. See http://creativecommons.org/licenses/by-sa/3.0/ # include("compat.inc"); if (description) { script_id(20079); script_version("1.16"); script_cvs_date("Date: 2019/08/02 13:32:42"); script_cve_id("CVE-2005-2972"); script_xref(name:"GLSA", value:"200510-17"); script_name(english:"GLSA-200510-17 : AbiWord: New RTF import buffer overflows"); script_summary(english:"Checks for updated package(s) in /var/db/pkg"); script_set_attribute( attribute:"synopsis", value: "The remote Gentoo host is missing one or more security-related patches." ); script_set_attribute( attribute:"description", value: "The remote host is affected by the vulnerability described in GLSA-200510-17 (AbiWord: New RTF import buffer overflows) Chris Evans discovered a different set of buffer overflows than the one described in GLSA 200509-20 in the RTF import function in AbiWord. Impact : An attacker could design a malicious RTF file and entice a user to import it in AbiWord, potentially resulting in the execution of arbitrary code with the rights of the user running AbiWord. Workaround : There is no known workaround at this time." ); script_set_attribute( attribute:"see_also", value:"https://security.gentoo.org/glsa/200509-20" ); script_set_attribute( attribute:"see_also", value:"https://security.gentoo.org/glsa/200510-17" ); script_set_attribute( attribute:"solution", value: "All AbiWord users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose '>=app-office/abiword-2.2.11'" ); script_set_cvss_base_vector("CVSS2#AV:N/AC:H/Au:N/C:P/I:P/A:P"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:gentoo:linux:abiword"); script_set_attribute(attribute:"cpe", value:"cpe:/o:gentoo:linux"); script_set_attribute(attribute:"patch_publication_date", value:"2005/10/20"); script_set_attribute(attribute:"plugin_publication_date", value:"2005/10/24"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2005-2019 and is owned by Tenable, Inc. or an Affiliate thereof."); script_family(english:"Gentoo Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/Gentoo/release", "Host/Gentoo/qpkg-list"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("qpkg.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); if (!get_kb_item("Host/Gentoo/release")) audit(AUDIT_OS_NOT, "Gentoo"); if (!get_kb_item("Host/Gentoo/qpkg-list")) audit(AUDIT_PACKAGE_LIST_MISSING); flag = 0; if (qpkg_check(package:"app-office/abiword", unaffected:make_list("ge 2.2.11"), vulnerable:make_list("lt 2.2.11"))) flag++; if (flag) { if (report_verbosity > 0) security_warning(port:0, extra:qpkg_report_get()); else security_warning(0); exit(0); } else { tested = qpkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "AbiWord"); }
NASL family Fedora Local Security Checks NASL id FEDORA_2005-989.NASL description CVE-2005-2972 abiword multiple buffer overflows 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. last seen 2020-06-01 modified 2020-06-02 plugin id 20024 published 2005-10-19 reporter This script is Copyright (C) 2005-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/20024 title Fedora Core 3 : abiword-2.0.12-11 (2005-989) NASL family FreeBSD Local Security Checks NASL id FREEBSD_PKG_9CD52BC6A21311DAB410000E0C2E438A.NASL description Chris Evans reports that AbiWord is vulnerable to multiple stack-based buffer overflow vulnerabilities. This is caused by improper checking of the user-supplied data before it is being copied to an too small buffer. The vulnerability is triggered when someone is importing RTF files. last seen 2020-06-01 modified 2020-06-02 plugin id 21486 published 2006-05-13 reporter This script is Copyright (C) 2006-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/21486 title FreeBSD : abiword, koffice -- stack based buffer overflow vulnerabilities (9cd52bc6-a213-11da-b410-000e0c2e438a) NASL family Ubuntu Local Security Checks NASL id UBUNTU_USN-203-1.NASL description Chris Evans discovered several buffer overflows in the RTF import module of AbiWord. By tricking a user into opening an RTF file with specially crafted long identifiers, an attacker could exploit this to execute arbitrary code with the privileges of the AbiWord user. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 20619 published 2006-01-15 reporter Ubuntu Security Notice (C) 2005-2019 Canonical, Inc. / NASL script (C) 2006-2016 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/20619 title Ubuntu 4.10 / 5.04 : abiword vulnerabilities (USN-203-1) NASL family Debian Local Security Checks NASL id DEBIAN_DSA-894.NASL description Chris Evans discovered several buffer overflows in the RTF import mechanism of AbiWord, a WYSIWYG word processor based on GTK 2. Opening a specially crafted RTF file could lead to the execution of arbitrary code. last seen 2020-06-01 modified 2020-06-02 plugin id 22760 published 2006-10-14 reporter This script is Copyright (C) 2006-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/22760 title Debian DSA-894-1 : abiword - buffer overflows
References
- http://scary.beasts.org/security/CESA-2005-006.txt
- http://scary.beasts.org/security/CESA-2005-006.txt
- http://secunia.com/advisories/17199
- http://secunia.com/advisories/17199
- http://secunia.com/advisories/17200
- http://secunia.com/advisories/17200
- http://secunia.com/advisories/17213
- http://secunia.com/advisories/17213
- http://secunia.com/advisories/17264
- http://secunia.com/advisories/17264
- http://secunia.com/advisories/17551
- http://secunia.com/advisories/17551
- http://www.abisource.com/changelogs/2.2.11.phtml
- http://www.abisource.com/changelogs/2.2.11.phtml
- http://www.debian.org/security/2005/dsa-894
- http://www.debian.org/security/2005/dsa-894
- http://www.gentoo.org/security/en/glsa/glsa-200510-17.xml
- http://www.gentoo.org/security/en/glsa/glsa-200510-17.xml
- http://www.mail-archive.com/debian-bugs-rc%40lists.debian.org/msg28251.html
- http://www.mail-archive.com/debian-bugs-rc%40lists.debian.org/msg28251.html
- http://www.osvdb.org/20015
- http://www.osvdb.org/20015
- http://www.securityfocus.com/bid/15096
- http://www.securityfocus.com/bid/15096
- http://www.vupen.com/english/advisories/2005/2086
- http://www.vupen.com/english/advisories/2005/2086
- https://usn.ubuntu.com/203-1/
- https://usn.ubuntu.com/203-1/