Vulnerabilities > CVE-2014-3913 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in Ericom Accessnow Server

047910
CVSS 10.0 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
low complexity
ericom
CWE-119
critical
nessus
exploit available
metasploit

Summary

Stack-based buffer overflow in AccessServer32.exe in Ericom AccessNow Server allows remote attackers to execute arbitrary code via a request for a non-existent file.

Vulnerable Configurations

Part Description Count
Application
Ericom
1

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Exploit-Db

descriptionEricom AccessNow Server Buffer Overflow. CVE-2014-3913. Remote exploit for windows platform
fileexploits/windows/remote/33817.rb
idEDB-ID:33817
last seen2016-02-03
modified2014-06-19
platformwindows
port8080
published2014-06-19
reportermetasploit
sourcehttps://www.exploit-db.com/download/33817/
titleEricom AccessNow Server Buffer Overflow
typeremote

Metasploit

descriptionThis module exploits a stack based buffer overflow in Ericom AccessNow Server. The vulnerability is due to an insecure usage of vsprintf with user controlled data, which can be triggered with a malformed HTTP request. This module has been tested successfully with Ericom AccessNow Server 2.4.0.2 on Windows XP SP3 and Windows 2003 Server SP2.
idMSF:EXPLOIT/WINDOWS/HTTP/ERICOM_ACCESS_NOW_BOF
last seen2020-05-20
modified2017-07-24
published2014-06-17
references
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/http/ericom_access_now_bof.rb
titleEricom AccessNow Server Buffer Overflow

Nessus

NASL familyCGI abuses
NASL idERICOM_ACCESSNOW_3_3_1_4095.NASL
descriptionThe remote web server has an Ericom AccessNow server product prior to version 3.3.1.4095. It is, therefore, affected by a stack-based buffer overflow vulnerability that can be triggered by requesting a non-existent file. Successful exploitation can result in remote code execution or a denial of service condition.
last seen2020-06-01
modified2020-06-02
plugin id76311
published2014-06-30
reporterThis script is Copyright (C) 2014-2018 and is owned by Tenable, Inc. or an Affiliate thereof.
sourcehttps://www.tenable.com/plugins/nessus/76311
titleEricom AccessNow Server < 3.3.1.4095 Stack-Based Buffer Overflow
code
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(76311);
  script_version("1.5");
  script_cvs_date("Date: 2018/11/28 22:47:41");

  script_cve_id("CVE-2014-3913");
  script_bugtraq_id(67777);

  script_name(english:"Ericom AccessNow Server < 3.3.1.4095 Stack-Based Buffer Overflow");
  script_summary(english:"Checks AccessNow Server version.");

  script_set_attribute(attribute:"synopsis", value:"The remote host is affected by a buffer overflow vulnerability.");
  script_set_attribute(attribute:"description", value:
"The remote web server has an Ericom AccessNow server product prior to
version 3.3.1.4095. It is, therefore, affected by a stack-based buffer
overflow vulnerability that can be triggered by requesting a
non-existent file. Successful exploitation can result in remote code
execution or a denial of service condition.");
  script_set_attribute(attribute:"see_also", value:"https://www.ericom.com/security-ERM-2014-610.asp");
  script_set_attribute(attribute:"solution", value:"Upgrade to AccessNow version 3.3.1.4095 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_set_attribute(attribute:"exploit_framework_core", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'Ericom AccessNow Server Buffer Overflow');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2014/06/02");
  script_set_attribute(attribute:"patch_publication_date", value:"2014/06/02");
  script_set_attribute(attribute:"plugin_publication_date", value:"2014/06/30");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:ericom:accessnow_server");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"CGI abuses");

  script_copyright(english:"This script is Copyright (C) 2014-2018 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("ericom_accessnow_detect.nbin");
  script_require_keys("www/ericomaccessnow");
  script_require_ports("Services/www", 8080);

  exit(0);
}

include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
include("webapp_func.inc");

port = get_http_port(default:8080);

appname = "Ericom AccessNow";

install = get_install_from_kb(
  appname      : 'ericomaccessnow',
  port         : port,
  exit_on_fail : TRUE
);

dir = install["dir"];
version = install["ver"];

install_loc = build_url(port:port, qs:dir + "/");

if (version == UNKNOWN_VER) audit(AUDIT_UNKNOWN_WEB_APP_VER, appname, install_loc);

fixed = '3.3.1.4095';

if (ver_compare(ver:version, fix:fixed, strict:FALSE) == -1)
{

  if (report_verbosity > 0)
  {
    report =
      '\n  URL               : ' +install_loc+
      '\n  Installed version : ' +version+
      '\n  Fixed version     : ' + fixed + '\n';
    security_hole(port:port, extra:report);
  }
  else security_hole(port);
}
else audit(AUDIT_WEB_APP_NOT_AFFECTED, appname,  install_loc, version);

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/127152/ericom_access_now_bof.rb.txt
idPACKETSTORM:127152
last seen2016-12-05
published2014-06-19
reporterjuan vazquez
sourcehttps://packetstormsecurity.com/files/127152/Ericom-AccessNow-Server-Buffer-Overflow.html
titleEricom AccessNow Server Buffer Overflow