| Reporter | Title | Published | Views | Family All 35 |
|---|---|---|---|---|
| Ruby on Rails < 2.0.5 Multiple Vulnerabilities | 21 Nov 200800:00 | – | nessus | |
| Fedora 10 : rubygem-actionpack-2.1.1-2.fc10 (2009-2149) | 23 Apr 200900:00 | – | nessus | |
| Fedora 9 : rubygem-actionpack-2.1.1-2.fc9 (2009-2179) | 2 Mar 200900:00 | – | nessus | |
| NewStart CGSL MAIN 6.06 : ruby Multiple Vulnerabilities (NS-SA-2025-0208) | 30 Sep 202500:00 | – | nessus | |
| NewStart CGSL MAIN 6.06 (SP) : ruby Multiple Vulnerabilities (NS-SA-2026-0023) | 6 Mar 202600:00 | – | nessus | |
| Oracle Linux 8 : ruby:2.5 (ELSA-2023-7025) | 21 Nov 202300:00 | – | nessus | |
| Oracle Linux 8 : ruby:3.1 (ELSA-2025-4063) | 22 Apr 202500:00 | – | nessus | |
| openSUSE Security Update : rubygem-actionpack (rubygem-actionpack-327) | 21 Jul 200900:00 | – | nessus | |
| openSUSE 10 Security Update : rubygem-actionpack (rubygem-actionpack-5816) | 1 Dec 200800:00 | – | nessus | |
| CVE-2008-5189 | 21 Nov 200811:00 | – | cve |
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_ruby_rails_http_header_inj_vuln_lin.nasl 4227 2016-10-07 05:45:35Z teissa $
#
# Ruby on Rails redirect_to() HTTP Header Injection Vulnerability - Linux
#
# Authors:
# Veerendra GG <[email protected]>
#
# Copyright:
# Copyright (c) 2008 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.
###############################################################################
tag_solution = "Upgrade to higher Version or Apply patches from,
http://github.com/rails/rails/commit/7282ed863ca7e6f928bae9162c9a63a98775a19d
*****
NOTE: Ignore this warning, if above mentioned patch is manually applied.
*****";
tag_impact = "Successful attack could lead to execution of arbitrary HTML or scripting code
in the context of an affected application or allow Cross Site Request Forgery
(CSRF), Cross Site Scripting (XSS) and HTTP Request Smuggling Attacks.
Impact Level: Application";
tag_affected = "Ruby on Rails Version before 2.0.5 on Linux.";
tag_insight = "Input passed to the redirect_to() function is not properly sanitized before
being used.";
tag_summary = "The host is running Ruby on Rails, which is prone to HTTP Header
Injection Vulnerability.";
if(description)
{
script_id(800144);
script_version("$Revision: 4227 $");
script_tag(name:"last_modification", value:"$Date: 2016-10-07 07:45:35 +0200 (Fri, 07 Oct 2016) $");
script_tag(name:"creation_date", value:"2008-11-27 14:04:10 +0100 (Thu, 27 Nov 2008)");
script_tag(name:"cvss_base", value:"5.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:P/A:N");
script_cve_id("CVE-2008-5189");
script_bugtraq_id(32359);
script_name("Ruby on Rails redirect_to() HTTP Header Injection Vulnerability - Linux");
script_xref(name : "URL" , value : "http://weblog.rubyonrails.org/2008/10/19/response-splitting-risk");
script_xref(name : "URL" , value : "http://www.rorsecurity.info/journal/2008/10/20/header-injection-and-response-splitting.html");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2008 Greenbone Networks GmbH");
script_family("Web application abuses");
script_mandatory_keys("login/SSH/success");
script_dependencies("gather-package-list.nasl");
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);
script_tag(name:"qod_type", value:"executable_version");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("http_func.inc");
include("ssh_func.inc");
include("version_func.inc");
port = 3000;
if (!get_port_state(port))
exit (0);
soc = open_sock_tcp(port);
if(!soc){
exit(0);
}
sndReq = string("GET /", "\r\n",
"Host: ", get_host_name(), ":", port, "\r\n");
send(socket:soc, data:sndReq);
if("Ruby on Rails" >!< recv(socket:soc, length:1024))
{
close(soc);
exit(0);
}
close(soc);
sock = ssh_login_or_reuse_connection();
if(!sock){
exit(0);
}
railsFile = find_file(file_name:"rails", file_path:"/", useregex:TRUE,
regexpar:"$", sock:sock);
foreach binFile (railsFile)
{
railsVer = get_bin_version(full_prog_name:chomp(binFile), version_argv:"-v",
ver_pattern:"Rails ([0-9.]+)", sock:sock);
if(railsVer[1] != NULL)
{
if(version_is_less(version:railsVer[1], test_version:"2.0.5")){
security_message(port);
}
ssh_close_connection();
exit(0);
}
}
ssh_close_connection();
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