Vulnerabilities > CVE-2010-4337 - Link Following vulnerability in GNU Gnash 0.8.8

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

Summary

The configure script in gnash 0.8.8 allows local users to overwrite arbitrary files via a symlink attack on the (1) /tmp/gnash-configure-errors.$$, (2) /tmp/gnash-configure-warnings.$$, or (3) /tmp/gnash-configure-recommended.$$ files.

Vulnerable Configurations

Part Description Count
Application
Gnu
1

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 familyFedora Local Security Checks
    NASL idFEDORA_2011-3261.NASL
    description - Bug #669851 - CVE-2010-4337 gnash: symlink attack via configure script 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 seen2020-06-01
    modified2020-06-02
    plugin id52706
    published2011-03-18
    reporterThis script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/52706
    titleFedora 15 : gnash-0.8.9-0.1.20110312git.fc15 (2011-3261)
    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 2011-3261.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(52706);
      script_version("1.12");
      script_cvs_date("Date: 2019/08/02 13:32:35");
    
      script_cve_id("CVE-2010-4337");
      script_bugtraq_id(45102);
      script_xref(name:"FEDORA", value:"2011-3261");
    
      script_name(english:"Fedora 15 : gnash-0.8.9-0.1.20110312git.fc15 (2011-3261)");
      script_summary(english:"Checks rpm output for the updated package.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Fedora host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "  - Bug #669851 - CVE-2010-4337 gnash: symlink attack via
        configure script
    
    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."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.redhat.com/show_bug.cgi?id=669851"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2011-March/056169.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?3243b078"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected gnash package.");
      script_set_cvss_base_vector("CVSS2#AV:L/AC:M/Au:N/C:N/I:P/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:ND");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"false");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:gnash");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:15");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2011/03/14");
      script_set_attribute(attribute:"plugin_publication_date", value:"2011/03/18");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      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:"^15([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 15.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:"FC15", reference:"gnash-0.8.9-0.1.20110312git.fc15")) 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, "gnash");
    }
    
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2011-3658.NASL
    description---------------------------------------------------------------------- ---------- ChangeLog : - Fri Mar 18 2011 Hicham HAOUARI <hicham.haouari at gmail.com> - 1:0.8.9-1 - Update to 0.8.9 final - Sat Mar 12 2011 Hicham HAOUARI <hicham.haouari at gmail.com> - 1:0.8.9-0.1.20110312git - Switch to 0.8.9 branch - Spec cleanup - Add extensions - Enable testsuite - Tue Feb 8 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:0.8.8-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 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 seen2020-06-01
    modified2020-06-02
    plugin id52999
    published2011-03-28
    reporterThis script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/52999
    titleFedora 14 : gnash-0.8.9-1.fc14 (2011-3658)
    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 2011-3658.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(52999);
      script_version("1.12");
      script_cvs_date("Date: 2019/08/02 13:32:35");
    
      script_cve_id("CVE-2010-4337");
      script_bugtraq_id(45102);
      script_xref(name:"FEDORA", value:"2011-3658");
    
      script_name(english:"Fedora 14 : gnash-0.8.9-1.fc14 (2011-3658)");
      script_summary(english:"Checks rpm output for the updated package.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Fedora host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "----------------------------------------------------------------------
    ---------- ChangeLog :
    
      - Fri Mar 18 2011 Hicham HAOUARI <hicham.haouari at
        gmail.com> - 1:0.8.9-1
    
        - Update to 0.8.9 final
    
        - Sat Mar 12 2011 Hicham HAOUARI <hicham.haouari at
          gmail.com> - 1:0.8.9-0.1.20110312git
    
        - Switch to 0.8.9 branch
    
        - Spec cleanup
    
        - Add extensions
    
        - Enable testsuite
    
        - Tue Feb 8 2011 Fedora Release Engineering <rel-eng at
          lists.fedoraproject.org> - 1:0.8.8-5
    
        - Rebuilt for
          https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
    
    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."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.redhat.com/show_bug.cgi?id=669851"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2011-March/056780.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?7c6496ba"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected gnash package.");
      script_set_cvss_base_vector("CVSS2#AV:L/AC:M/Au:N/C:N/I:P/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"false");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:gnash");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:14");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2011/03/19");
      script_set_attribute(attribute:"plugin_publication_date", value:"2011/03/28");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      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:"^14([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 14.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:"FC14", reference:"gnash-0.8.9-1.fc14")) 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, "gnash");
    }
    
  • NASL familyDebian Local Security Checks
    NASL idDEBIAN_DSA-2435.NASL
    descriptionSeveral vulnerabilities have been identified in Gnash, the GNU Flash player. - CVE-2012-1175 Tielei Wang from Georgia Tech Information Security Center discovered a vulnerability in GNU Gnash which is caused due to an integer overflow error and can be exploited to cause a heap-based buffer overflow by tricking a user into opening a specially crafted SWF file. - CVE-2011-4328 Alexander Kurtz discovered an unsafe management of HTTP cookies. Cookie files are stored under /tmp and have predictable names, and the vulnerability allows a local attacker to overwrite arbitrary files the users has write permissions for, and are also world-readable which may cause information leak. - CVE-2010-4337 Jakub Wilk discovered an unsafe management of temporary files during the build process. Files are stored under /tmp and have predictable names, and the vulnerability allows a local attacker to overwrite arbitrary files the users has write permissions for.
    last seen2020-03-17
    modified2012-03-20
    plugin id58392
    published2012-03-20
    reporterThis script is Copyright (C) 2012-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/58392
    titleDebian DSA-2435-1 : gnash - several vulnerabilities
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Debian Security Advisory DSA-2435. The text 
    # itself is copyright (C) Software in the Public Interest, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(58392);
      script_version("1.12");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/03/12");
    
      script_cve_id("CVE-2010-4337", "CVE-2011-4328", "CVE-2012-1175");
      script_bugtraq_id(45102, 50747, 52446);
      script_xref(name:"DSA", value:"2435");
    
      script_name(english:"Debian DSA-2435-1 : gnash - several vulnerabilities");
      script_summary(english:"Checks dpkg output for the updated package");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Debian host is missing a security-related update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Several vulnerabilities have been identified in Gnash, the GNU Flash
    player.
    
      - CVE-2012-1175
        Tielei Wang from Georgia Tech Information Security
        Center discovered a vulnerability in GNU Gnash which is
        caused due to an integer overflow error and can be
        exploited to cause a heap-based buffer overflow by
        tricking a user into opening a specially crafted SWF
        file.
    
      - CVE-2011-4328
        Alexander Kurtz discovered an unsafe management of HTTP
        cookies. Cookie files are stored under /tmp and have
        predictable names, and the vulnerability allows a local
        attacker to overwrite arbitrary files the users has
        write permissions for, and are also world-readable which
        may cause information leak.
    
      - CVE-2010-4337
        Jakub Wilk discovered an unsafe management of temporary
        files during the build process. Files are stored under
        /tmp and have predictable names, and the vulnerability
        allows a local attacker to overwrite arbitrary files the
        users has write permissions for."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605419"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=649384"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=664023"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://security-tracker.debian.org/tracker/CVE-2012-1175"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://security-tracker.debian.org/tracker/CVE-2011-4328"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://security-tracker.debian.org/tracker/CVE-2010-4337"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://packages.debian.org/source/squeeze/gnash"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.debian.org/security/2012/dsa-2435"
      );
      script_set_attribute(
        attribute:"solution", 
        value:
    "Upgrade the gnash packages.
    
    For the stable distribution (squeeze), this problem has been fixed in
    version 0.8.8-5+squeeze1."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"false");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:gnash");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:debian:debian_linux:6.0");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2012/03/19");
      script_set_attribute(attribute:"plugin_publication_date", value:"2012/03/20");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2012-2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Debian Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/Debian/release", "Host/Debian/dpkg-l");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("debian_package.inc");
    
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    if (!get_kb_item("Host/Debian/release")) audit(AUDIT_OS_NOT, "Debian");
    if (!get_kb_item("Host/Debian/dpkg-l")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    
    flag = 0;
    if (deb_check(release:"6.0", prefix:"browser-plugin-gnash", reference:"0.8.8-5+squeeze1")) flag++;
    if (deb_check(release:"6.0", prefix:"gnash", reference:"0.8.8-5+squeeze1")) flag++;
    if (deb_check(release:"6.0", prefix:"gnash-common", reference:"0.8.8-5+squeeze1")) flag++;
    if (deb_check(release:"6.0", prefix:"gnash-common-opengl", reference:"0.8.8-5+squeeze1")) flag++;
    if (deb_check(release:"6.0", prefix:"gnash-cygnal", reference:"0.8.8-5+squeeze1")) flag++;
    if (deb_check(release:"6.0", prefix:"gnash-dbg", reference:"0.8.8-5+squeeze1")) flag++;
    if (deb_check(release:"6.0", prefix:"gnash-doc", reference:"0.8.8-5+squeeze1")) flag++;
    if (deb_check(release:"6.0", prefix:"gnash-opengl", reference:"0.8.8-5+squeeze1")) flag++;
    if (deb_check(release:"6.0", prefix:"gnash-tools", reference:"0.8.8-5+squeeze1")) flag++;
    if (deb_check(release:"6.0", prefix:"klash", reference:"0.8.8-5+squeeze1")) flag++;
    if (deb_check(release:"6.0", prefix:"klash-opengl", reference:"0.8.8-5+squeeze1")) flag++;
    if (deb_check(release:"6.0", prefix:"konqueror-plugin-gnash", reference:"0.8.8-5+squeeze1")) flag++;
    if (deb_check(release:"6.0", prefix:"mozilla-plugin-gnash", reference:"0.8.8-5+squeeze1")) flag++;
    if (deb_check(release:"6.0", prefix:"swfdec-gnome", reference:"0.8.8-5+squeeze1")) flag++;
    if (deb_check(release:"6.0", prefix:"swfdec-mozilla", reference:"0.8.8-5+squeeze1")) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:deb_report_get());
      else security_warning(0);
      exit(0);
    }
    else audit(AUDIT_HOST_NOT, "affected");
    
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2011-3662.NASL
    description---------------------------------------------------------------------- ---------- ChangeLog : - Fri Mar 18 2011 Hicham HAOUARI <hicham.haouari at gmail.com> - 1:0.8.9-1 - Update to 0.8.9 final - Sat Mar 12 2011 Hicham HAOUARI <hicham.haouari at gmail.com> - 1:0.8.9-0.1.20110312git - Switch to 0.8.9 branch - Spec cleanup - Add extensions - Enable testsuite - Tue Feb 8 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:0.8.8-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - Wed Oct 6 2010 Kevin Kofler <Kevin at tigcc.ticalc.org> - 1:0.8.8-4 - backport 2 upstream commits to make it work with libcurl >= 7.21.x (#639737) - Sat Oct 2 2010 Kevin Kofler <Kevin at tigcc.ticalc.org> - 1:0.8.8-3 - fix FTBFS (#631181) (fix by Hicham Haouari) - Fri Aug 27 2010 Kevin Kofler <Kevin at tigcc.ticalc.org> - 1:0.8.8-2 - fix the check for the docbook2X tools being in Perl - Wed Aug 25 2010 Kevin Kofler <Kevin at tigcc.ticalc.org> - 1:0.8.8-1.1 - rebuild for the official release of Boost 1.44.0 (silent ABI change) - Mon Aug 23 2010 Kevin Kofler <Kevin at tigcc.ticalc.org> - 1:0.8.8-1 - update to 0.8.8 (#626352, #574100, #606170) - update file list (patch by Jeff Smith) - Thu Jul 29 2010 Bill Nottingham <notting at redhat.com> - 1:0.8.7-5 - Rebuilt for boost-1.44, again - Tue Jul 27 2010 Bill Nottingham <notting at redhat.com> - 1:0.8.7-4 - Rebuilt for boost-1.44 - Wed Jul 21 2010 David Malcolm <dmalcolm at redhat.com> - 1:0.8.7-3 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/Mas sRebuild - Tue Jun 8 2010 Kevin Kofler <Kevin at tigcc.ticalc.org> - 1:0.8.7-2 - -plugin: avoid file (directory) dependency (#601942) 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 seen2020-06-01
    modified2020-06-02
    plugin id53000
    published2011-03-28
    reporterThis script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/53000
    titleFedora 13 : gnash-0.8.9-1.fc13 (2011-3662)
    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 2011-3662.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(53000);
      script_version("1.12");
      script_cvs_date("Date: 2019/08/02 13:32:35");
    
      script_cve_id("CVE-2010-4337");
      script_bugtraq_id(45102);
      script_xref(name:"FEDORA", value:"2011-3662");
    
      script_name(english:"Fedora 13 : gnash-0.8.9-1.fc13 (2011-3662)");
      script_summary(english:"Checks rpm output for the updated package.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Fedora host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "----------------------------------------------------------------------
    ---------- ChangeLog :
    
      - Fri Mar 18 2011 Hicham HAOUARI <hicham.haouari at
        gmail.com> - 1:0.8.9-1
    
        - Update to 0.8.9 final
    
        - Sat Mar 12 2011 Hicham HAOUARI <hicham.haouari at
          gmail.com> - 1:0.8.9-0.1.20110312git
    
        - Switch to 0.8.9 branch
    
        - Spec cleanup
    
        - Add extensions
    
        - Enable testsuite
    
        - Tue Feb 8 2011 Fedora Release Engineering <rel-eng at
          lists.fedoraproject.org> - 1:0.8.8-5
    
        - Rebuilt for
          https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
    
        - Wed Oct 6 2010 Kevin Kofler <Kevin at
          tigcc.ticalc.org> - 1:0.8.8-4
    
        - backport 2 upstream commits to make it work with
          libcurl >= 7.21.x (#639737)
    
        - Sat Oct 2 2010 Kevin Kofler <Kevin at
          tigcc.ticalc.org> - 1:0.8.8-3
    
        - fix FTBFS (#631181) (fix by Hicham Haouari)
    
        - Fri Aug 27 2010 Kevin Kofler <Kevin at
          tigcc.ticalc.org> - 1:0.8.8-2
    
        - fix the check for the docbook2X tools being in Perl
    
        - Wed Aug 25 2010 Kevin Kofler <Kevin at
          tigcc.ticalc.org> - 1:0.8.8-1.1
    
        - rebuild for the official release of Boost 1.44.0
          (silent ABI change)
    
        - Mon Aug 23 2010 Kevin Kofler <Kevin at
          tigcc.ticalc.org> - 1:0.8.8-1
    
        - update to 0.8.8 (#626352, #574100, #606170)
    
        - update file list (patch by Jeff Smith)
    
        - Thu Jul 29 2010 Bill Nottingham <notting at
          redhat.com> - 1:0.8.7-5
    
        - Rebuilt for boost-1.44, again
    
        - Tue Jul 27 2010 Bill Nottingham <notting at
          redhat.com> - 1:0.8.7-4
    
        - Rebuilt for boost-1.44
    
        - Wed Jul 21 2010 David Malcolm <dmalcolm at redhat.com>
          - 1:0.8.7-3
    
        - Rebuilt for
          https://fedoraproject.org/wiki/Features/Python_2.7/Mas
          sRebuild
    
        - Tue Jun 8 2010 Kevin Kofler <Kevin at
          tigcc.ticalc.org> - 1:0.8.7-2
    
        - -plugin: avoid file (directory) dependency (#601942)
    
    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."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.redhat.com/show_bug.cgi?id=669851"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2011-March/056787.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?97f73889"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected gnash package.");
      script_set_cvss_base_vector("CVSS2#AV:L/AC:M/Au:N/C:N/I:P/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"false");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:gnash");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:13");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2011/03/19");
      script_set_attribute(attribute:"plugin_publication_date", value:"2011/03/28");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      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:"^13([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 13.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:"FC13", reference:"gnash-0.8.9-1.fc13")) 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, "gnash");
    }