Lucene search
+L

Ruby on Rails 3.x < 3.0.4 Security Bypass and SQLi Vulnerabilities

🗓️ 28 Feb 2011 00:00:00Reported by Copyright (C) 2011 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 35 Views

Ruby on Rails Security Bypass and SQL Injection Vulnerabilities. Upgrade to version 3.0.4 or later

Related
Refs
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2011-0448
21 Feb 201100:00
cve
cve
CVE
CVE-2011-0449
21 Feb 201117:00
cve
cvelist
Cvelist
CVE-2011-0448
21 Feb 201100:00
cvelist
cvelist
Cvelist
CVE-2011-0449
21 Feb 201117:00
cvelist
debiancve
Debian CVE
CVE-2011-0448
21 Feb 201100:00
debiancve
debiancve
Debian CVE
CVE-2011-0449
21 Feb 201117:00
debiancve
euvd
EUVD
EUVD-2017-0164
7 Oct 202500:30
euvd
euvd
EUVD
EUVD-2017-0265
7 Oct 202500:30
euvd
fedora
Fedora
[SECURITY] Fedora 15 Update: rubygem-activesupport-3.0.5-1.fc15
5 Apr 201121:43
fedora
fedora
Fedora
[SECURITY] Fedora 15 Update: rubygem-activemodel-3.0.5-1.fc15
5 Apr 201121:43
fedora
Rows per page
# SPDX-FileCopyrightText: 2011 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

CPE = "cpe:/a:rubyonrails:rails";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.901187");
  script_version("2025-09-09T05:38:49+0000");
  script_tag(name:"last_modification", value:"2025-09-09 05:38:49 +0000 (Tue, 09 Sep 2025)");
  script_tag(name:"creation_date", value:"2011-02-28 11:12:07 +0100 (Mon, 28 Feb 2011)");
  script_cve_id("CVE-2011-0448", "CVE-2011-0449");
  script_tag(name:"cvss_base", value:"7.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_name("Ruby on Rails 3.x < 3.0.4 Security Bypass and SQLi Vulnerabilities");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2011 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_rails_consolidation.nasl");
  script_mandatory_keys("rails/detected");

  script_xref(name:"URL", value:"http://secunia.com/advisories/43278");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/46292");
  script_xref(name:"URL", value:"http://securitytracker.com/id?1025063");
  script_xref(name:"URL", value:"http://securitytracker.com/id?1025061");
  script_xref(name:"URL", value:"http://www.vupen.com/english/advisories/2011/0343");

  script_tag(name:"impact", value:"Successful exploitation will allow attackers to bypass certain security
  restrictions and conduct SQL injection attacks.");

  script_tag(name:"affected", value:"Ruby on Rails versions 3.x before 3.0.4.");

  script_tag(name:"insight", value:"- The filtering code does not properly work for case insensitive file
  systems, which can be exploited to bypass the filter by varying the case
  in certain action parameters.

  - Input passed to the 'limit()' function is not properly sanitised before
  being used in SQL queries. This can be exploited to manipulate SQL queries
  by injecting arbitrary SQL code.");

  script_tag(name:"solution", value:"Update to version 3.0.4 or later.");

  script_tag(name:"summary", value:"Ruby on Rails is prone to security bypass and SQL injection
  (SQLi) vulnerabilities.");

  script_tag(name:"qod_type", value:"remote_banner_unreliable");
  script_tag(name:"solution_type", value:"VendorFix");

  exit(0);
}

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

if( isnull( port = get_app_port( cpe: CPE ) ) )
  exit( 0 );

if( ! infos = get_app_version_and_location( cpe: CPE, port: port, exit_no_version: TRUE ) )
  exit( 0 );

version = infos["version"];
location = infos["location"];

if( version_in_range( version: version, test_version: "3.0.0", test_version2: "3.0.3" ) ) {
  report = report_fixed_ver( installed_version: version, fixed_version: "3.0.4", install_path: location );
  security_message( port: port, 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

09 Sep 2025 00:00Current
7.6High risk
Vulners AI Score7.6
CVSS 27.5
EPSS0.02498
35