Lucene search
+L

dotProject Multiple XSS and SQLi Vulnerabilities

🗓️ 02 Sep 2008 00:00:00Reported by Copyright (C) 2008 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 21 Views

dotProject Multiple XSS and SQLi Vulnerabilitie

Related
Refs
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2008-3886
2 Sep 200815:00
cve
cvelist
Cvelist
CVE-2008-3886
2 Sep 200815:00
cvelist
euvd
EUVD
EUVD-2008-3872
7 Oct 202500:30
euvd
nvd
NVD
CVE-2008-3886
2 Sep 200815:41
nvd
prion
Prion
Cross site scripting
2 Sep 200815:41
prion
prion
Prion
Cross site scripting
21 Oct 201414:55
prion
# SPDX-FileCopyrightText: 2008 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

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.900116");
  script_version("2025-03-05T05:38:52+0000");
  script_tag(name:"last_modification", value:"2025-03-05 05:38:52 +0000 (Wed, 05 Mar 2025)");
  script_tag(name:"creation_date", value:"2008-09-02 16:25:07 +0200 (Tue, 02 Sep 2008)");
  script_cve_id("CVE-2008-3886");
  script_copyright("Copyright (C) 2008 Greenbone AG");
  script_tag(name:"cvss_base", value:"4.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:N");
  script_name("dotProject Multiple XSS and SQLi Vulnerabilities");
  script_category(ACT_MIXED_ATTACK); # unknown why safe_checks was used below
  script_family("Web application abuses");
  script_dependencies("find_service.nasl", "no404.nasl", "webmirror.nasl", "DDI_Directory_Scanner.nasl", "gb_php_http_detect.nasl", "global_settings.nasl");
  script_require_ports("Services/www", 80);
  script_exclude_keys("Settings/disable_cgi_scanning");

  script_tag(name:"affected", value:"dotProject version 2.1.2 and prior on all platform.");

  script_tag(name:"summary", value:"dotProject is prone to multiple cross-site scripting (CSS)
  and SQL injection (SQLi) vulnerabilities.");

  script_tag(name:"insight", value:"The flaws exist due to:

  - improper sanitisation of input value passed to inactive, date,
  calendar, callback and day_view, public, dialog and ticketsmith
  parameters in index.php before being returned to the user.

  - failing to validate the input passed to the tab and user_id parameter
  in index.php file, before being used in SQL queries.");

  script_tag(name:"solution", value:"Upgrade to dotProject version 2.1.3 or later.");

  script_tag(name:"impact", value:"Successful exploitation will allow attackers to steal cookie
  based authentication credentials of user and administrator, and can also execute arbitrary code
  in the browser of an unsuspecting user in the context of an affected site.");

  script_xref(name:"URL", value:"http://secunia.com/advisories/31681/");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/30924");
  script_xref(name:"URL", value:"http://packetstorm.linuxsecurity.com/0808-exploits/dotproject-sqlxss.txt");

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

  exit(0);
}

include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");
include("list_array_func.inc");
include("version_func.inc");

port = http_get_port(default:80);
if(!http_can_host_php(port:port))
  exit(0);

foreach path (make_list_unique("/xampp/dotproject_2_1_2/dotproject", http_cgi_dirs(port:port))) {

  if(path == "/")
    path = "";

  rcvRes = http_get_cache(item: path + "/index.php", port:port);
  if(!rcvRes)
    continue;

  if(rcvRes =~ "^HTTP/1\.[01] 200" && egrep(pattern:"dotProject", string:rcvRes, icase:FALSE)) {
    if(safe_checks()) {
      if(ver = egrep(pattern:"Version ([01]\..*|2\.(0(\..*)?|1(\.[0-2])?))[^.0-9]", string:rcvRes)){
        report = report_fixed_ver(installed_version:ver, fixed_version:"2.1.3");
        security_message(port:port, data:report);
      }
      exit(0);
    }

    url = string(path, "/index.php?m=public&a=calendar&dialog=1&callback=setCalendar%22%3E%3Cimg/src/onerror=alert(101010)%3E");
    sndReq = http_get(item:url, port:port);
    rcvRes = http_keepalive_send_recv(port:port, data:sndReq, bodyonly:TRUE);
    if(!rcvRes)
      exit(0);

    if('alert(101010)%3E' >< rcvRes){
      report = http_report_vuln_url(url:url, port:port);
      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