Lucene search
K

Ruby 'ARGF.inplace_mode' Buffer Overflow Vulnerability

🗓️ 16 Jul 2010 00:00:00Reported by Copyright (C) 2010 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 13 Views

Ruby 'ARGF.inplace_mode' Buffer Overflow Vulnerability, allows local attackers to execute arbitrary code or crash the application. Affecting Ruby version 1.9.x before 1.9.1-p429 on Windows

Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2010-2489
9 Jul 201019:00
cve
Cvelist
CVE-2010-2489
9 Jul 201019:00
cvelist
EUVD
EUVD-2010-2494
7 Oct 202500:30
euvd
NVD
CVE-2010-2489
12 Jul 201013:27
nvd
OpenVAS
Ruby 'ARGF.inplace_mode' Buffer Overflow Vulnerability
16 Jul 201000:00
openvas
Prion
Buffer overflow
12 Jul 201013:27
prion
RubySec
Ruby on Windows ARGF.inplace_mode Variable Local Overflow
2 Jul 201000:00
rubygems
seebug.org
Ruby ARGF.inplace_mode变量缓冲区溢出漏洞
8 Jul 201000:00
seebug
UbuntuCve
CVE-2010-2489
12 Jul 201013:27
ubuntucve
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_ruby_bof_vuln_win.nasl 8196 2017-12-20 12:13:37Z cfischer $
#
# Ruby 'ARGF.inplace_mode' Buffer Overflow Vulnerability
#
# Authors:
# Antu Sanadi <[email protected]>
#
# Copyright:
# Copyright (C) 2010 Greenbone Networks GmbH, http://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################

CPE = "cpe:/a:ruby-lang:ruby";

tag_impact = "Successful exploitation will allows local attackers to cause buffer overflow
  and execute arbitrary code on the system or cause the application to crash.
  Impact Level: Application.";
tag_affected = "Ruby version 1.9.x before 1.9.1-p429 on Windows.";

tag_insight = "The flaw caused by improper bounds checking when handling filenames on Windows
  systems. It is not properly validating value assigned to the 'ARGF.inplace_mode'
  variable.";
tag_solution = "Upgrade to Ruby version 1.9.1-p429 or later,
  For updates refer to http://rubyforge.org/frs/?group_id=167";
tag_summary = "This host is installed with Ruby and is prone to buffer overflow
  vulnerability.";

if(description)
{
  script_id(801375);
  script_version("$Revision: 8196 $");
  script_tag(name:"last_modification", value:"$Date: 2017-12-20 13:13:37 +0100 (Wed, 20 Dec 2017) $");
  script_tag(name:"creation_date", value:"2010-07-16 19:44:55 +0200 (Fri, 16 Jul 2010)");
  script_cve_id("CVE-2010-2489");
  script_bugtraq_id(41321);
  script_tag(name:"cvss_base", value:"7.2");
  script_tag(name:"cvss_base_vector", value:"AV:L/AC:L/Au:N/C:C/I:C/A:C");
  script_name("Ruby 'ARGF.inplace_mode' Buffer Overflow Vulnerability");
  script_xref(name : "URL" , value : "http://secunia.com/advisories/40442");
  script_xref(name : "URL" , value : "http://xforce.iss.net/xforce/xfdb/60135");
  script_xref(name : "URL" , value : "http://svn.ruby-lang.org/repos/ruby/tags/v1_9_1_429/ChangeLog");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2010 Greenbone Networks GmbH");
  script_family("Buffer overflow");
  script_dependencies("secpod_ruby_detect_win.nasl");
  script_mandatory_keys("Ruby/Win/Installed");
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name:"qod_type", value:"registry");
  script_tag(name:"solution_type", value:"VendorFix");
  exit(0);
}

include("host_details.inc");
include("version_func.inc");

infos = get_app_version_and_location( cpe:CPE, exit_no_version:TRUE );
vers = infos['version'];
path = infos['location'];

# Grep for Ruby Interpreter version from 1.9.0 to 1.9.1 Patch Level 428
if( version_in_range( version:vers, test_version:"1.9.0", test_version2:"1.9.1.p428" ) ) {
  report = report_fixed_ver( installed_version:vers, fixed_version:"1.9.1-p429", install_path:path );
  security_message( port:0, data:report );
  exit( 0 );
}

exit( 99 );

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

20 Dec 2017 00:00Current
0.6Low risk
Vulners AI Score0.6
EPSS0.0013
13