Vulnerabilities > CVE-2008-1694 - Link Following vulnerability in GNU Emacs and Sccs

047910
CVSS 4.6 - MEDIUM
Attack vector
LOCAL
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
PARTIAL
Availability impact
PARTIAL
local
low complexity
gnu
CWE-59
nessus

Summary

vcdiff in Emacs 20.7 to 22.1.50, when used with SCCS, allows local users to overwrite arbitrary files via a symlink attack on temporary files.

Vulnerable Configurations

Part Description Count
Application
Gnu
6

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Symlink Attack
    An attacker positions a symbolic link in such a manner that the targeted user or application accesses the link's endpoint, assuming that it is accessing a file with the link's name. The endpoint file may be either output or input. If the file is output, the result is that the endpoint is modified, instead of a file at the intended location. Modifications to the endpoint file may include appending, overwriting, corrupting, changing permissions, or other modifications. In some variants of this attack the attacker may be able to control the change to a file while in other cases they cannot. The former is especially damaging since the attacker may be able to grant themselves increased privileges or insert false information, but the latter can also be damaging as it can expose sensitive information or corrupt or destroy vital system or application files. Alternatively, the endpoint file may serve as input to the targeted application. This can be used to feed malformed input into the target or to cause the target to process different information, possibly allowing the attacker to control the actions of the target or to cause the target to expose information to the attacker. Moreover, the actions taken on the endpoint file are undertaken with the permissions of the targeted user or application, which may exceed the permissions that the attacker would normally have.
  • Accessing, Modifying or Executing Executable Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Manipulating Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.

Nessus

  • NASL familyUbuntu Local Security Checks
    NASL idUBUNTU_USN-607-1.NASL
    descriptionIt was discovered that Emacs did not account for precision when formatting integers. If a user were tricked into opening a specially crafted file, an attacker could cause a denial of service or possibly other unspecified actions. This issue does not affect Ubuntu 8.04. (CVE-2007-6109) Steve Grubb discovered that the vcdiff script as included in Emacs created temporary files in an insecure way when used with SCCS. Local users could exploit a race condition to create or overwrite files with the privileges of the user invoking the program. (CVE-2008-1694). 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 seen2020-06-01
    modified2020-06-02
    plugin id32187
    published2008-05-09
    reporterUbuntu Security Notice (C) 2008-2019 Canonical, Inc. / NASL script (C) 2018 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/32187
    titleUbuntu 6.06 LTS / 7.04 / 7.10 / 8.04 LTS : emacs21, emacs22 vulnerabilities (USN-607-1)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from Ubuntu Security Notice USN-607-1. The text 
    # itself is copyright (C) Canonical, Inc. See 
    # <http://www.ubuntu.com/usn/>. Ubuntu(R) is a registered 
    # trademark of Canonical, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(32187);
      script_version("1.15");
      script_cvs_date("Date: 2019/08/02 13:33:02");
    
      script_cve_id("CVE-2007-6109", "CVE-2008-1694");
      script_xref(name:"USN", value:"607-1");
    
      script_name(english:"Ubuntu 6.06 LTS / 7.04 / 7.10 / 8.04 LTS : emacs21, emacs22 vulnerabilities (USN-607-1)");
      script_summary(english:"Checks dpkg output for updated packages.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:
    "The remote Ubuntu host is missing one or more security-related
    patches."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "It was discovered that Emacs did not account for precision when
    formatting integers. If a user were tricked into opening a specially
    crafted file, an attacker could cause a denial of service or possibly
    other unspecified actions. This issue does not affect Ubuntu 8.04.
    (CVE-2007-6109)
    
    Steve Grubb discovered that the vcdiff script as included in Emacs
    created temporary files in an insecure way when used with SCCS. Local
    users could exploit a race condition to create or overwrite files with
    the privileges of the user invoking the program. (CVE-2008-1694).
    
    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."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://usn.ubuntu.com/607-1/"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
      script_cwe_id(59, 119);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:emacs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:emacs-el");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:emacs-nox");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:emacs21");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:emacs21-bin-common");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:emacs21-common");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:emacs21-el");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:emacs21-nox");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:emacs22");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:emacs22-bin-common");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:emacs22-common");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:emacs22-el");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:emacs22-gtk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:emacs22-nox");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:6.06:-:lts");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:7.04");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:7.10");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:8.04:-:lts");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2008/05/06");
      script_set_attribute(attribute:"plugin_publication_date", value:"2008/05/09");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"Ubuntu Security Notice (C) 2008-2019 Canonical, Inc. / NASL script (C) 2018 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Ubuntu Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/cpu", "Host/Ubuntu", "Host/Ubuntu/release", "Host/Debian/dpkg-l");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("ubuntu.inc");
    include("misc_func.inc");
    
    if ( ! get_kb_item("Host/local_checks_enabled") ) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/Ubuntu/release");
    if ( isnull(release) ) audit(AUDIT_OS_NOT, "Ubuntu");
    release = chomp(release);
    if (! ereg(pattern:"^(6\.06|7\.04|7\.10|8\.04)$", string:release)) audit(AUDIT_OS_NOT, "Ubuntu 6.06 / 7.04 / 7.10 / 8.04", "Ubuntu " + release);
    if ( ! get_kb_item("Host/Debian/dpkg-l") ) 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, "Ubuntu", cpu);
    
    flag = 0;
    
    if (ubuntu_check(osver:"6.06", pkgname:"emacs21", pkgver:"21.4a-3ubuntu2.2")) flag++;
    if (ubuntu_check(osver:"6.06", pkgname:"emacs21-bin-common", pkgver:"21.4a-3ubuntu2.2")) flag++;
    if (ubuntu_check(osver:"6.06", pkgname:"emacs21-common", pkgver:"21.4a-3ubuntu2.2")) flag++;
    if (ubuntu_check(osver:"6.06", pkgname:"emacs21-el", pkgver:"21.4a-3ubuntu2.2")) flag++;
    if (ubuntu_check(osver:"6.06", pkgname:"emacs21-nox", pkgver:"21.4a-3ubuntu2.2")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"emacs", pkgver:"21.4a+1-2ubuntu1.2")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"emacs-el", pkgver:"21.4a+1-2ubuntu1.2")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"emacs-nox", pkgver:"21.4a+1-2ubuntu1.2")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"emacs21", pkgver:"21.4a+1-2ubuntu1.2")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"emacs21-bin-common", pkgver:"21.4a+1-2ubuntu1.2")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"emacs21-common", pkgver:"21.4a+1-2ubuntu1.2")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"emacs21-el", pkgver:"21.4a+1-2ubuntu1.2")) flag++;
    if (ubuntu_check(osver:"7.04", pkgname:"emacs21-nox", pkgver:"21.4a+1-2ubuntu1.2")) flag++;
    if (ubuntu_check(osver:"7.10", pkgname:"emacs", pkgver:"22.1-0ubuntu5.2")) flag++;
    if (ubuntu_check(osver:"7.10", pkgname:"emacs-el", pkgver:"21.4a+1-5ubuntu4.1")) flag++;
    if (ubuntu_check(osver:"7.10", pkgname:"emacs-nox", pkgver:"21.4a+1-5ubuntu4.1")) flag++;
    if (ubuntu_check(osver:"7.10", pkgname:"emacs21", pkgver:"21.4a+1-5ubuntu4.1")) flag++;
    if (ubuntu_check(osver:"7.10", pkgname:"emacs21-bin-common", pkgver:"21.4a+1-5ubuntu4.1")) flag++;
    if (ubuntu_check(osver:"7.10", pkgname:"emacs21-common", pkgver:"21.4a+1-5ubuntu4.1")) flag++;
    if (ubuntu_check(osver:"7.10", pkgname:"emacs21-el", pkgver:"21.4a+1-5ubuntu4.1")) flag++;
    if (ubuntu_check(osver:"7.10", pkgname:"emacs21-nox", pkgver:"21.4a+1-5ubuntu4.1")) flag++;
    if (ubuntu_check(osver:"7.10", pkgname:"emacs22", pkgver:"22.1-0ubuntu5.2")) flag++;
    if (ubuntu_check(osver:"7.10", pkgname:"emacs22-bin-common", pkgver:"22.1-0ubuntu5.2")) flag++;
    if (ubuntu_check(osver:"7.10", pkgname:"emacs22-common", pkgver:"22.1-0ubuntu5.2")) flag++;
    if (ubuntu_check(osver:"7.10", pkgname:"emacs22-el", pkgver:"22.1-0ubuntu5.2")) flag++;
    if (ubuntu_check(osver:"7.10", pkgname:"emacs22-gtk", pkgver:"22.1-0ubuntu5.2")) flag++;
    if (ubuntu_check(osver:"7.10", pkgname:"emacs22-nox", pkgver:"22.1-0ubuntu5.2")) flag++;
    if (ubuntu_check(osver:"8.04", pkgname:"emacs", pkgver:"22.1-0ubuntu10.1")) flag++;
    if (ubuntu_check(osver:"8.04", pkgname:"emacs21", pkgver:"21.4a+1-5.3ubuntu1.1")) flag++;
    if (ubuntu_check(osver:"8.04", pkgname:"emacs21-bin-common", pkgver:"21.4a+1-5.3ubuntu1.1")) flag++;
    if (ubuntu_check(osver:"8.04", pkgname:"emacs21-common", pkgver:"21.4a+1-5.3ubuntu1.1")) flag++;
    if (ubuntu_check(osver:"8.04", pkgname:"emacs21-el", pkgver:"21.4a+1-5.3ubuntu1.1")) flag++;
    if (ubuntu_check(osver:"8.04", pkgname:"emacs21-nox", pkgver:"21.4a+1-5.3ubuntu1.1")) flag++;
    if (ubuntu_check(osver:"8.04", pkgname:"emacs22", pkgver:"22.1-0ubuntu10.1")) flag++;
    if (ubuntu_check(osver:"8.04", pkgname:"emacs22-bin-common", pkgver:"22.1-0ubuntu10.1")) flag++;
    if (ubuntu_check(osver:"8.04", pkgname:"emacs22-common", pkgver:"22.1-0ubuntu10.1")) flag++;
    if (ubuntu_check(osver:"8.04", pkgname:"emacs22-el", pkgver:"22.1-0ubuntu10.1")) flag++;
    if (ubuntu_check(osver:"8.04", pkgname:"emacs22-gtk", pkgver:"22.1-0ubuntu10.1")) flag++;
    if (ubuntu_check(osver:"8.04", pkgname:"emacs22-nox", pkgver:"22.1-0ubuntu10.1")) flag++;
    
    if (flag)
    {
      security_report_v4(
        port       : 0,
        severity   : SECURITY_HOLE,
        extra      : ubuntu_report_get()
      );
      exit(0);
    }
    else
    {
      tested = ubuntu_pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "emacs / emacs-el / emacs-nox / emacs21 / emacs21-bin-common / etc");
    }
    
  • NASL familyMandriva Local Security Checks
    NASL idMANDRIVA_MDVSA-2008-096.NASL
    descriptionSteve Grubb found that the vcdiff script in Emacs create temporary files insecurely when used with SCCS. A local user could exploit a race condition to create or overwrite files with the privileges of the user invoking the program (CVE-2008-1694). The updated packages have been patched to correct this issue.
    last seen2020-06-01
    modified2020-06-02
    plugin id36539
    published2009-04-23
    reporterThis script is Copyright (C) 2009-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/36539
    titleMandriva Linux Security Advisory : emacs (MDVSA-2008:096)
    code
    #%NASL_MIN_LEVEL 80502
    
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Mandriva Linux Security Advisory MDVSA-2008:096. 
    # The text itself is copyright (C) Mandriva S.A.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(36539);
      script_version ("1.12");
      script_cvs_date("Date: 2019/08/02 13:32:50");
    
      script_cve_id("CVE-2008-1694");
      script_xref(name:"MDVSA", value:"2008:096");
    
      script_name(english:"Mandriva Linux Security Advisory : emacs (MDVSA-2008:096)");
      script_summary(english:"Checks rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:
    "The remote Mandriva Linux host is missing one or more security
    updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Steve Grubb found that the vcdiff script in Emacs create temporary
    files insecurely when used with SCCS. A local user could exploit a
    race condition to create or overwrite files with the privileges of the
    user invoking the program (CVE-2008-1694).
    
    The updated packages 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:P/I:P/A:P");
      script_cwe_id(59);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:mandriva:linux:emacs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:mandriva:linux:emacs-X11");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:mandriva:linux:emacs-common");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:mandriva:linux:emacs-doc");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:mandriva:linux:emacs-el");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:mandriva:linux:emacs-gtk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:mandriva:linux:emacs-leim");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:mandriva:linux:emacs-nox");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:mandriva:linux:2007.1");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:mandriva:linux:2008.0");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:mandriva:linux:2008.1");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2008/05/06");
      script_set_attribute(attribute:"plugin_publication_date", value:"2009/04/23");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2009-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.1", reference:"emacs-21.4-26.3mdv2007.1", yank:"mdv")) flag++;
    if (rpm_check(release:"MDK2007.1", reference:"emacs-X11-21.4-26.3mdv2007.1", yank:"mdv")) flag++;
    if (rpm_check(release:"MDK2007.1", reference:"emacs-doc-21.4-26.3mdv2007.1", yank:"mdv")) flag++;
    if (rpm_check(release:"MDK2007.1", reference:"emacs-el-21.4-26.3mdv2007.1", yank:"mdv")) flag++;
    if (rpm_check(release:"MDK2007.1", reference:"emacs-leim-21.4-26.3mdv2007.1", yank:"mdv")) flag++;
    if (rpm_check(release:"MDK2007.1", reference:"emacs-nox-21.4-26.3mdv2007.1", yank:"mdv")) flag++;
    
    if (rpm_check(release:"MDK2008.0", reference:"emacs-22.1-5.2mdv2008.0", yank:"mdv")) flag++;
    if (rpm_check(release:"MDK2008.0", reference:"emacs-common-22.1-5.2mdv2008.0", yank:"mdv")) flag++;
    if (rpm_check(release:"MDK2008.0", reference:"emacs-doc-22.1-5.2mdv2008.0", yank:"mdv")) flag++;
    if (rpm_check(release:"MDK2008.0", reference:"emacs-el-22.1-5.2mdv2008.0", yank:"mdv")) flag++;
    if (rpm_check(release:"MDK2008.0", reference:"emacs-gtk-22.1-5.2mdv2008.0", yank:"mdv")) flag++;
    if (rpm_check(release:"MDK2008.0", reference:"emacs-leim-22.1-5.2mdv2008.0", yank:"mdv")) flag++;
    if (rpm_check(release:"MDK2008.0", reference:"emacs-nox-22.1-5.2mdv2008.0", yank:"mdv")) flag++;
    
    if (rpm_check(release:"MDK2008.1", reference:"emacs-22.1-7.1mdv2008.1", yank:"mdv")) flag++;
    if (rpm_check(release:"MDK2008.1", reference:"emacs-common-22.1-7.1mdv2008.1", yank:"mdv")) flag++;
    if (rpm_check(release:"MDK2008.1", reference:"emacs-doc-22.1-7.1mdv2008.1", yank:"mdv")) flag++;
    if (rpm_check(release:"MDK2008.1", reference:"emacs-el-22.1-7.1mdv2008.1", yank:"mdv")) flag++;
    if (rpm_check(release:"MDK2008.1", reference:"emacs-gtk-22.1-7.1mdv2008.1", yank:"mdv")) flag++;
    if (rpm_check(release:"MDK2008.1", reference:"emacs-leim-22.1-7.1mdv2008.1", yank:"mdv")) flag++;
    if (rpm_check(release:"MDK2008.1", reference:"emacs-nox-22.1-7.1mdv2008.1", yank:"mdv")) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());
      else security_warning(0);
      exit(0);
    }
    else audit(AUDIT_HOST_NOT, "affected");
    

Seebug

bulletinFamilyexploit
descriptionBUGTRAQ ID: 28857 CVE(CAN) ID: CVE-2008-1694 Emacs是一个可扩展的实时显示编辑器。 Emacs的vcdiff工具(lib-src/vcdiff)以不安全的方式使用临时文件,这允许本地攻击者通过符号链接攻击以运行vcdiff用户的权限写入任意文件。 GNU Emacs 20.7 - 22.1.50 GNU --- 目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载: <a href=http://cvs.savannah.gnu.org/viewvc/emacs/emacs/lib-src/vcdiff?view=log target=_blank>http://cvs.savannah.gnu.org/viewvc/emacs/emacs/lib-src/vcdiff?view=log</a>
idSSV:3206
last seen2017-11-19
modified2008-04-23
published2008-04-23
reporterRoot
titleGNU Emacs创建不安全临时文件漏洞

Statements

contributorJoshua Bressers
lastmodified2008-05-01
organizationRed Hat
statementRed Hat is aware of this issue and is tracking it via the following bug: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=CVE-2008-1694 The Red Hat Security Response Team has rated this issue as having low security impact, a future update may address this flaw. More information regarding issue severity can be found here: http://www.redhat.com/security/updates/classification/