Vulnerabilities > CVE-2016-10504 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Uclouvain Openjpeg
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
NONE Integrity impact
NONE Availability impact
HIGH Summary
Heap-based buffer overflow vulnerability in the opj_mqc_byteout function in mqc.c in OpenJPEG before 2.2.0 allows remote attackers to cause a denial of service (application crash) via a crafted bmp file.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
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
description | OpenJPEG - 'mqc.c' Heap-Based Buffer Overflow. CVE-2016-10504. Dos exploit for Linux platform |
file | exploits/linux/dos/42600.txt |
id | EDB-ID:42600 |
last seen | 2017-09-02 |
modified | 2017-09-01 |
platform | linux |
port | |
published | 2017-09-01 |
reporter | Exploit-DB |
source | https://www.exploit-db.com/download/42600/ |
title | OpenJPEG - 'mqc.c' Heap-Based Buffer Overflow |
type | dos |
Nessus
NASL family Debian Local Security Checks NASL id DEBIAN_DSA-4013.NASL description Multiple vulnerabilities in OpenJPEG, a JPEG 2000 image compression / decompression library, may result in denial of service or the execution of arbitrary code if a malformed JPEG 2000 file is processed. last seen 2020-06-01 modified 2020-06-02 plugin id 104339 published 2017-11-02 reporter This script is Copyright (C) 2017-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/104339 title Debian DSA-4013-1 : openjpeg2 - security update NASL family Gentoo Local Security Checks NASL id GENTOO_GLSA-201710-26.NASL description The remote host is affected by the vulnerability described in GLSA-201710-26 (OpenJPEG: Multiple vulnerabilities) Multiple vulnerabilities have been discovered in OpenJPEG. Please review the references below for details. Impact : A remote attacker, via a crafted BMP, PDF, or j2k document, could execute arbitrary code, cause a Denial of Service condition, or have other unspecified impacts. Workaround : There is no known workaround at this time. last seen 2020-06-01 modified 2020-06-02 plugin id 104069 published 2017-10-23 reporter This script is Copyright (C) 2017-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/104069 title GLSA-201710-26 : OpenJPEG: Multiple vulnerabilities
References
- http://www.debian.org/security/2017/dsa-4013
- http://www.debian.org/security/2017/dsa-4013
- http://www.securityfocus.com/bid/100564
- http://www.securityfocus.com/bid/100564
- https://github.com/uclouvain/openjpeg/commit/397f62c0a838e15d667ef50e27d5d011d2c79c04
- https://github.com/uclouvain/openjpeg/commit/397f62c0a838e15d667ef50e27d5d011d2c79c04
- https://github.com/uclouvain/openjpeg/issues/835
- https://github.com/uclouvain/openjpeg/issues/835
- https://security.gentoo.org/glsa/201710-26
- https://security.gentoo.org/glsa/201710-26
- https://www.exploit-db.com/exploits/42600/
- https://www.exploit-db.com/exploits/42600/