Vulnerabilities > CVE-2010-1172 - Permissions, Privileges, and Access Controls vulnerability in Freedesktop Dbus-Glib 0.73

047910
CVSS 3.6 - LOW
Attack vector
LOCAL
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
NONE
Integrity impact
PARTIAL
Availability impact
PARTIAL
local
low complexity
freedesktop
CWE-264
nessus

Summary

DBus-GLib 0.73 disregards the access flag of exported GObject properties, which allows local users to bypass intended access restrictions and possibly cause a denial of service by modifying properties, as demonstrated by properties of the (1) DeviceKit-Power, (2) NetworkManager, and (3) ModemManager services.

Vulnerable Configurations

Part Description Count
Application
Freedesktop
1

Common Attack Pattern Enumeration and Classification (CAPEC)

  • 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.
  • Blue Boxing
    This type of attack against older telephone switches and trunks has been around for decades. A tone is sent by an adversary to impersonate a supervisor signal which has the effect of rerouting or usurping command of the line. While the US infrastructure proper may not contain widespread vulnerabilities to this type of attack, many companies are connected globally through call centers and business process outsourcing. These international systems may be operated in countries which have not upgraded Telco infrastructure and so are vulnerable to Blue boxing. Blue boxing is a result of failure on the part of the system to enforce strong authorization for administrative functions. While the infrastructure is different than standard current applications like web applications, there are historical lessons to be learned to upgrade the access control for administrative functions.
  • Restful Privilege Elevation
    Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.
  • Target Programs with Elevated Privileges
    This attack targets programs running with elevated privileges. The attacker would try to leverage a bug in the running program and get arbitrary code to execute with elevated privileges. For instance an attacker would look for programs that write to the system directories or registry keys (such as HKLM, which stores a number of critical Windows environment variables). These programs are typically running with elevated privileges and have usually not been designed with security in mind. Such programs are excellent exploit targets because they yield lots of power when they break. The malicious user try to execute its code at the same level as a privileged system call.

Nessus

  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_3_NETWORKMANAGER-110325.NASL
    descriptiondbus-glib allowed local users to write properties that were exported read-only via dbus (CVE-2010-1172).
    last seen2020-06-01
    modified2020-06-02
    plugin id75682
    published2014-06-13
    reporterThis script is Copyright (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/75682
    titleopenSUSE Security Update : NetworkManager (openSUSE-SU-2011:0300-2)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from openSUSE Security Update NetworkManager-4312.
    #
    # The text description of this plugin is (C) SUSE LLC.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(75682);
      script_version("1.4");
      script_cvs_date("Date: 2019/10/25 13:36:41");
    
      script_cve_id("CVE-2010-1172");
    
      script_name(english:"openSUSE Security Update : NetworkManager (openSUSE-SU-2011:0300-2)");
      script_summary(english:"Check for the NetworkManager-4312 patch");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote openSUSE host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "dbus-glib allowed local users to write properties that were exported
    read-only via dbus (CVE-2010-1172)."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.novell.com/show_bug.cgi?id=628607"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://lists.opensuse.org/opensuse-updates/2011-04/msg00025.html"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected NetworkManager 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:novell:opensuse:NetworkManager");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:NetworkManager-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:NetworkManager-glib");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:11.3");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2011/03/25");
      script_set_attribute(attribute:"plugin_publication_date", value:"2014/06/13");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"SuSE Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/SuSE/release", "Host/SuSE/rpm-list", "Host/cpu");
    
      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/SuSE/release");
    if (isnull(release) || release =~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "openSUSE");
    if (release !~ "^(SUSE11\.3)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "11.3", release);
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    ourarch = get_kb_item("Host/cpu");
    if (!ourarch) audit(AUDIT_UNKNOWN_ARCH);
    if (ourarch !~ "^(i586|i686|x86_64)$") audit(AUDIT_ARCH_NOT, "i586 / i686 / x86_64", ourarch);
    
    flag = 0;
    
    if ( rpm_check(release:"SUSE11.3", reference:"NetworkManager-0.8-8.2.3") ) flag++;
    if ( rpm_check(release:"SUSE11.3", reference:"NetworkManager-devel-0.8-8.2.3") ) flag++;
    if ( rpm_check(release:"SUSE11.3", reference:"NetworkManager-glib-0.8-8.2.3") ) 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, "NetworkManager / NetworkManager-devel / NetworkManager-glib");
    }
    
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2010-0616.NASL
    descriptionUpdated dbus-glib packages that fix one security issue are now available for Red Hat Enterprise Linux 5. The Red Hat Security Response Team has rated this update as having moderate security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. dbus-glib is an add-on library to integrate the standard D-Bus library with the GLib main loop and threading model. NetworkManager is a network link manager that attempts to keep a wired or wireless network connection active at all times. It was discovered that dbus-glib did not enforce the
    last seen2020-06-01
    modified2020-06-02
    plugin id48313
    published2010-08-12
    reporterThis script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/48313
    titleRHEL 5 : dbus-glib (RHSA-2010:0616)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Red Hat Security Advisory RHSA-2010:0616. The text 
    # itself is copyright (C) Red Hat, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(48313);
      script_version ("1.18");
      script_cvs_date("Date: 2019/10/25 13:36:15");
    
      script_cve_id("CVE-2010-1172");
      script_xref(name:"RHSA", value:"2010:0616");
    
      script_name(english:"RHEL 5 : dbus-glib (RHSA-2010:0616)");
      script_summary(english:"Checks the rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Red Hat host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Updated dbus-glib packages that fix one security issue are now
    available for Red Hat Enterprise Linux 5.
    
    The Red Hat Security Response Team has rated this update as having
    moderate security impact. A Common Vulnerability Scoring System (CVSS)
    base score, which gives a detailed severity rating, is available from
    the CVE link in the References section.
    
    dbus-glib is an add-on library to integrate the standard D-Bus library
    with the GLib main loop and threading model. NetworkManager is a
    network link manager that attempts to keep a wired or wireless network
    connection active at all times.
    
    It was discovered that dbus-glib did not enforce the 'access' flag on
    exported GObject properties. If such a property were read/write
    internally but specified as read-only externally, a malicious, local
    user could use this flaw to modify that property of an application.
    Such a change could impact the application's behavior (for example, if
    an IP address were changed the network may not come up properly after
    reboot) and possibly lead to a denial of service. (CVE-2010-1172)
    
    Due to the way dbus-glib translates an application's XML definitions
    of service interfaces and properties into C code at application build
    time, applications built against dbus-glib that use read-only
    properties needed to be rebuilt to fully fix the flaw. As such, this
    update provides NetworkManager packages that have been rebuilt against
    the updated dbus-glib packages. No other applications shipped with Red
    Hat Enterprise Linux 5 were affected.
    
    All dbus-glib and NetworkManager users are advised to upgrade to these
    updated packages, which contain a backported patch to correct this
    issue. Running instances of NetworkManager must be restarted (service
    NetworkManager restart) for this update to take effect."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/security/cve/cve-2010-1172"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/errata/RHSA-2010:0616"
      );
      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_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:redhat:enterprise_linux:NetworkManager");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:NetworkManager-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:NetworkManager-glib");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:NetworkManager-glib-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:NetworkManager-gnome");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:dbus-glib");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:dbus-glib-devel");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:5");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2010/08/20");
      script_set_attribute(attribute:"patch_publication_date", value:"2010/08/10");
      script_set_attribute(attribute:"plugin_publication_date", value:"2010/08/12");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Red Hat Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list", "Host/cpu");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("misc_func.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) || "Red Hat" >!< release) audit(AUDIT_OS_NOT, "Red Hat");
    os_ver = pregmatch(pattern: "Red Hat Enterprise Linux.*release ([0-9]+(\.[0-9]+)?)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Red Hat");
    os_ver = os_ver[1];
    if (! preg(pattern:"^5([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Red Hat 5.x", "Red Hat " + 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$" && "s390" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Red Hat", cpu);
    
    yum_updateinfo = get_kb_item("Host/RedHat/yum-updateinfo");
    if (!empty_or_null(yum_updateinfo)) 
    {
      rhsa = "RHSA-2010:0616";
      yum_report = redhat_generate_yum_updateinfo_report(rhsa:rhsa);
      if (!empty_or_null(yum_report))
      {
        security_report_v4(
          port       : 0,
          severity   : SECURITY_NOTE,
          extra      : yum_report 
        );
        exit(0);
      }
      else
      {
        audit_message = "affected by Red Hat security advisory " + rhsa;
        audit(AUDIT_OS_NOT, audit_message);
      }
    }
    else
    {
      flag = 0;
      if (rpm_check(release:"RHEL5", cpu:"i386", reference:"NetworkManager-0.7.0-10.el5_5.1")) flag++;
      if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"NetworkManager-0.7.0-10.el5_5.1")) flag++;
      if (rpm_check(release:"RHEL5", cpu:"i386", reference:"NetworkManager-devel-0.7.0-10.el5_5.1")) flag++;
      if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"NetworkManager-devel-0.7.0-10.el5_5.1")) flag++;
      if (rpm_check(release:"RHEL5", cpu:"i386", reference:"NetworkManager-glib-0.7.0-10.el5_5.1")) flag++;
      if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"NetworkManager-glib-0.7.0-10.el5_5.1")) flag++;
      if (rpm_check(release:"RHEL5", cpu:"i386", reference:"NetworkManager-glib-devel-0.7.0-10.el5_5.1")) flag++;
      if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"NetworkManager-glib-devel-0.7.0-10.el5_5.1")) flag++;
      if (rpm_check(release:"RHEL5", cpu:"i386", reference:"NetworkManager-gnome-0.7.0-10.el5_5.1")) flag++;
      if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"NetworkManager-gnome-0.7.0-10.el5_5.1")) flag++;
      if (rpm_check(release:"RHEL5", reference:"dbus-glib-0.73-10.el5_5")) flag++;
      if (rpm_check(release:"RHEL5", reference:"dbus-glib-devel-0.73-10.el5_5")) flag++;
    
      if (flag)
      {
        security_report_v4(
          port       : 0,
          severity   : SECURITY_NOTE,
          extra      : rpm_report_get() + redhat_report_package_caveat()
        );
        exit(0);
      }
      else
      {
        tested = pkg_tests_get();
        if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
        else audit(AUDIT_PACKAGE_NOT_INSTALLED, "NetworkManager / NetworkManager-devel / NetworkManager-glib / etc");
      }
    }
    
  • NASL familyCentOS Local Security Checks
    NASL idCENTOS_RHSA-2010-0616.NASL
    descriptionUpdated dbus-glib packages that fix one security issue are now available for Red Hat Enterprise Linux 5. The Red Hat Security Response Team has rated this update as having moderate security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. dbus-glib is an add-on library to integrate the standard D-Bus library with the GLib main loop and threading model. NetworkManager is a network link manager that attempts to keep a wired or wireless network connection active at all times. It was discovered that dbus-glib did not enforce the
    last seen2020-06-01
    modified2020-06-02
    plugin id48303
    published2010-08-12
    reporterThis script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/48303
    titleCentOS 5 : NetworkManager / dbus-glib (CESA-2010:0616)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Red Hat Security Advisory RHSA-2010:0616 and 
    # CentOS Errata and Security Advisory 2010:0616 respectively.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(48303);
      script_version("1.12");
      script_cvs_date("Date: 2019/10/25 13:36:05");
    
      script_cve_id("CVE-2010-1172");
      script_xref(name:"RHSA", value:"2010:0616");
    
      script_name(english:"CentOS 5 : NetworkManager / dbus-glib (CESA-2010:0616)");
      script_summary(english:"Checks rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote CentOS host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Updated dbus-glib packages that fix one security issue are now
    available for Red Hat Enterprise Linux 5.
    
    The Red Hat Security Response Team has rated this update as having
    moderate security impact. A Common Vulnerability Scoring System (CVSS)
    base score, which gives a detailed severity rating, is available from
    the CVE link in the References section.
    
    dbus-glib is an add-on library to integrate the standard D-Bus library
    with the GLib main loop and threading model. NetworkManager is a
    network link manager that attempts to keep a wired or wireless network
    connection active at all times.
    
    It was discovered that dbus-glib did not enforce the 'access' flag on
    exported GObject properties. If such a property were read/write
    internally but specified as read-only externally, a malicious, local
    user could use this flaw to modify that property of an application.
    Such a change could impact the application's behavior (for example, if
    an IP address were changed the network may not come up properly after
    reboot) and possibly lead to a denial of service. (CVE-2010-1172)
    
    Due to the way dbus-glib translates an application's XML definitions
    of service interfaces and properties into C code at application build
    time, applications built against dbus-glib that use read-only
    properties needed to be rebuilt to fully fix the flaw. As such, this
    update provides NetworkManager packages that have been rebuilt against
    the updated dbus-glib packages. No other applications shipped with Red
    Hat Enterprise Linux 5 were affected.
    
    All dbus-glib and NetworkManager users are advised to upgrade to these
    updated packages, which contain a backported patch to correct this
    issue. Running instances of NetworkManager must be restarted (service
    NetworkManager restart) for this update to take effect."
      );
      # https://lists.centos.org/pipermail/centos-announce/2010-August/016898.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?a201e2b8"
      );
      # https://lists.centos.org/pipermail/centos-announce/2010-August/016899.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?f706f4f0"
      );
      # https://lists.centos.org/pipermail/centos-announce/2010-August/016900.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?e5f63fd7"
      );
      # https://lists.centos.org/pipermail/centos-announce/2010-August/016901.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?94b34340"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected dbus-glib and / or networkmanager packages."
      );
      script_set_cvss_base_vector("CVSS2#AV:L/AC:L/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:centos:centos:NetworkManager");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:NetworkManager-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:NetworkManager-glib");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:NetworkManager-glib-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:NetworkManager-gnome");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:dbus-glib");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:dbus-glib-devel");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:centos:centos:5");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2010/08/20");
      script_set_attribute(attribute:"patch_publication_date", value:"2010/08/11");
      script_set_attribute(attribute:"plugin_publication_date", value:"2010/08/12");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"CentOS Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/CentOS/release", "Host/CentOS/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/CentOS/release");
    if (isnull(release) || "CentOS" >!< release) audit(AUDIT_OS_NOT, "CentOS");
    os_ver = pregmatch(pattern: "CentOS(?: Linux)? release ([0-9]+)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "CentOS");
    os_ver = os_ver[1];
    if (! preg(pattern:"^5([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "CentOS 5.x", "CentOS " + os_ver);
    
    if (!get_kb_item("Host/CentOS/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, "CentOS", cpu);
    
    
    flag = 0;
    if (rpm_check(release:"CentOS-5", reference:"NetworkManager-0.7.0-10.el5_5.1")) flag++;
    if (rpm_check(release:"CentOS-5", reference:"NetworkManager-devel-0.7.0-10.el5_5.1")) flag++;
    if (rpm_check(release:"CentOS-5", reference:"NetworkManager-glib-0.7.0-10.el5_5.1")) flag++;
    if (rpm_check(release:"CentOS-5", reference:"NetworkManager-glib-devel-0.7.0-10.el5_5.1")) flag++;
    if (rpm_check(release:"CentOS-5", reference:"NetworkManager-gnome-0.7.0-10.el5_5.1")) flag++;
    if (rpm_check(release:"CentOS-5", reference:"dbus-glib-0.73-10.el5_5")) flag++;
    if (rpm_check(release:"CentOS-5", reference:"dbus-glib-devel-0.73-10.el5_5")) flag++;
    
    
    if (flag)
    {
      security_report_v4(
        port       : 0,
        severity   : SECURITY_NOTE,
        extra      : rpm_report_get()
      );
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "NetworkManager / NetworkManager-devel / NetworkManager-glib / etc");
    }
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_2_GDM-100915.NASL
    descriptiondbus-glib allowed local users to write properties that were exported read-only via dbus (CVE-2010-1172).
    last seen2020-06-01
    modified2020-06-02
    plugin id53725
    published2011-05-05
    reporterThis script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/53725
    titleopenSUSE Security Update : gdm (openSUSE-SU-2010:0969-1)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from openSUSE Security Update gdm-3108.
    #
    # The text description of this plugin is (C) SUSE LLC.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(53725);
      script_version("1.6");
      script_cvs_date("Date: 2019/10/25 13:36:38");
    
      script_cve_id("CVE-2010-1172");
    
      script_name(english:"openSUSE Security Update : gdm (openSUSE-SU-2010:0969-1)");
      script_summary(english:"Check for the gdm-3108 patch");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote openSUSE host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "dbus-glib allowed local users to write properties that were exported
    read-only via dbus (CVE-2010-1172)."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.novell.com/show_bug.cgi?id=628607"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.novell.com/show_bug.cgi?id=633655"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://lists.opensuse.org/opensuse-updates/2010-11/msg00032.html"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected gdm 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:novell:opensuse:gdm");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:gdm-branding-upstream");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:gdm-lang");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:11.2");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2010/09/15");
      script_set_attribute(attribute:"plugin_publication_date", value:"2011/05/05");
      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:"SuSE Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/SuSE/release", "Host/SuSE/rpm-list", "Host/cpu");
    
      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/SuSE/release");
    if (isnull(release) || release =~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "openSUSE");
    if (release !~ "^(SUSE11\.2)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "11.2", release);
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    ourarch = get_kb_item("Host/cpu");
    if (!ourarch) audit(AUDIT_UNKNOWN_ARCH);
    if (ourarch !~ "^(i586|i686|x86_64)$") audit(AUDIT_ARCH_NOT, "i586 / i686 / x86_64", ourarch);
    
    flag = 0;
    
    if ( rpm_check(release:"SUSE11.2", reference:"gdm-2.28.2-0.2.2") ) flag++;
    if ( rpm_check(release:"SUSE11.2", reference:"gdm-branding-upstream-2.28.2-0.2.2") ) flag++;
    if ( rpm_check(release:"SUSE11.2", reference:"gdm-lang-2.28.2-0.2.2") ) 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, "gdm / gdm-branding-upstream / gdm-lang");
    }
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_NETWORKMANAGER-100916.NASL
    descriptiondbus-glib allowed local users to write properties that were exported read-only via dbus. (CVE-2010-1172)
    last seen2020-06-01
    modified2020-06-02
    plugin id51592
    published2011-01-21
    reporterThis script is Copyright (C) 2011-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/51592
    titleSuSE 11.1 Security Update : NetworkManager (SAT Patch Number 3103)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from SuSE 11 update information. The text itself is
    # copyright (C) Novell, Inc.
    #
    
    if (NASL_LEVEL < 3000) exit(0);
    
    include("compat.inc");
    
    if (description)
    {
      script_id(51592);
      script_version("1.6");
      script_cvs_date("Date: 2019/10/25 13:36:39");
    
      script_cve_id("CVE-2010-1172");
    
      script_name(english:"SuSE 11.1 Security Update : NetworkManager (SAT Patch Number 3103)");
      script_summary(english:"Checks rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote SuSE 11 host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "dbus-glib allowed local users to write properties that were exported
    read-only via dbus. (CVE-2010-1172)"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.novell.com/show_bug.cgi?id=628607"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"http://support.novell.com/security/cve/CVE-2010-1172.html"
      );
      script_set_attribute(attribute:"solution", value:"Apply SAT patch number 3103.");
      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:novell:suse_linux:11:NetworkManager");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:NetworkManager-glib");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:suse_linux:11");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2010/09/16");
      script_set_attribute(attribute:"plugin_publication_date", value:"2011/01/21");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2011-2019 Tenable Network Security, Inc.");
      script_family(english:"SuSE Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/SuSE/release", "Host/SuSE/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/SuSE/release");
    if (isnull(release) || release !~ "^(SLED|SLES)11") audit(AUDIT_OS_NOT, "SuSE 11");
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if (cpu !~ "^i[3-6]86$" && "x86_64" >!< cpu && "s390x" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "SuSE 11", cpu);
    
    pl = get_kb_item("Host/SuSE/patchlevel");
    if (isnull(pl) || int(pl) != 1) audit(AUDIT_OS_NOT, "SuSE 11.1");
    
    
    flag = 0;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"NetworkManager-0.7.0.r4359-15.25.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"NetworkManager-glib-0.7.0.r4359-15.25.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"NetworkManager-0.7.0.r4359-15.25.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"NetworkManager-glib-0.7.0.r4359-15.25.1")) flag++;
    if (rpm_check(release:"SLES11", sp:1, reference:"NetworkManager-0.7.0.r4359-15.25.1")) flag++;
    if (rpm_check(release:"SLES11", sp:1, reference:"NetworkManager-glib-0.7.0.r4359-15.25.1")) 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");
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_GDM-100930.NASL
    descriptionThis update provides the following fixes : - 633655: Change the way dbus properties are exported to avoid write access to read-only properties. - 627893: Upon relogin gdm displays the Windows domain, but tries to authenticate locally - 490621: Windows domain not remembered from previous log-in - 583060: Optionally allow to configure to prohibit end user to use
    last seen2020-06-01
    modified2020-06-02
    plugin id51600
    published2011-01-21
    reporterThis script is Copyright (C) 2011-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/51600
    titleSuSE 11.1 Security Update : GDM (SAT Patch Number 3222)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from SuSE 11 update information. The text itself is
    # copyright (C) Novell, Inc.
    #
    
    if (NASL_LEVEL < 3000) exit(0);
    
    include("compat.inc");
    
    if (description)
    {
      script_id(51600);
      script_version("1.6");
      script_cvs_date("Date: 2019/10/25 13:36:39");
    
      script_cve_id("CVE-2010-1172");
    
      script_name(english:"SuSE 11.1 Security Update : GDM (SAT Patch Number 3222)");
      script_summary(english:"Checks rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote SuSE 11 host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "This update provides the following fixes :
    
      - 633655: Change the way dbus properties are exported to
        avoid write access to read-only properties.
    
      - 627893: Upon relogin gdm displays the Windows domain,
        but tries to authenticate locally
    
      - 490621: Windows domain not remembered from previous
        log-in
    
      - 583060: Optionally allow to configure to prohibit end
        user to use 'root' id at gdm login
    
      - 506917: Fix window login getting a huge horizontal size
    
      - 627893: Fix that upon relogin gdm displays the Windows
        domain, but tries to authenticate locally. In addition
        this update was rebuilt against the latest dbus-glib
        bindings to avoid that local users can write properties
        that were exported read-only via dbus. (CVE-2010-1172)"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.novell.com/show_bug.cgi?id=490621"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.novell.com/show_bug.cgi?id=506917"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.novell.com/show_bug.cgi?id=583060"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.novell.com/show_bug.cgi?id=627893"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.novell.com/show_bug.cgi?id=628607"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.novell.com/show_bug.cgi?id=633655"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"http://support.novell.com/security/cve/CVE-2010-1172.html"
      );
      script_set_attribute(attribute:"solution", value:"Apply SAT patch number 3222.");
      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:novell:suse_linux:11:gdm");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:gdm-branding-upstream");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:gdm-lang");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:suse_linux:11");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2010/09/30");
      script_set_attribute(attribute:"plugin_publication_date", value:"2011/01/21");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2011-2019 Tenable Network Security, Inc.");
      script_family(english:"SuSE Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/SuSE/release", "Host/SuSE/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/SuSE/release");
    if (isnull(release) || release !~ "^(SLED|SLES)11") audit(AUDIT_OS_NOT, "SuSE 11");
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if (cpu !~ "^i[3-6]86$" && "x86_64" >!< cpu && "s390x" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "SuSE 11", cpu);
    
    pl = get_kb_item("Host/SuSE/patchlevel");
    if (isnull(pl) || int(pl) != 1) audit(AUDIT_OS_NOT, "SuSE 11.1");
    
    
    flag = 0;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"gdm-2.24.0-24.28.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"gdm-branding-upstream-2.24.0-24.28.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"gdm-lang-2.24.0-24.28.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"gdm-2.24.0-24.28.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"gdm-branding-upstream-2.24.0-24.28.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"gdm-lang-2.24.0-24.28.1")) flag++;
    if (rpm_check(release:"SLES11", sp:1, reference:"gdm-2.24.0-24.28.1")) flag++;
    if (rpm_check(release:"SLES11", sp:1, reference:"gdm-branding-upstream-2.24.0-24.28.1")) flag++;
    if (rpm_check(release:"SLES11", sp:1, reference:"gdm-lang-2.24.0-24.28.1")) 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");
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_DBUS-1-GLIB-100901.NASL
    descriptionA flaw in dbus-glib was fixed that allowed other local programs to bypass the
    last seen2020-06-01
    modified2020-06-02
    plugin id50900
    published2010-12-02
    reporterThis script is Copyright (C) 2010-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/50900
    titleSuSE 11 / 11.1 Security Update : dbus (SAT Patch Numbers 2955 / 3182)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from SuSE 11 update information. The text itself is
    # copyright (C) Novell, Inc.
    #
    
    if (NASL_LEVEL < 3000) exit(0);
    
    include("compat.inc");
    
    if (description)
    {
      script_id(50900);
      script_version("1.8");
      script_cvs_date("Date: 2019/10/25 13:36:39");
    
      script_cve_id("CVE-2010-1172");
    
      script_name(english:"SuSE 11 / 11.1 Security Update : dbus (SAT Patch Numbers 2955 / 3182)");
      script_summary(english:"Checks rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote SuSE 11 host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "A flaw in dbus-glib was fixed that allowed other local programs to
    bypass the 'access' flag on properties. (CVE-2010-1172)"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.novell.com/show_bug.cgi?id=628607"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"http://support.novell.com/security/cve/CVE-2010-1172.html"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Apply SAT patch number 2955 / 3182 as appropriate."
      );
      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:novell:suse_linux:11:dbus-1-glib");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:dbus-1-glib-32bit");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:suse_linux:11");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2010/09/01");
      script_set_attribute(attribute:"plugin_publication_date", value:"2010/12/02");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2010-2019 Tenable Network Security, Inc.");
      script_family(english:"SuSE Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/SuSE/release", "Host/SuSE/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/SuSE/release");
    if (isnull(release) || release !~ "^(SLED|SLES)11") audit(AUDIT_OS_NOT, "SuSE 11");
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if (cpu !~ "^i[3-6]86$" && "x86_64" >!< cpu && "s390x" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "SuSE 11", cpu);
    
    
    flag = 0;
    if (rpm_check(release:"SLED11", sp:0, cpu:"i586", reference:"dbus-1-glib-0.76-34.10.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"x86_64", reference:"dbus-1-glib-0.76-34.10.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"x86_64", reference:"dbus-1-glib-32bit-0.76-34.10.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"dbus-1-glib-0.76-34.7.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"dbus-1-glib-0.76-34.7.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"dbus-1-glib-32bit-0.76-34.7.1")) flag++;
    if (rpm_check(release:"SLES11", sp:0, reference:"dbus-1-glib-0.76-34.10.1")) flag++;
    if (rpm_check(release:"SLES11", sp:0, cpu:"s390x", reference:"dbus-1-glib-32bit-0.76-34.10.1")) flag++;
    if (rpm_check(release:"SLES11", sp:0, cpu:"x86_64", reference:"dbus-1-glib-32bit-0.76-34.10.1")) flag++;
    if (rpm_check(release:"SLES11", sp:1, reference:"dbus-1-glib-0.76-34.7.1")) flag++;
    if (rpm_check(release:"SLES11", sp:1, cpu:"s390x", reference:"dbus-1-glib-32bit-0.76-34.7.1")) flag++;
    if (rpm_check(release:"SLES11", sp:1, cpu:"x86_64", reference:"dbus-1-glib-32bit-0.76-34.7.1")) 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");
    
  • NASL familyUbuntu Local Security Checks
    NASL idUBUNTU_USN-1138-1.NASL
    descriptionIt was discovered that DBus-GLib did not properly verify the access flag of exported GObject properties under certain circumstances. A local attacker could exploit this to bypass intended access restrictions or possibly cause a denial of service. 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 id55099
    published2011-06-13
    reporterUbuntu Security Notice (C) 2011-2019 Canonical, Inc. / NASL script (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/55099
    titleUbuntu 8.04 LTS / 10.04 LTS : dbus-glib vulnerability (USN-1138-1)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from Ubuntu Security Notice USN-1138-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(55099);
      script_version("1.10");
      script_cvs_date("Date: 2019/09/19 12:54:27");
    
      script_cve_id("CVE-2010-1172");
      script_bugtraq_id(42347);
      script_xref(name:"USN", value:"1138-1");
    
      script_name(english:"Ubuntu 8.04 LTS / 10.04 LTS : dbus-glib vulnerability (USN-1138-1)");
      script_summary(english:"Checks dpkg output for updated package.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Ubuntu host is missing a security-related patch."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "It was discovered that DBus-GLib did not properly verify the access
    flag of exported GObject properties under certain circumstances. A
    local attacker could exploit this to bypass intended access
    restrictions or possibly cause a denial of service.
    
    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/1138-1/"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected libdbus-glib-1-2 package."
      );
      script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:N/C:N/I:P/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:ND/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:canonical:ubuntu_linux:libdbus-glib-1-2");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:10.04:-:lts");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:8.04:-:lts");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2010/08/20");
      script_set_attribute(attribute:"patch_publication_date", value:"2011/05/26");
      script_set_attribute(attribute:"plugin_publication_date", value:"2011/06/13");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"Ubuntu Security Notice (C) 2011-2019 Canonical, Inc. / NASL script (C) 2011-2019 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 (! preg(pattern:"^(8\.04|10\.04)$", string:release)) audit(AUDIT_OS_NOT, "Ubuntu 8.04 / 10.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:"8.04", pkgname:"libdbus-glib-1-2", pkgver:"0.74-2ubuntu0.1")) flag++;
    if (ubuntu_check(osver:"10.04", pkgname:"libdbus-glib-1-2", pkgver:"0.84-1ubuntu0.2")) flag++;
    
    if (flag)
    {
      security_report_v4(
        port       : 0,
        severity   : SECURITY_NOTE,
        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, "libdbus-glib-1-2");
    }
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_3_DBUS-1-GLIB-110325.NASL
    descriptiondbus-glib allowed local users to write properties that were exported read-only via dbus (CVE-2010-1172).
    last seen2020-06-01
    modified2020-06-02
    plugin id75462
    published2014-06-13
    reporterThis script is Copyright (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/75462
    titleopenSUSE Security Update : dbus-1-glib (openSUSE-SU-2011:0300-1)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_3_GDM-100915.NASL
    descriptiondbus-glib allowed local users to write properties that were exported read-only via dbus (CVE-2010-1172). Additionally a bug that prevented XDMCP connections was fixed.
    last seen2020-06-01
    modified2020-06-02
    plugin id75510
    published2014-06-13
    reporterThis script is Copyright (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/75510
    titleopenSUSE Security Update : gdm (openSUSE-SU-2010:0968-1)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_2_DBUS-1-GLIB-110325.NASL
    descriptiondbus-glib allowed local users to write properties that were exported read-only via dbus (CVE-2010-1172).
    last seen2020-06-01
    modified2020-06-02
    plugin id53705
    published2011-05-05
    reporterThis script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/53705
    titleopenSUSE Security Update : dbus-1-glib (openSUSE-SU-2011:0300-1)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_NETWORKMANAGER-100901.NASL
    descriptiondbus-glib allowed local users to write properties that were exported read-only via dbus. (CVE-2010-1172)
    last seen2020-06-01
    modified2020-06-02
    plugin id50877
    published2010-12-02
    reporterThis script is Copyright (C) 2010-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/50877
    titleSuSE 11 Security Update : NetworkManager (SAT Patch Number 3094)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2010-12863.NASL
    descriptionIt was discovered that dbus-glib did not enforce the
    last seen2020-06-01
    modified2020-06-02
    plugin id48390
    published2010-08-23
    reporterThis script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/48390
    titleFedora 13 : DeviceKit-power-0.9.0-2.fc13 / dbus-glib-0.86-4.fc13 (2010-12863)
  • NASL familyOracle Linux Local Security Checks
    NASL idORACLELINUX_ELSA-2010-0616.NASL
    descriptionFrom Red Hat Security Advisory 2010:0616 : Updated dbus-glib packages that fix one security issue are now available for Red Hat Enterprise Linux 5. The Red Hat Security Response Team has rated this update as having moderate security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. dbus-glib is an add-on library to integrate the standard D-Bus library with the GLib main loop and threading model. NetworkManager is a network link manager that attempts to keep a wired or wireless network connection active at all times. It was discovered that dbus-glib did not enforce the
    last seen2020-06-01
    modified2020-06-02
    plugin id68083
    published2013-07-12
    reporterThis script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/68083
    titleOracle Linux 5 : dbus-glib (ELSA-2010-0616)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2010-12911.NASL
    descriptionIt was discovered that dbus-glib did not enforce the
    last seen2020-06-01
    modified2020-06-02
    plugin id48391
    published2010-08-23
    reporterThis script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/48391
    titleFedora 12 : DeviceKit-power-014-2.fc12 / ModemManager-0.4-5.git20100720.fc12 / etc (2010-12911)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_1_GDM-100915.NASL
    descriptiondbus-glib allowed local users to write properties that were exported read-only via dbus (CVE-2010-1172).
    last seen2020-06-01
    modified2020-06-02
    plugin id53659
    published2011-05-05
    reporterThis script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/53659
    titleopenSUSE Security Update : gdm (openSUSE-SU-2010:0969-1)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_2_NETWORKMANAGER-110325.NASL
    descriptiondbus-glib allowed local users to write properties that were exported read-only via dbus (CVE-2010-1172).
    last seen2020-06-01
    modified2020-06-02
    plugin id53782
    published2011-05-05
    reporterThis script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/53782
    titleopenSUSE Security Update : NetworkManager (openSUSE-SU-2011:0300-2)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_GDM-101006.NASL
    descriptionThis update provides the following fix : - 627893: Fix that upon relogin gdm displays the Windows domain, but tries to authenticate locally. In addition this update was rebuilt against the latest dbus-glib bindings to avoid that local users can write properties that were exported read-only via dbus. (CVE-2010-1172)
    last seen2020-06-01
    modified2020-06-02
    plugin id50908
    published2010-12-02
    reporterThis script is Copyright (C) 2010-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/50908
    titleSuSE 11 Security Update : GDM (SAT Patch Number 3255)
  • NASL familyScientific Linux Local Security Checks
    NASL idSL_20100810_DBUS_GLIB_ON_SL5_X.NASL
    descriptionIt was discovered that dbus-glib did not enforce the
    last seen2020-06-01
    modified2020-06-02
    plugin id60833
    published2012-08-01
    reporterThis script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/60833
    titleScientific Linux Security Update : dbus-glib on SL5.x i386/x86_64

Redhat

advisories
bugzilla
id585394
titleCVE-2010-1172 dbus-glib: property access not validated
oval
OR
  • commentRed Hat Enterprise Linux must be installed
    ovaloval:com.redhat.rhba:tst:20070304026
  • AND
    • commentRed Hat Enterprise Linux 5 is installed
      ovaloval:com.redhat.rhba:tst:20070331005
    • OR
      • AND
        • commentdbus-glib-devel is earlier than 0:0.73-10.el5_5
          ovaloval:com.redhat.rhsa:tst:20100616001
        • commentdbus-glib-devel is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhsa:tst:20100616002
      • AND
        • commentdbus-glib is earlier than 0:0.73-10.el5_5
          ovaloval:com.redhat.rhsa:tst:20100616003
        • commentdbus-glib is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhsa:tst:20100616004
      • AND
        • commentNetworkManager-devel is earlier than 1:0.7.0-10.el5_5.1
          ovaloval:com.redhat.rhsa:tst:20100616005
        • commentNetworkManager-devel is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhsa:tst:20090361010
      • AND
        • commentNetworkManager is earlier than 1:0.7.0-10.el5_5.1
          ovaloval:com.redhat.rhsa:tst:20100616007
        • commentNetworkManager is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhsa:tst:20090361006
      • AND
        • commentNetworkManager-glib-devel is earlier than 1:0.7.0-10.el5_5.1
          ovaloval:com.redhat.rhsa:tst:20100616009
        • commentNetworkManager-glib-devel is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhsa:tst:20090361008
      • AND
        • commentNetworkManager-gnome is earlier than 1:0.7.0-10.el5_5.1
          ovaloval:com.redhat.rhsa:tst:20100616011
        • commentNetworkManager-gnome is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhsa:tst:20090361004
      • AND
        • commentNetworkManager-glib is earlier than 1:0.7.0-10.el5_5.1
          ovaloval:com.redhat.rhsa:tst:20100616013
        • commentNetworkManager-glib is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhsa:tst:20090361002
rhsa
idRHSA-2010:0616
released2010-08-10
severityModerate
titleRHSA-2010:0616: dbus-glib security update (Moderate)
rpms
  • NetworkManager-1:0.7.0-10.el5_5.1
  • NetworkManager-debuginfo-1:0.7.0-10.el5_5.1
  • NetworkManager-devel-1:0.7.0-10.el5_5.1
  • NetworkManager-glib-1:0.7.0-10.el5_5.1
  • NetworkManager-glib-devel-1:0.7.0-10.el5_5.1
  • NetworkManager-gnome-1:0.7.0-10.el5_5.1
  • dbus-glib-0:0.73-10.el5_5
  • dbus-glib-debuginfo-0:0.73-10.el5_5
  • dbus-glib-devel-0:0.73-10.el5_5