| Reporter | Title | Published | Views | Family All 21 |
|---|---|---|---|---|
| Security fix for the ALT Linux 5 package ruby version 1.9.1-alt1.r26040 | 9 Dec 200900:00 | – | altlinux | |
| Security fix for the ALT Linux 5 package ruby version 1.9.1-alt1.r26040.1 | 29 Dec 200900:00 | – | altlinux | |
| CVE-2009-4124 | 11 Dec 200916:00 | – | cve | |
| CVE-2009-4124 | 11 Dec 200916:00 | – | cvelist | |
| ruby -- heap overflow vulnerability | 30 Nov 200900:00 | – | freebsd | |
| EUVD-2009-4094 | 7 Oct 202500:30 | – | euvd | |
| FreeBSD : ruby -- heap overflow vulnerability (eab8c3bd-e50c-11de-9cd0-001a926c7637) | 10 Dec 200900:00 | – | nessus | |
| Ubuntu 8.10 / 9.04 / 9.10 : ruby1.9 vulnerabilities (USN-900-1) | 17 Feb 201000:00 | – | nessus | |
| CVE-2009-4124 | 11 Dec 200916:30 | – | nvd | |
| FreeBSD Ports: ruby | 14 Dec 200900:00 | – | openvas |
###############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_ruby_heap_bof_vuln_win_dec09.nasl 8196 2017-12-20 12:13:37Z cfischer $
#
# Ruby Interpreter Heap Overflow Vulnerability (Windows) - Dec09
#
# Authors:
# Sujit Ghosal <[email protected]>
#
# Copyright:
# Copyright (c) 2009 SecPod, http://www.secpod.com
#
# 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_solution = "Apply the patch,
ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p376.tar.bz2
*****
NOTE: Please ignore this warning if the patch is applied.
*****";
tag_impact = "Successful exploitation will let the attacker execute arbitrary code, corrupt
the heap area to execute the crafted malicious shellcode into the system
registers to take control over the remote machine.";
tag_affected = "Ruby Interpreter version 1.9.1 before 1.9.1 Patchlevel 376";
tag_insight = "The flaw is due to improper sanitization check while processing user
supplied input data to the buffer inside 'String#ljust', 'String#center' and
'String#rjust' methods.";
tag_summary = "This host is installed with Ruby Interpreter and is prone to Heap
Overflow vulnerability.";
if(description)
{
script_id(900725);
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:"2009-12-23 08:41:41 +0100 (Wed, 23 Dec 2009)");
script_tag(name:"cvss_base", value:"10.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
script_cve_id("CVE-2009-4124");
script_bugtraq_id(37278);
script_name("Ruby Interpreter Heap Overflow Vulnerability (Windows) - Dec09");
script_xref(name : "URL" , value : "http://secunia.com/advisories/37660");
script_xref(name : "URL" , value : "http://www.vupen.com/english/advisories/2009/3471");
script_xref(name : "URL" , value : "http://www.ruby-lang.org/en/news/2009/12/07/heap-overflow-in-string");
script_category(ACT_GATHER_INFO);
script_tag(name:"qod_type", value:"registry");
script_copyright("Copyright (C) 2009 SecPod");
script_family("Buffer overflow");
script_dependencies("secpod_ruby_detect_win.nasl");
script_mandatory_keys("Ruby/Win/Installed");
script_tag(name : "impact" , value : tag_impact);
script_tag(name : "affected" , value : tag_affected);
script_tag(name : "insight" , value : tag_insight);
script_tag(name : "summary" , value : tag_summary);
script_tag(name : "solution" , value : tag_solution);
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.1 to 1.9.1 Patch Level 375
if( version_in_range( version:vers, test_version:"1.9.1", test_version2:"1.9.1.p375" ) ) {
report = report_fixed_ver( installed_version:vers, fixed_version:"1.9.1.p376", 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