Vulnerabilities > CVE-2013-6052 - Information Exposure vulnerability in Uclouvain Openjpeg

047910
CVSS 5.0 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
NONE
Availability impact
NONE
network
low complexity
uclouvain
CWE-200
nessus

Summary

OpenJPEG 1.3 and earlier allows remote attackers to obtain sensitive information via unspecified vectors that trigger a heap-based out-of-bounds read.

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Subverting Environment Variable Values
    The attacker directly or indirectly modifies environment variables used by or controlling the target software. The attacker's goal is to cause the target software to deviate from its expected operation in a manner that benefits the attacker.
  • Footprinting
    An attacker engages in probing and exploration activity to identify constituents and properties of the target. Footprinting is a general term to describe a variety of information gathering techniques, often used by attackers in preparation for some attack. It consists of using tools to learn as much as possible about the composition, configuration, and security mechanisms of the targeted application, system or network. Information that might be collected during a footprinting effort could include open ports, applications and their versions, network topology, and similar information. While footprinting is not intended to be damaging (although certain activities, such as network scans, can sometimes cause disruptions to vulnerable applications inadvertently) it may often pave the way for more damaging attacks.
  • Exploiting Trust in Client (aka Make the Client Invisible)
    An attack of this type exploits a programs' vulnerabilities in client/server communication channel authentication and data integrity. It leverages the implicit trust a server places in the client, or more importantly, that which the server believes is the client. An attacker executes this type of attack by placing themselves in the communication channel between client and server such that communication directly to the server is possible where the server believes it is communicating only with a valid client. There are numerous variations of this type of attack.
  • Browser Fingerprinting
    An attacker carefully crafts small snippets of Java Script to efficiently detect the type of browser the potential victim is using. Many web-based attacks need prior knowledge of the web browser including the version of browser to ensure successful exploitation of a vulnerability. Having this knowledge allows an attacker to target the victim with attacks that specifically exploit known or zero day weaknesses in the type and version of the browser used by the victim. Automating this process via Java Script as a part of the same delivery system used to exploit the browser is considered more efficient as the attacker can supply a browser fingerprinting method and integrate it with exploit code, all contained in Java Script and in response to the same web page request by the browser.
  • Session Credential Falsification through Prediction
    This attack targets predictable session ID in order to gain privileges. The attacker can predict the session ID used during a transaction to perform spoofing and session hijacking.

Nessus

  • NASL familyAmazon Linux Local Security Checks
    NASL idALA_ALAS-2014-271.NASL
    descriptionMultiple heap-based buffer overflow flaws were found in OpenJPEG. An attacker could create a specially crafted OpenJPEG image that, when opened, could cause an application using openjpeg to crash or, possibly, execute arbitrary code with the privileges of the user running the application. (CVE-2013-6045 , CVE-2013-6054) Multiple denial of service flaws were found in OpenJPEG. An attacker could create a specially crafted OpenJPEG image that, when opened, could cause an application using openjpeg to crash (CVE-2013-1447 , CVE-2013-6052)
    last seen2020-06-01
    modified2020-06-02
    plugin id72289
    published2014-02-05
    reporterThis script is Copyright (C) 2014-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/72289
    titleAmazon Linux AMI : openjpeg (ALAS-2014-271)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from Amazon Linux AMI Security Advisory ALAS-2014-271.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(72289);
      script_version("1.4");
      script_cvs_date("Date: 2018/04/18 15:09:35");
    
      script_cve_id("CVE-2013-1447", "CVE-2013-6045", "CVE-2013-6052", "CVE-2013-6054");
      script_xref(name:"ALAS", value:"2014-271");
      script_xref(name:"RHSA", value:"2013:1850");
    
      script_name(english:"Amazon Linux AMI : openjpeg (ALAS-2014-271)");
      script_summary(english:"Checks rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Amazon Linux AMI host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Multiple heap-based buffer overflow flaws were found in OpenJPEG. An
    attacker could create a specially crafted OpenJPEG image that, when
    opened, could cause an application using openjpeg to crash or,
    possibly, execute arbitrary code with the privileges of the user
    running the application. (CVE-2013-6045 , CVE-2013-6054)
    
    Multiple denial of service flaws were found in OpenJPEG. An attacker
    could create a specially crafted OpenJPEG image that, when opened,
    could cause an application using openjpeg to crash (CVE-2013-1447 ,
    CVE-2013-6052)"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://alas.aws.amazon.com/ALAS-2014-271.html"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Run 'yum update openjpeg' to update your system."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:openjpeg");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:openjpeg-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:openjpeg-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:openjpeg-libs");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:amazon:linux");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2014/01/14");
      script_set_attribute(attribute:"plugin_publication_date", value:"2014/02/05");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2014-2018 Tenable Network Security, Inc.");
      script_family(english:"Amazon Linux Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/AmazonLinux/release", "Host/AmazonLinux/rpm-list");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    
    release = get_kb_item("Host/AmazonLinux/release");
    if (isnull(release) || !strlen(release)) audit(AUDIT_OS_NOT, "Amazon Linux");
    os_ver = pregmatch(pattern: "^AL(A|\d)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Amazon Linux");
    os_ver = os_ver[1];
    if (os_ver != "A")
    {
      if (os_ver == 'A') os_ver = 'AMI';
      audit(AUDIT_OS_NOT, "Amazon Linux AMI", "Amazon Linux " + os_ver);
    }
    
    if (!get_kb_item("Host/AmazonLinux/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    
    flag = 0;
    if (rpm_check(release:"ALA", reference:"openjpeg-1.3-10.7.amzn1")) flag++;
    if (rpm_check(release:"ALA", reference:"openjpeg-debuginfo-1.3-10.7.amzn1")) flag++;
    if (rpm_check(release:"ALA", reference:"openjpeg-devel-1.3-10.7.amzn1")) flag++;
    if (rpm_check(release:"ALA", reference:"openjpeg-libs-1.3-10.7.amzn1")) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get());
      else security_hole(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "openjpeg / openjpeg-debuginfo / openjpeg-devel / openjpeg-libs");
    }
    
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2013-22827.NASL
    descriptionFix CVE-2013-6045 CVE-2013-6052 CVE-2013-6053 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 seen2020-03-17
    modified2013-12-16
    plugin id71444
    published2013-12-16
    reporterThis script is Copyright (C) 2013-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/71444
    titleFedora 20 : mingw-openjpeg-1.5.1-5.fc20 (2013-22827)
  • NASL familyOracle Linux Local Security Checks
    NASL idORACLELINUX_ELSA-2013-1850.NASL
    descriptionFrom Red Hat Security Advisory 2013:1850 : Updated openjpeg packages that fix multiple security issues are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having important security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. OpenJPEG is an open source library for reading and writing image files in JPEG 2000 format. Multiple heap-based buffer overflow flaws were found in OpenJPEG. An attacker could create a specially crafted OpenJPEG image that, when opened, could cause an application using openjpeg to crash or, possibly, execute arbitrary code with the privileges of the user running the application. (CVE-2013-6045, CVE-2013-6054) Multiple denial of service flaws were found in OpenJPEG. An attacker could create a specially crafted OpenJPEG image that, when opened, could cause an application using openjpeg to crash (CVE-2013-1447, CVE-2013-6052) Red Hat would like to thank Raphael Geissert for reporting these issues. Users of OpenJPEG are advised to upgrade to these updated packages, which contain backported patches to correct these issues. All running applications using OpenJPEG must be restarted for the update to take effect.
    last seen2020-06-01
    modified2020-06-02
    plugin id71513
    published2013-12-18
    reporterThis script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/71513
    titleOracle Linux 6 : openjpeg (ELSA-2013-1850)
  • NASL familyOracleVM Local Security Checks
    NASL idORACLEVM_OVMSA-2017-0048.NASL
    descriptionThe remote OracleVM system is missing necessary patches to address critical security updates : - Revert previous changes in patch for (CVE-2016-5159) - Fix double free in patch for (CVE-2016-5139) - Fix memory leaks and invalid read in cio_bytein Related: #1419775 - Add two more allocation checks to patch for (CVE-2016-5159) Related: #1419775 - Add patches for CVE-2016-5139, CVE-2016-5158, (CVE-2016-5159) Related: #1419775 - Fix patch name: CVE-2016-9675 => (CVE-2016-7163) Related: #1419775 - Add patch for (CVE-2016-9675) - Fix Coverity issues Resolves: #1419775
    last seen2020-06-01
    modified2020-06-02
    plugin id97908
    published2017-03-23
    reporterThis script is Copyright (C) 2017-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/97908
    titleOracleVM 3.3 / 3.4 : openjpeg (OVMSA-2017-0048)
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2013-1850.NASL
    descriptionUpdated openjpeg packages that fix multiple security issues are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having important security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. OpenJPEG is an open source library for reading and writing image files in JPEG 2000 format. Multiple heap-based buffer overflow flaws were found in OpenJPEG. An attacker could create a specially crafted OpenJPEG image that, when opened, could cause an application using openjpeg to crash or, possibly, execute arbitrary code with the privileges of the user running the application. (CVE-2013-6045, CVE-2013-6054) Multiple denial of service flaws were found in OpenJPEG. An attacker could create a specially crafted OpenJPEG image that, when opened, could cause an application using openjpeg to crash (CVE-2013-1447, CVE-2013-6052) Red Hat would like to thank Raphael Geissert for reporting these issues. Users of OpenJPEG are advised to upgrade to these updated packages, which contain backported patches to correct these issues. All running applications using OpenJPEG must be restarted for the update to take effect.
    last seen2020-06-01
    modified2020-06-02
    plugin id71516
    published2013-12-18
    reporterThis script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/71516
    titleRHEL 6 : openjpeg (RHSA-2013:1850)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2014-0719.NASL
    descriptionA plethora of security updates. 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 seen2020-03-17
    modified2014-01-31
    plugin id72221
    published2014-01-31
    reporterThis script is Copyright (C) 2014-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/72221
    titleFedora 19 : openjpeg-1.5.1-8.fc19 (2014-0719)
  • NASL familyFreeBSD Local Security Checks
    NASL idFREEBSD_PKG_02DB20D7E34A11E3BD92BCAEC565249C.NASL
    descriptionOpenjpeg release notes report : That CVE-2012-3535 and CVE-2012-3358 are fixed in the 1.5.1 release. That CVE-2013-4289, CVE-2013-4290, CVE-2013-1447, CVE-2013-6045, CVE-2013-6052, CVE-2013-6054, CVE-2013-6053, CVE-2013-6887, where fixed in the 1.5.2 release.
    last seen2020-06-01
    modified2020-06-02
    plugin id74176
    published2014-05-26
    reporterThis script is Copyright (C) 2014-2018 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/74176
    titleFreeBSD : openjpeg -- Multiple vulnerabilities (02db20d7-e34a-11e3-bd92-bcaec565249c)
  • NASL familyDebian Local Security Checks
    NASL idDEBIAN_DSA-2808.NASL
    descriptionSeveral vulnerabilities have been discovered in OpenJPEG, a JPEG 2000 image library, that may lead to denial of service (CVE-2013-1447 ) via application crash or high memory consumption, possible code execution through heap buffer overflows (CVE-2013-6045 ), information disclosure (CVE-2013-6052 ), or yet another heap buffer overflow that only appears to affect OpenJPEG 1.3 (CVE-2013-6054 ).
    last seen2020-03-17
    modified2013-12-04
    plugin id71180
    published2013-12-04
    reporterThis script is Copyright (C) 2013-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/71180
    titleDebian DSA-2808-1 : openjpeg - several vulnerabilities
  • NASL familyScientific Linux Local Security Checks
    NASL idSL_20131217_OPENJPEG_ON_SL6_X.NASL
    descriptionMultiple heap-based buffer overflow flaws were found in OpenJPEG. An attacker could create a specially crafted OpenJPEG image that, when opened, could cause an application using openjpeg to crash or, possibly, execute arbitrary code with the privileges of the user running the application. (CVE-2013-6045, CVE-2013-6054) Multiple denial of service flaws were found in OpenJPEG. An attacker could create a specially crafted OpenJPEG image that, when opened, could cause an application using openjpeg to crash (CVE-2013-1447, CVE-2013-6052) All running applications using OpenJPEG must be restarted for the update to take effect.
    last seen2020-03-18
    modified2013-12-18
    plugin id71517
    published2013-12-18
    reporterThis script is Copyright (C) 2013-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/71517
    titleScientific Linux Security Update : openjpeg on SL6.x i386/x86_64 (20131217)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2014-0708.NASL
    descriptionA plethora of security updates. 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 seen2020-03-17
    modified2014-01-15
    plugin id71959
    published2014-01-15
    reporterThis script is Copyright (C) 2014-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/71959
    titleFedora 20 : openjpeg-1.5.1-8.fc20 (2014-0708)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2014-17053.NASL
    descriptionBetter fix for CVE-2013-6045, that doesn
    last seen2020-03-17
    modified2015-01-05
    plugin id80339
    published2015-01-05
    reporterThis script is Copyright (C) 2015-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/80339
    titleFedora 19 : openjpeg-1.5.1-13.fc19 (2014-17053)
  • NASL familyMandriva Local Security Checks
    NASL idMANDRIVA_MDVSA-2014-008.NASL
    descriptionUpdated openjpeg package fixes security vulnerabilities : Multiple heap-based buffer overflow flaws were found in OpenJPEG. An attacker could create a specially crafted OpenJPEG image that, when opened, could cause an application using openjpeg to crash or, possibly, execute arbitrary code with the privileges of the user running the application (CVE-2013-6045). Multiple denial of service flaws were found in OpenJPEG. An attacker could create a specially crafted OpenJPEG image that, when opened, could cause an application using openjpeg to crash (CVE-2013-1447, CVE-2013-6052, CVE-2013-6053, CVE-2013-6887).
    last seen2020-06-01
    modified2020-06-02
    plugin id72022
    published2014-01-20
    reporterThis script is Copyright (C) 2014-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/72022
    titleMandriva Linux Security Advisory : openjpeg (MDVSA-2014:008)
  • NASL familyGentoo Local Security Checks
    NASL idGENTOO_GLSA-201412-24.NASL
    descriptionThe remote host is affected by the vulnerability described in GLSA-201412-24 (OpenJPEG: Multiple vulnerabilities) Multiple vulnerabilities have been discovered in OpenJPEG. Please review the CVE identifiers referenced below for details. Impact : A remote attacker could entice a user to open a specially crafted JPEG file, possibly resulting in execution of arbitrary code or a Denial of Service condition. Furthermore, a remote attacker may be able to obtain sensitive information. Workaround : There is no known workaround at this time.
    last seen2020-06-01
    modified2020-06-02
    plugin id79977
    published2014-12-15
    reporterThis script is Copyright (C) 2014-2015 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/79977
    titleGLSA-201412-24 : OpenJPEG: Multiple vulnerabilities
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2013-22914.NASL
    descriptionFix CVE-2013-6045 CVE-2013-6052 CVE-2013-6053 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 seen2020-03-17
    modified2013-12-16
    plugin id71445
    published2013-12-16
    reporterThis script is Copyright (C) 2013-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/71445
    titleFedora 19 : mingw-openjpeg-1.5.1-5.fc19 (2013-22914)
  • NASL familyCentOS Local Security Checks
    NASL idCENTOS_RHSA-2013-1850.NASL
    descriptionUpdated openjpeg packages that fix multiple security issues are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having important security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. OpenJPEG is an open source library for reading and writing image files in JPEG 2000 format. Multiple heap-based buffer overflow flaws were found in OpenJPEG. An attacker could create a specially crafted OpenJPEG image that, when opened, could cause an application using openjpeg to crash or, possibly, execute arbitrary code with the privileges of the user running the application. (CVE-2013-6045, CVE-2013-6054) Multiple denial of service flaws were found in OpenJPEG. An attacker could create a specially crafted OpenJPEG image that, when opened, could cause an application using openjpeg to crash (CVE-2013-1447, CVE-2013-6052) Red Hat would like to thank Raphael Geissert for reporting these issues. Users of OpenJPEG are advised to upgrade to these updated packages, which contain backported patches to correct these issues. All running applications using OpenJPEG must be restarted for the update to take effect.
    last seen2020-06-01
    modified2020-06-02
    plugin id71501
    published2013-12-18
    reporterThis script is Copyright (C) 2013-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/71501
    titleCentOS 6 : openjpeg (CESA-2013:1850)

Redhat

advisories
rhsa
idRHSA-2013:1850
rpms
  • openjpeg-0:1.3-10.el6_5
  • openjpeg-debuginfo-0:1.3-10.el6_5
  • openjpeg-devel-0:1.3-10.el6_5
  • openjpeg-libs-0:1.3-10.el6_5