ID CVE-2013-2070
Summary http/modules/ngx_http_proxy_module.c in nginx 1.1.4 through 1.2.8 and 1.3.0 through 1.4.0, when proxy_pass is used with untrusted HTTP servers, allows remote attackers to cause a denial of service (crash) and obtain sensitive information from worker process memory via a crafted proxy response, a similar vulnerability to CVE-2013-2028.
References
Vulnerable Configurations
  • cpe:2.3:a:igor_sysoev:nginx:1.2.1
    cpe:2.3:a:igor_sysoev:nginx:1.2.1
  • cpe:2.3:a:igor_sysoev:nginx:1.2.2
    cpe:2.3:a:igor_sysoev:nginx:1.2.2
  • cpe:2.3:a:igor_sysoev:nginx:1.2.3
    cpe:2.3:a:igor_sysoev:nginx:1.2.3
  • cpe:2.3:a:igor_sysoev:nginx:1.2.4
    cpe:2.3:a:igor_sysoev:nginx:1.2.4
  • cpe:2.3:a:igor_sysoev:nginx:1.2.5
    cpe:2.3:a:igor_sysoev:nginx:1.2.5
  • cpe:2.3:a:igor_sysoev:nginx:1.2.6
    cpe:2.3:a:igor_sysoev:nginx:1.2.6
  • cpe:2.3:a:igor_sysoev:nginx:1.2.7
    cpe:2.3:a:igor_sysoev:nginx:1.2.7
  • cpe:2.3:a:igor_sysoev:nginx:1.2.8
    cpe:2.3:a:igor_sysoev:nginx:1.2.8
  • Nginx 1.1.4
    cpe:2.3:a:nginx:nginx:1.1.4
  • Nginx 1.1.6
    cpe:2.3:a:nginx:nginx:1.1.6
  • Nginx 1.1.7
    cpe:2.3:a:nginx:nginx:1.1.7
  • Nginx 1.1.8
    cpe:2.3:a:nginx:nginx:1.1.8
  • Nginx 1.1.9
    cpe:2.3:a:nginx:nginx:1.1.9
  • Nginx 1.1.10
    cpe:2.3:a:nginx:nginx:1.1.10
  • Nginx 1.1.11
    cpe:2.3:a:nginx:nginx:1.1.11
  • Nginx 1.1.12
    cpe:2.3:a:nginx:nginx:1.1.12
  • Nginx 1.1.13
    cpe:2.3:a:nginx:nginx:1.1.13
  • Nginx 1.1.15
    cpe:2.3:a:nginx:nginx:1.1.15
  • Nginx 1.1.16
    cpe:2.3:a:nginx:nginx:1.1.16
  • Nginx 1.1.17
    cpe:2.3:a:nginx:nginx:1.1.17
  • Nginx 1.1.18
    cpe:2.3:a:nginx:nginx:1.1.18
  • Nginx 1.1.19
    cpe:2.3:a:nginx:nginx:1.1.19
  • Nginx 1.2.0
    cpe:2.3:a:nginx:nginx:1.2.0
  • Nginx 1.3.0
    cpe:2.3:a:nginx:nginx:1.3.0
  • Nginx 1.3.1
    cpe:2.3:a:nginx:nginx:1.3.1
  • Nginx 1.3.2
    cpe:2.3:a:nginx:nginx:1.3.2
  • Nginx 1.3.3
    cpe:2.3:a:nginx:nginx:1.3.3
  • Nginx 1.3.4
    cpe:2.3:a:nginx:nginx:1.3.4
  • Nginx 1.3.5
    cpe:2.3:a:nginx:nginx:1.3.5
  • Nginx 1.3.6
    cpe:2.3:a:nginx:nginx:1.3.6
  • Nginx 1.3.7
    cpe:2.3:a:nginx:nginx:1.3.7
  • Nginx 1.3.8
    cpe:2.3:a:nginx:nginx:1.3.8
  • Nginx 1.3.9
    cpe:2.3:a:nginx:nginx:1.3.9
  • Nginx 1.3.10
    cpe:2.3:a:nginx:nginx:1.3.10
  • Nginx 1.3.11
    cpe:2.3:a:nginx:nginx:1.3.11
  • Nginx 1.3.12
    cpe:2.3:a:nginx:nginx:1.3.12
  • Nginx 1.3.13
    cpe:2.3:a:nginx:nginx:1.3.13
  • Nginx 1.3.14
    cpe:2.3:a:nginx:nginx:1.3.14
  • Nginx 1.3.15
    cpe:2.3:a:nginx:nginx:1.3.15
  • Nginx 1.3.16
    cpe:2.3:a:nginx:nginx:1.3.16
  • Nginx 1.4.0
    cpe:2.3:a:nginx:nginx:1.4.0
CVSS
Base: 5.8 (as of 22-07-2013 - 08:33)
Impact:
Exploitability:
CWE CWE-264
CAPEC
  • Accessing, Modifying or Executing Executable Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Blue Boxing
    This type of attack against older telephone switches and trunks has been around for decades. A tone is sent by an adversary to impersonate a supervisor signal which has the effect of rerouting or usurping command of the line. While the US infrastructure proper may not contain widespread vulnerabilities to this type of attack, many companies are connected globally through call centers and business process outsourcing. These international systems may be operated in countries which have not upgraded Telco infrastructure and so are vulnerable to Blue boxing. Blue boxing is a result of failure on the part of the system to enforce strong authorization for administrative functions. While the infrastructure is different than standard current applications like web applications, there are historical lessons to be learned to upgrade the access control for administrative functions.
  • Restful Privilege Elevation
    Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.
  • Target Programs with Elevated Privileges
    This attack targets programs running with elevated privileges. The attacker would try to leverage a bug in the running program and get arbitrary code to execute with elevated privileges. For instance an attacker would look for programs that write to the system directories or registry keys (such as HKLM, which stores a number of critical Windows environment variables). These programs are typically running with elevated privileges and have usually not been designed with security in mind. Such programs are excellent exploit targets because they yield lots of power when they break. The malicious user try to execute its code at the same level as a privileged system call.
  • Manipulating Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
Access
VectorComplexityAuthentication
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL NONE PARTIAL
nessus via4
  • NASL family Web Servers
    NASL id NGINX_1_2_9.NASL
    description According to its Server response header, the installed version of nginx is 1.1.x, greater than or equal to 1.1.4, or 1.2.x prior to 1.2.9. It is, therefore, affected by a memory disclosure vulnerability in 'ngx_http_proxy_module.c' when 'proxy_pass' to untrusted upstream servers is used. By sending a specially crafted request, an attacker may be able to gain access to worker process memory or trigger a denial of service condition.
    last seen 2019-02-21
    modified 2018-09-17
    plugin id 66671
    published 2013-05-29
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=66671
    title nginx ngx_http_proxy_module.c Memory Disclosure
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-2721.NASL
    description A buffer overflow has been identified in nginx, a small, powerful, scalable web/proxy server, when processing certain chunked transfer encoding requests if proxy_pass to untrusted upstream HTTP servers is used. An attacker may use this flaw to perform denial of service attacks, disclose worker process memory, or possibly execute arbitrary code. The oldstable distribution (squeeze) is not affected by this problem.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 67202
    published 2013-07-08
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=67202
    title Debian DSA-2721-1 : nginx - buffer overflow
  • NASL family Amazon Linux Local Security Checks
    NASL id ALA_ALAS-2013-189.NASL
    description http/modules/ngx_http_proxy_module.c in nginx 1.1.4 through 1.2.8 and 1.3.0 through 1.4.0, when proxy_pass is used with untrusted HTTP servers, allows remote attackers to cause a denial of service (crash) and obtain sensitive information from worker process memory via a crafted proxy response, a similar vulnerability to CVE-2013-2028 .
    last seen 2019-02-21
    modified 2018-04-18
    plugin id 69748
    published 2013-09-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=69748
    title Amazon Linux AMI : nginx (ALAS-2013-189)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2013-8182.NASL
    description Update to upstream release 1.2.9 which fixes : - CVE-2013-2070 'denial of service or memory disclosure when using proxy_pass' fix build on platforms without gperftools Update to upstream release 1.4.0, which includes support for proxying of WebSocket connections, OCSP stapling, SPDY module, gunzip filter and more. Build with '--with-debug' to enable optional debugging Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-10-19
    plugin id 66577
    published 2013-05-24
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=66577
    title Fedora 18 : nginx-1.2.9-1.fc18 (2013-8182)
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2013-484.NASL
    description This version update for nginx to 1.2.9 includes a security fix and several bugfixes and feature enhancements. (bnc#821184) *) Security: contents of worker process memory might be sent to a client if HTTP backend returned specially crafted response (CVE-2013-2070); the bug had appeared in 1.1.4. - changes with 1.2.8 : *) Bugfix: new sessions were not always stored if the 'ssl_session_cache shared' directive was used and there was no free space in shared memory. *) Bugfix: responses might hang if subrequests were used and a DNS error happened during subrequest processing. *) Bugfix: in the ngx_http_mp4_module. *) Bugfix: in backend usage accounting. - changes with nginx 1.2.7 *) Change: now if the 'include' directive with mask is used on Unix systems, included files are sorted in alphabetical order. *) Change: the 'add_header' directive adds headers to 201 responses. *) Feature: the 'geo' directive now supports IPv6 addresses in CIDR notation. *) Feature: the 'flush' and 'gzip' parameters of the 'access_log' directive. *) Feature: variables support in the 'auth_basic' directive. *) Feature: the $pipe, $request_length, $time_iso8601, and $time_local variables can now be used not only in the 'log_format' directive. *) Feature: IPv6 support in the ngx_http_geoip_module. *) Bugfix: nginx could not be built with the ngx_http_perl_module in some cases. *) Bugfix: a segmentation fault might occur in a worker process if the ngx_http_xslt_module was used. *) Bugfix: nginx could not be built on MacOSX in some cases. *) Bugfix: the 'limit_rate' directive with high rates might result in truncated responses on 32-bit platforms. *) Bugfix: a segmentation fault might occur in a worker process if the 'if' directive was used. *) Bugfix: a '100 Continue' response was issued with '413 Request Entity Too Large' responses. *) Bugfix: the 'image_filter', 'image_filter_jpeg_quality' and 'image_filter_sharpen' directives might be inherited incorrectly. *) Bugfix: 'crypt_r() failed' errors might appear if the 'auth_basic' directive was used on Linux. *) Bugfix: in backup servers handling. *) Bugfix: proxied HEAD requests might return incorrect response if the 'gzip' directive was used. *) Bugfix: a segmentation fault occurred on start or during reconfiguration if the 'keepalive' directive was specified more than once in a single upstream block. *) Bugfix: in the 'proxy_method' directive. *) Bugfix: a segmentation fault might occur in a worker process if resolver was used with the poll method. *) Bugfix: nginx might hog CPU during SSL handshake with a backend if the select, poll, or /dev/poll methods were used. *) Bugfix: the '[crit] SSL_write() failed (SSL:)' error. *) Bugfix: in the 'fastcgi_keep_conn' directive.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 75025
    published 2014-06-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=75025
    title openSUSE Security Update : nginx (openSUSE-SU-2013:1015-1)
  • NASL family Web Servers
    NASL id NGINX_1_5_0.NASL
    description According to its Server response header, the installed version of nginx is 1.3.x, greater than or equal to 1.3.9, or 1.4.x prior to 1.4.1. It is, therefore, affected by multiple vulnerabilities : - A stack-based buffer overflow in 'ngx_http_parse.c' may allow a remote attacker to execute arbitrary code or trigger a denial of service condition via a specially crafted HTTP request. This vulnerability only affects versions greater than or equal to 1.3.9 and less than 1.4.1. (CVE-2013-2028) - A memory disclosure vulnerability in 'ngx_http_parse.c' affects servers that use 'proxy_pass' to untrusted upstream servers. This issue can be triggered by a remote attacker via a specially crafted HTTP request. Failed attempts may result in a denial of service condition. (CVE-2013-2070)
    last seen 2019-02-21
    modified 2018-07-17
    plugin id 66672
    published 2013-05-29
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=66672
    title nginx ngx_http_proxy_module.c Multiple Vulnerabilities
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201310-04.NASL
    description The remote host is affected by the vulnerability described in GLSA-201310-04 (nginx: Multiple vulnerabilities) Multiple vulnerabilities have been discovered in nginx. Please review the CVE identifiers referenced below for details. Impact : A remote attacker could send a specially crafted request, possibly resulting in execution of arbitrary code with the privileges of the process, or a Denial of Service condition. Furthermore, a context-dependent attacker may be able to obtain sensitive information. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2018-07-11
    plugin id 70310
    published 2013-10-07
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=70310
    title GLSA-201310-04 : nginx: Multiple vulnerabilities
  • NASL family FreeBSD Local Security Checks
    NASL id FREEBSD_PKG_EFAA4071B70011E2B1B9F0DEF16C5C1B.NASL
    description The nginx project reports : A stack-based buffer overflow might occur in a worker process process while handling a specially crafted request, potentially resulting in arbitrary code execution. [CVE-2013-2028] A security problem related to CVE-2013-2028 was identified, affecting some previous nginx versions if proxy_pass to untrusted upstream HTTP servers is used. The problem may lead to a denial of service or a disclosure of a worker process memory on a specially crafted response from an upstream proxied server. [CVE-2013-2070]
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 66341
    published 2013-05-08
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=66341
    title FreeBSD : nginx -- multiple vulnerabilities (efaa4071-b700-11e2-b1b9-f0def16c5c1b)
refmap via4
bid 59824
debian DSA-2721
fedora FEDORA-2013-8182
gentoo GLSA-201310-04
misc
mlist
  • [nginx-announce] 20130513 nginx security advisory (CVE-2013-2070)
  • [oss-security] 20130507 Re: nginx security advisory (CVE-2013-2028)
  • [oss-security] 20130513 nginx security advisory (CVE-2013-2070)
secunia 55181
xf nginx-cve20132070-dos(84172)
Last major update 27-01-2014 - 23:52
Published 19-07-2013 - 23:37
Last modified 30-10-2018 - 12:26
Back to Top