Lucene search
K

SQL-Ledger Multiple Vulnerabilities

🗓️ 31 Dec 2009 00:00:00Reported by Copyright (C) 2009 SecPodType 
openvas
 openvas
🔗 plugins.openvas.org👁 19 Views

SQL-Ledger Multiple Vulnerabilities. Application prone to multiple vulnerabilities allowing cross-site request forgery, script insertion, and SQL injection attacks

Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2009-3580
23 Dec 200918:00
cve
CVE
CVE-2009-3581
23 Dec 200918:00
cve
CVE
CVE-2009-3582
23 Dec 200918:00
cve
CVE
CVE-2009-3583
23 Dec 200918:00
cve
CVE
CVE-2009-3584
23 Dec 200918:00
cve
CVE
CVE-2009-4402
23 Dec 200918:00
cve
Cvelist
CVE-2009-3580
23 Dec 200918:00
cvelist
Cvelist
CVE-2009-3581
23 Dec 200918:00
cvelist
Cvelist
CVE-2009-3582
23 Dec 200918:00
cvelist
Cvelist
CVE-2009-3583
23 Dec 200918:00
cvelist
Rows per page
###############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_sql_ledger_mult_vuln.nasl 5122 2017-01-27 12:16:00Z teissa $
#
# SQL-Ledger Multiple Vulnerabilities
#
# Authors:
# Sharath S <[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.
###############################################################################

tag_impact = "Successful exploitation will allow attacker to conduct cross-site request
  forgery attacks and by malicious users to conduct script insertion and SQL
  injection attacks, or bypass certain security restrictions.
  Impact Level: Application";
tag_affected = "SQL-Ledger version 2.8.24 and prior";
tag_insight = "- The application allows users to perform certain actions via HTTP requests
    without performing any validity checks to verify the request. This can be
    exploited to perform actions with the privileges of a target user, who is
    tricked into visiting a malicious website.
  - Input passed via customer names, vendor names, the DCN description field
    in 'Accounts Receivables', and the description field in 'Accounts Payable',
    is not properly sanitised before being used. This can be exploited to
    insert arbitrary HTML and script code, which is executed in a user's browser
    session in context of an affected site when the malicious data is viewed.
  - Input passed via the 'id' parameter when searching for vendors is not
    properly sanitised before being used in SQL queries. This can be exploited
    to manipulate SQL queries by injecting arbitrary SQL code.
  - Input passed via the 'countrycode' field in 'Preferences' is not properly
    sanitised before used to include files. This can be exploited to include
    arbitrary '.pl' files from the local system via directory traversal attacks.";
tag_solution = "Upgrade to SQL-Ledger version 2.8.30 or later.
  For updates refer to http://www.sql-ledger.org/";
tag_summary = "This host is running SQL-Ledger and is prone to multiple
  vulnerabilities.";

if(description)
{
  script_id(902010);
  script_version("$Revision: 5122 $");
  script_tag(name:"last_modification", value:"$Date: 2017-01-27 13:16:00 +0100 (Fri, 27 Jan 2017) $");
  script_tag(name:"creation_date", value:"2009-12-31 08:44:14 +0100 (Thu, 31 Dec 2009)");
  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_cve_id("CVE-2009-3580", "CVE-2009-3581", "CVE-2009-3582",
                "CVE-2009-3583", "CVE-2009-3584", "CVE-2009-4402");
  script_bugtraq_id(37431);
  script_name("SQL-Ledger Multiple Vulnerabilities");


  script_tag(name:"qod_type", value:"remote_banner");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2009 SecPod");
  script_family("Web application abuses");
  script_dependencies("secpod_sql_ledger_detect.nasl");
  script_require_ports("Services/www", 80);
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  script_xref(name : "URL" , value : "http://secunia.com/advisories/37877");
  script_xref(name : "URL" , value : "http://xforce.iss.net/xforce/xfdb/54964");
  script_xref(name : "URL" , value : "http://archives.neohapsis.com/archives/fulldisclosure/2009-12/0415.html");
  exit(0);
}


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

ledgerPort = get_http_port(default:80);
if(!ledgerPort){
  exit(0);
}

ledgerVer = get_kb_item("www/"+ ledgerPort + "/SQL-Ledger");
if(!ledgerVer){
  exit(0);
}

ledgerVer = eregmatch(pattern:"^(.+) under (/.*)$", string:ledgerVer);
if(ledgerVer[1] != NULL)
{
  # Check for SQL-Ledger version 2.8.24 and prior
  if(version_is_less_equal(version:ledgerVer[1], test_version:"2.8.24")){
    security_message(ledgerPort);
  }
}

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