Vulnerabilities > CVE-2012-5142 - Code Injection vulnerability in multiple products
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Google Chrome before 23.0.1271.97 does not properly handle history navigation, which allows remote attackers to execute arbitrary code or cause a denial of service (application crash) via unspecified vectors.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- 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 User-Controlled Variables This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An attacker can override environment variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the attacker can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.
Nessus
NASL family SuSE Local Security Checks NASL id OPENSUSE-2012-867.NASL description - Update to 25.0.1362 - Security fixes (bnc#794075) : - CVE-2012-5139: Use-after-free with visibility events - CVE-2012-5140: Use-after-free in URL loader - CVE-2012-5141: Limit Chromoting client plug-in instantiation. - CVE-2012-5142: Crash in history navigation. - CVE-2012-5143: Integer overflow in PPAPI image buffers - CVE-2012-5144: Stack corruption in AAC decoding - Fixed garbled header and footer text in print preview. [Issue: 152893] - Fixed extension action badges with long text. [Issue: 160069] - Disable find if constrained window is shown. [Issue: 156969] - Enable fullscreen for apps windows. [Issue: 161246] - Fixed broken profile with system-wide installation and UserDataDir & DiskCacheDir policy. [Issue: 161336] - Fixed stability crashes like 158747, 159437, 149139, 160914, 160401, 161858, 158747, 156878 - Fixed graphical corruption in Dust. [Issue: 155258] - Fixed scrolling issue. [Issue: 163553] last seen 2020-06-05 modified 2014-06-13 plugin id 74848 published 2014-06-13 reporter This script is Copyright (C) 2014-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/74848 title openSUSE Security Update : chromium (openSUSE-SU-2012:1682-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 openSUSE-2012-867. # # The text description of this plugin is (C) SUSE LLC. # include("compat.inc"); if (description) { script_id(74848); script_version("1.3"); script_set_attribute(attribute:"plugin_modification_date", value:"2020/06/04"); script_cve_id("CVE-2012-5139", "CVE-2012-5140", "CVE-2012-5141", "CVE-2012-5142", "CVE-2012-5143", "CVE-2012-5144"); script_name(english:"openSUSE Security Update : chromium (openSUSE-SU-2012:1682-1)"); script_summary(english:"Check for the openSUSE-2012-867 patch"); script_set_attribute( attribute:"synopsis", value:"The remote openSUSE host is missing a security update." ); script_set_attribute( attribute:"description", value: " - Update to 25.0.1362 - Security fixes (bnc#794075) : - CVE-2012-5139: Use-after-free with visibility events - CVE-2012-5140: Use-after-free in URL loader - CVE-2012-5141: Limit Chromoting client plug-in instantiation. - CVE-2012-5142: Crash in history navigation. - CVE-2012-5143: Integer overflow in PPAPI image buffers - CVE-2012-5144: Stack corruption in AAC decoding - Fixed garbled header and footer text in print preview. [Issue: 152893] - Fixed extension action badges with long text. [Issue: 160069] - Disable find if constrained window is shown. [Issue: 156969] - Enable fullscreen for apps windows. [Issue: 161246] - Fixed broken profile with system-wide installation and UserDataDir & DiskCacheDir policy. [Issue: 161336] - Fixed stability crashes like 158747, 159437, 149139, 160914, 160401, 161858, 158747, 156878 - Fixed graphical corruption in Dust. [Issue: 155258] - Fixed scrolling issue. [Issue: 163553]" ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.novell.com/show_bug.cgi?id=794075" ); script_set_attribute( attribute:"see_also", value:"https://lists.opensuse.org/opensuse-updates/2012-12/msg00045.html" ); script_set_attribute( attribute:"solution", value:"Update the affected chromium packages." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:chromedriver"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:chromedriver-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:chromium"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:chromium-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:chromium-debugsource"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:chromium-desktop-gnome"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:chromium-desktop-kde"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:chromium-ffmpegsumo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:chromium-ffmpegsumo-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:chromium-suid-helper"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:chromium-suid-helper-debuginfo"); script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:12.1"); script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:12.2"); script_set_attribute(attribute:"patch_publication_date", value:"2012/12/20"); 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-2020 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 !~ "^(SUSE12\.1|SUSE12\.2)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "12.1 / 12.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:"SUSE12.1", reference:"chromedriver-25.0.1362.0-1.47.1") ) flag++; if ( rpm_check(release:"SUSE12.1", reference:"chromedriver-debuginfo-25.0.1362.0-1.47.1") ) flag++; if ( rpm_check(release:"SUSE12.1", reference:"chromium-25.0.1362.0-1.47.1") ) flag++; if ( rpm_check(release:"SUSE12.1", reference:"chromium-debuginfo-25.0.1362.0-1.47.1") ) flag++; if ( rpm_check(release:"SUSE12.1", reference:"chromium-debugsource-25.0.1362.0-1.47.1") ) flag++; if ( rpm_check(release:"SUSE12.1", reference:"chromium-desktop-gnome-25.0.1362.0-1.47.1") ) flag++; if ( rpm_check(release:"SUSE12.1", reference:"chromium-desktop-kde-25.0.1362.0-1.47.1") ) flag++; if ( rpm_check(release:"SUSE12.1", reference:"chromium-ffmpegsumo-25.0.1362.0-1.47.1") ) flag++; if ( rpm_check(release:"SUSE12.1", reference:"chromium-ffmpegsumo-debuginfo-25.0.1362.0-1.47.1") ) flag++; if ( rpm_check(release:"SUSE12.1", reference:"chromium-suid-helper-25.0.1362.0-1.47.1") ) flag++; if ( rpm_check(release:"SUSE12.1", reference:"chromium-suid-helper-debuginfo-25.0.1362.0-1.47.1") ) flag++; if ( rpm_check(release:"SUSE12.2", reference:"chromedriver-25.0.1362.0-1.27.2") ) flag++; if ( rpm_check(release:"SUSE12.2", reference:"chromedriver-debuginfo-25.0.1362.0-1.27.2") ) flag++; if ( rpm_check(release:"SUSE12.2", reference:"chromium-25.0.1362.0-1.27.2") ) flag++; if ( rpm_check(release:"SUSE12.2", reference:"chromium-debuginfo-25.0.1362.0-1.27.2") ) flag++; if ( rpm_check(release:"SUSE12.2", reference:"chromium-debugsource-25.0.1362.0-1.27.2") ) flag++; if ( rpm_check(release:"SUSE12.2", reference:"chromium-desktop-gnome-25.0.1362.0-1.27.2") ) flag++; if ( rpm_check(release:"SUSE12.2", reference:"chromium-desktop-kde-25.0.1362.0-1.27.2") ) flag++; if ( rpm_check(release:"SUSE12.2", reference:"chromium-ffmpegsumo-25.0.1362.0-1.27.2") ) flag++; if ( rpm_check(release:"SUSE12.2", reference:"chromium-ffmpegsumo-debuginfo-25.0.1362.0-1.27.2") ) flag++; if ( rpm_check(release:"SUSE12.2", reference:"chromium-suid-helper-25.0.1362.0-1.27.2") ) flag++; if ( rpm_check(release:"SUSE12.2", reference:"chromium-suid-helper-debuginfo-25.0.1362.0-1.27.2") ) flag++; if (flag) { if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get()); else security_hole(0); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "chromedriver / chromedriver-debuginfo / chromium / etc"); }
NASL family FreeBSD Local Security Checks NASL id FREEBSD_PKG_51F84E28444E11E2830600262D5ED8EE.NASL description Google Chrome Releases reports : [158204] High CVE-2012-5139: Use-after-free with visibility events. Credit to Chamal de Silva. [159429] High CVE-2012-5140: Use-after-free in URL loader. Credit to Chamal de Silva. [160456] Medium CVE-2012-5141: Limit Chromoting client plug-in instantiation. Credit to Google Chrome Security Team (Juri Aedla). [160803] Critical CVE-2012-5142: Crash in history navigation. Credit to Michal Zalewski of Google Security Team. [160926] Medium CVE-2012-5143: Integer overflow in PPAPI image buffers. Credit to Google Chrome Security Team (Cris Neckar). [161639] High CVE-2012-5144: Stack corruption in AAC decoding. Credit to pawlkt. last seen 2020-06-01 modified 2020-06-02 plugin id 63256 published 2012-12-13 reporter This script is Copyright (C) 2012-2016 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/63256 title FreeBSD : chromium -- multiple vulnerabilities (51f84e28-444e-11e2-8306-00262d5ed8ee) NASL family Gentoo Local Security Checks NASL id GENTOO_GLSA-201309-16.NASL description The remote host is affected by the vulnerability described in GLSA-201309-16 (Chromium, V8: Multiple vulnerabilities) Multiple vulnerabilities have been discovered in Chromium and V8. Please review the CVE identifiers and release notes referenced below for details. Impact : A context-dependent attacker could entice a user to open a specially crafted website or JavaScript program using Chromium or V8, possibly resulting in the execution of arbitrary code with the privileges of the process or a Denial of Service condition. Furthermore, a remote attacker may be able to bypass security restrictions or have other, unspecified, impact. Workaround : There is no known workaround at this time. last seen 2020-06-01 modified 2020-06-02 plugin id 70112 published 2013-09-25 reporter This script is Copyright (C) 2013-2018 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/70112 title GLSA-201309-16 : Chromium, V8: Multiple vulnerabilities NASL family Windows NASL id GOOGLE_CHROME_23_0_1271_97.NASL description The version of Google Chrome installed on the remote host is earlier than 23.0.1271.97 and is, therefore, affected by the following vulnerabilities : - Use-after-free errors exist related to visibility events and the URL loader. (CVE-2012-5139, CVE-2012-5140) - An unspecified error exists related to instantiation of the last seen 2020-06-01 modified 2020-06-02 plugin id 63232 published 2012-12-12 reporter This script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/63232 title Google Chrome < 23.0.1271.97 Multiple Vulnerabilities
Oval
accepted | 2013-08-12T04:08:16.098-04:00 | ||||||||
class | vulnerability | ||||||||
contributors |
| ||||||||
definition_extensions |
| ||||||||
description | Google Chrome before 23.0.1271.97 does not properly handle history navigation, which allows remote attackers to execute arbitrary code or cause a denial of service (application crash) via unspecified vectors. | ||||||||
family | windows | ||||||||
id | oval:org.mitre.oval:def:16173 | ||||||||
status | accepted | ||||||||
submitted | 2012-12-12T09:25:55.661-05:00 | ||||||||
title | Google Chrome before 23.0.1271.97 does not properly handle history navigation | ||||||||
version | 42 |