ID CVE-2012-2089
Summary Buffer overflow in ngx_http_mp4_module.c in the ngx_http_mp4_module module in nginx 1.0.7 through 1.0.14 and 1.1.3 through 1.1.18, when the mp4 directive is used, allows remote attackers to cause a denial of service (memory overwrite) or possibly execute arbitrary code via a crafted MP4 file.
References
Vulnerable Configurations
  • Nginx 1.0.7
    cpe:2.3:a:nginx:nginx:1.0.7
  • Nginx 1.0.8
    cpe:2.3:a:nginx:nginx:1.0.8
  • Nginx 1.0.9
    cpe:2.3:a:nginx:nginx:1.0.9
  • Nginx 1.0.10
    cpe:2.3:a:nginx:nginx:1.0.10
  • Nginx 1.0.11
    cpe:2.3:a:nginx:nginx:1.0.11
  • Nginx 1.0.12
    cpe:2.3:a:nginx:nginx:1.0.12
  • Nginx 1.0.13
    cpe:2.3:a:nginx:nginx:1.0.13
  • Nginx 1.0.14
    cpe:2.3:a:nginx:nginx:1.0.14
  • Nginx 1.1.3
    cpe:2.3:a:nginx:nginx:1.1.3
  • Nginx 1.1.4
    cpe:2.3:a:nginx:nginx:1.1.4
  • Nginx 1.1.5
    cpe:2.3:a:nginx:nginx:1.1.5
  • 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.14
    cpe:2.3:a:nginx:nginx:1.1.14
  • 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
CVSS
Base: 5.1 (as of 18-04-2012 - 11:16)
Impact:
Exploitability:
CWE CWE-119
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.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
Access
VectorComplexityAuthentication
NETWORK HIGH NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
nessus via4
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2012-6238.NASL
    description Update to 1.0.15 and enable _hardened_build 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-01-16
    modified 2015-10-20
    plugin id 58915
    published 2012-04-30
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=58915
    title Fedora 17 : nginx-1.0.15-2.fc17 (2012-6238)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2012-6371.NASL
    description Update to 1.0.15 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-01-16
    modified 2016-05-09
    plugin id 58929
    published 2012-05-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=58929
    title Fedora 15 : nginx-1.0.15-1.fc15 (2012-6371)
  • NASL family Web Servers
    NASL id NGINX_1_0_15.NASL
    description The remote web server is running nginx, a lightweight, high performance web server / reverse proxy and email (IMAP/POP3) proxy. According to its Server response header, the installed version of nginx is between 1.0.7 and 1.0.14 or 1.1.3 and 1.1.18 and is, therefore, affected by a buffer overflow vulnerability. An error in the module 'ngx_http_mp4_module' can allow a specially crafted mp4 file to cause a buffer overflow and can potentially allow arbitrary code execution. Note that successful exploitation requires that the 'mp4' configuration option is enabled and the module 'ngx_http_mp4_module' is enabled. Nessus has not checked for either of these settings.
    last seen 2019-01-16
    modified 2018-11-15
    plugin id 58750
    published 2012-04-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=58750
    title nginx 1.0.7 - 1.0.14 / 1.1.3 - 1.1.18 ngx_http_mp4_module Buffer Overflow
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2012-6411.NASL
    description Update to 1.0.15 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-01-16
    modified 2016-05-09
    plugin id 58934
    published 2012-05-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=58934
    title Fedora 16 : nginx-1.0.15-1.fc16 (2012-6411)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201206-07.NASL
    description The remote host is affected by the vulnerability described in GLSA-201206-07 (nginx: User-assisted execution of arbitrary code) An error in ngx_http_mp4_module.c could cause a buffer overflow. NOTE: nginx must have been emerged with USE='nginx_modules_http_mp4' in order to be affected by this vulnerability. Impact : A remote attacker could entice a user to place a specially crafted MP4 file on the nginx server, possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition. Workaround : There is no known workaround at this time.
    last seen 2019-01-16
    modified 2018-07-11
    plugin id 59645
    published 2012-06-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=59645
    title GLSA-201206-07 : nginx: User-assisted execution of arbitrary code
  • NASL family Amazon Linux Local Security Checks
    NASL id ALA_ALAS-2012-74.NASL
    description Buffer overflow in ngx_http_mp4_module.c in the ngx_http_mp4_module module in nginx 1.0.7 through 1.0.14 and 1.1.3 through 1.1.18, when the mp4 directive is used, allows remote attackers to cause a denial of service (memory overwrite) or possibly execute arbitrary code via a crafted MP4 file.
    last seen 2019-01-16
    modified 2018-04-18
    plugin id 69681
    published 2013-09-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=69681
    title Amazon Linux AMI : nginx (ALAS-2012-74)
  • NASL family FreeBSD Local Security Checks
    NASL id FREEBSD_PKG_0C14DFA7879E11E1A2A000500802D8F7.NASL
    description The nginx project reports : Buffer overflow in the ngx_http_mp4_module
    last seen 2018-11-13
    modified 2018-11-10
    plugin id 58756
    published 2012-04-16
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=58756
    title FreeBSD : nginx -- Buffer overflow in the ngx_http_mp4_module (0c14dfa7-879e-11e1-a2a0-00500802d8f7)
refmap via4
bid 52999
confirm http://nginx.org/en/security_advisories.html
fedora
  • FEDORA-2012-6238
  • FEDORA-2012-6371
  • FEDORA-2012-6411
mlist [oss-security] 20120412 nginx security advisory: mp4 module vulnerability, CVE-2012-2089
sectrack 1026924
xf nginx-ngxhttpmp4module-bo(74831)
Last major update 28-12-2012 - 23:40
Published 17-04-2012 - 17:55
Last modified 30-10-2018 - 12:26
Back to Top