Vulnerabilities > CVE-2014-2013 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Artifex Mupdf

047910
CVSS 0.0 - NONE
Attack vector
UNKNOWN
Attack complexity
UNKNOWN
Privileges required
UNKNOWN
Confidentiality impact
UNKNOWN
Integrity impact
UNKNOWN
Availability impact
UNKNOWN
artifex
CWE-119
nessus
exploit available

Summary

Stack-based buffer overflow in the xps_parse_color function in xps/xps-common.c in MuPDF 1.3 and earlier allows remote attackers to execute arbitrary code via a large number of entries in the ContextColor value of the Fill attribute in a Path element.

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

descriptionMuPDF 1.3 - Stack-based Buffer Overflow in xps_parse_color(). CVE-2014-2013. Local exploit for windows platform
fileexploits/windows/local/31090.txt
idEDB-ID:31090
last seen2016-02-03
modified2014-01-20
platformwindows
port
published2014-01-20
reporterJean-Jamil Khalife
sourcehttps://www.exploit-db.com/download/31090/
titleMuPDF 1.3 - Stack-based Buffer Overflow in xps_parse_color
typelocal

Nessus

  • NASL familyDebian Local Security Checks
    NASL idDEBIAN_DSA-2951.NASL
    descriptionIt was discovered that a buffer overflow in the MuPDF viewer might lead to the execution of arbitrary code.
    last seen2020-03-17
    modified2014-06-06
    plugin id74338
    published2014-06-06
    reporterThis script is Copyright (C) 2014-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/74338
    titleDebian DSA-2951-1 : mupdf - security update
  • NASL familyGentoo Local Security Checks
    NASL idGENTOO_GLSA-201412-43.NASL
    descriptionThe remote host is affected by the vulnerability described in GLSA-201412-43 (MuPDF: User-assisted execution of arbitrary code) Multiple vulnerabilities have been discovered in MuPDF. Please review the CVE identifier and Secunia Research referenced below for details. Impact : A remote attacker could entice a user to open a specially crafted PDF using MuPDF, 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 seen2020-06-01
    modified2020-06-02
    plugin id80264
    published2014-12-29
    reporterThis script is Copyright (C) 2014-2018 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/80264
    titleGLSA-201412-43 : MuPDF: User-assisted execution of arbitrary code
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2014-172.NASL
    descriptionmupdf received a security updated to fix a stack based array overflow in xps_parse_color() (bnc#863975, CVE-2014-2013)
    last seen2020-06-05
    modified2014-06-13
    plugin id75269
    published2014-06-13
    reporterThis script is Copyright (C) 2014-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/75269
    titleopenSUSE Security Update : mupdf (openSUSE-SU-2014:0309-1)