Lucene search

K
nessusThis script is Copyright (C) 2024 and is owned by Tenable, Inc. or an Affiliate thereof.REDHAT_UNPATCHED-FLASH-PLUGIN-RHEL5.NASL
HistoryMay 11, 2024 - 12:00 a.m.

RHEL 5 : flash-plugin (Unpatched Vulnerability)

2024-05-1100:00:00
This script is Copyright (C) 2024 and is owned by Tenable, Inc. or an Affiliate thereof.
www.tenable.com
5
redhat enterprise linux 5
flash-plugin
unpatched vulnerability
multiple code execution
buffer overflow
underflow
memory corruption
use after free
integer overflow
adobe flash player

AI Score

9.4

Confidence

High

EPSS

0.94

Percentile

99.2%

The remote Redhat Enterprise Linux 5 host has one or more packages installed that are affected by multiple vulnerabilities that have been acknowledged by the vendor but will not be patched.

  • flash-plugin: multiple code execution issues fixed in APSB17-07 (CVE-2017-3003)

  • Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable buffer overflow / underflow vulnerability in the RegExp class related to bookmarking in searches. Successful exploitation could lead to arbitrary code execution. (CVE-2016-7867)

  • Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable buffer overflow / underflow vulnerability in the RegExp class related to alternation functionality. Successful exploitation could lead to arbitrary code execution. (CVE-2016-7868)

  • Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable buffer overflow / underflow vulnerability in the RegExp class related to backtrack search functionality.
    Successful exploitation could lead to arbitrary code execution. (CVE-2016-7869)

  • Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable buffer overflow / underflow vulnerability in the RegExp class for specific search strategies. Successful exploitation could lead to arbitrary code execution. (CVE-2016-7870)

  • Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable memory corruption vulnerability in the Worker class. Successful exploitation could lead to arbitrary code execution. (CVE-2016-7871)

  • Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable use after free vulnerability in the MovieClip class related to objects at multiple presentation levels. Successful exploitation could lead to arbitrary code execution. (CVE-2016-7872)

  • Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable memory corruption vulnerability in the PSDK class related to ad policy functionality method. Successful exploitation could lead to arbitrary code execution. (CVE-2016-7873)

  • Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable memory corruption vulnerability in the NetConnection class when handling the proxy types. Successful exploitation could lead to arbitrary code execution. (CVE-2016-7874)

  • Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable integer overflow vulnerability in the BitmapData class. Successful exploitation could lead to arbitrary code execution. (CVE-2016-7875)

  • Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable memory corruption vulnerability in the Clipboard class related to data handling functionality. Successful exploitation could lead to arbitrary code execution. (CVE-2016-7876)

  • Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable use after free vulnerability in the Action Message Format serialization (AFM0). Successful exploitation could lead to arbitrary code execution. (CVE-2016-7877)

  • Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable use after free vulnerability in the PSDK’s MediaPlayer class. Successful exploitation could lead to arbitrary code execution. (CVE-2016-7878)

  • Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable use after free vulnerability in the NetConnection class when handling an attached script object. Successful exploitation could lead to arbitrary code execution. (CVE-2016-7879)

  • Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable use after free vulnerability when setting the length property of an array object. Successful exploitation could lead to arbitrary code execution. (CVE-2016-7880)

  • Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable use after free vulnerability in the MovieClip class when handling conversion to an object. Successful exploitation could lead to arbitrary code execution. (CVE-2016-7881)

  • Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have security bypass vulnerability in the implementation of the same origin policy. (CVE-2016-7890)

  • Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable use after free vulnerability in the TextField class. Successful exploitation could lead to arbitrary code execution.
    (CVE-2016-7892)

  • Adobe Flash Player versions 24.0.0.186 and earlier have an exploitable memory corruption vulnerability in the JPEG XR codec. Successful exploitation could lead to arbitrary code execution. (CVE-2017-2925)

  • Adobe Flash Player versions 24.0.0.186 and earlier have an exploitable memory corruption vulnerability related to processing of atoms in MP4 files. Successful exploitation could lead to arbitrary code execution. (CVE-2017-2926)

  • Adobe Flash Player versions 24.0.0.186 and earlier have an exploitable heap overflow vulnerability when processing Adobe Texture Format files. Successful exploitation could lead to arbitrary code execution.
    (CVE-2017-2927)

  • Adobe Flash Player versions 24.0.0.186 and earlier have an exploitable memory corruption vulnerability related to setting visual mode effects. Successful exploitation could lead to arbitrary code execution.
    (CVE-2017-2928)

  • Adobe Flash Player versions 24.0.0.186 and earlier have an exploitable memory corruption vulnerability due to a concurrency error when manipulating a display list. Successful exploitation could lead to arbitrary code execution. (CVE-2017-2930)

  • Adobe Flash Player versions 24.0.0.186 and earlier have an exploitable memory corruption vulnerability related to the parsing of SWF metadata. Successful exploitation could lead to arbitrary code execution.
    (CVE-2017-2931)

  • Adobe Flash Player versions 24.0.0.186 and earlier have an exploitable use after free vulnerability in the ActionScript MovieClip class. Successful exploitation could lead to arbitrary code execution.
    (CVE-2017-2932)

  • Adobe Flash Player versions 24.0.0.186 and earlier have an exploitable heap overflow vulnerability related to texture compression. Successful exploitation could lead to arbitrary code execution. (CVE-2017-2933)

  • Adobe Flash Player versions 24.0.0.186 and earlier have an exploitable heap overflow vulnerability when parsing Adobe Texture Format files. Successful exploitation could lead to arbitrary code execution.
    (CVE-2017-2934)

  • Adobe Flash Player versions 24.0.0.186 and earlier have an exploitable heap overflow vulnerability when processing the Flash Video container file format. Successful exploitation could lead to arbitrary code execution. (CVE-2017-2935)

  • Adobe Flash Player versions 24.0.0.186 and earlier have an exploitable use after free vulnerability in the ActionScript FileReference class. Successful exploitation could lead to arbitrary code execution.
    (CVE-2017-2936)

  • Adobe Flash Player versions 24.0.0.186 and earlier have an exploitable use after free vulnerability in the ActionScript FileReference class, when using class inheritance. Successful exploitation could lead to arbitrary code execution. (CVE-2017-2937)

  • Adobe Flash Player versions 24.0.0.186 and earlier have a security bypass vulnerability related to handling TCP connections. (CVE-2017-2938)

  • Adobe Flash Player versions 24.0.0.194 and earlier have an exploitable use after free vulnerability in a routine related to player shutdown. Successful exploitation could lead to arbitrary code execution.
    (CVE-2017-2982)

  • Adobe Flash Player versions 24.0.0.194 and earlier have an exploitable heap overflow vulnerability in the h264 decoder routine. Successful exploitation could lead to arbitrary code execution. (CVE-2017-2984)

  • Adobe Flash Player versions 24.0.0.194 and earlier have an exploitable use after free vulnerability in the ActionScript 3 BitmapData class. Successful exploitation could lead to arbitrary code execution.
    (CVE-2017-2985)

  • Adobe Flash Player versions 24.0.0.194 and earlier have an exploitable heap overflow vulnerability in the Flash Video (FLV) codec. Successful exploitation could lead to arbitrary code execution. (CVE-2017-2986)

  • Adobe Flash Player versions 24.0.0.194 and earlier have an exploitable integer overflow vulnerability related to Flash Broker COM. Successful exploitation could lead to arbitrary code execution.
    (CVE-2017-2987)

  • Adobe Flash Player versions 24.0.0.194 and earlier have an exploitable memory corruption vulnerability when performing garbage collection. Successful exploitation could lead to arbitrary code execution.
    (CVE-2017-2988)

  • Adobe Flash Player versions 24.0.0.194 and earlier have an exploitable memory corruption vulnerability in the h264 decompression routine. Successful exploitation could lead to arbitrary code execution.
    (CVE-2017-2990)

  • Adobe Flash Player versions 24.0.0.194 and earlier have an exploitable memory corruption vulnerability in the h264 codec (related to decompression). Successful exploitation could lead to arbitrary code execution.
    (CVE-2017-2991)

  • Adobe Flash Player versions 24.0.0.194 and earlier have an exploitable heap overflow vulnerability when parsing an MP4 header. Successful exploitation could lead to arbitrary code execution. (CVE-2017-2992)

  • Adobe Flash Player versions 24.0.0.194 and earlier have an exploitable use after free vulnerability in Primetime SDK event dispatch. Successful exploitation could lead to arbitrary code execution.
    (CVE-2017-2994)

  • Adobe Flash Player versions 24.0.0.194 and earlier have an exploitable type confusion vulnerability related to the MessageChannel class. Successful exploitation could lead to arbitrary code execution.
    (CVE-2017-2995)

  • Adobe Flash Player versions 24.0.0.194 and earlier have an exploitable memory corruption vulnerability in Primetime SDK. Successful exploitation could lead to arbitrary code execution. (CVE-2017-2996)

  • Adobe Flash Player versions 24.0.0.221 and earlier have an exploitable buffer overflow / underflow vulnerability in the Primetime TVSDK that supports customizing ad information. Successful exploitation could lead to arbitrary code execution. (CVE-2017-2997)

  • Adobe Flash Player versions 24.0.0.221 and earlier have an exploitable memory corruption vulnerability in the Primetime TVSDK API functionality related to timeline interactions. Successful exploitation could lead to arbitrary code execution. (CVE-2017-2998)

  • Adobe Flash Player versions 24.0.0.221 and earlier have an exploitable memory corruption vulnerability in the Primetime TVSDK functionality related to hosting playback surface. Successful exploitation could lead to arbitrary code execution. (CVE-2017-2999)

  • Adobe Flash Player versions 24.0.0.221 and earlier have a vulnerability in the random number generator used for constant blinding. Successful exploitation could lead to information disclosure. (CVE-2017-3000)

  • Adobe Flash Player versions 24.0.0.221 and earlier have an exploitable use after free vulnerability related to garbage collection in the ActionScript 2 VM. Successful exploitation could lead to arbitrary code execution. (CVE-2017-3001)

  • Adobe Flash Player versions 24.0.0.221 and earlier have an exploitable use after free vulnerability in the ActionScript2 TextField object related to the variable property. Successful exploitation could lead to arbitrary code execution. (CVE-2017-3002)

Note that Nessus has not tested for these issues but has instead relied on the package manager’s report that the package is installed.

#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
#
# The descriptive text and package checks in this plugin were
# extracted from Red Hat Security Advisory flash-plugin. The text
# itself is copyright (C) Red Hat, Inc.
##

include('compat.inc');

if (description)
{
  script_id(196884);
  script_version("1.1");
  script_set_attribute(attribute:"plugin_modification_date", value:"2024/05/13");

  script_cve_id(
    "CVE-2016-7867",
    "CVE-2016-7868",
    "CVE-2016-7869",
    "CVE-2016-7870",
    "CVE-2016-7871",
    "CVE-2016-7872",
    "CVE-2016-7873",
    "CVE-2016-7874",
    "CVE-2016-7875",
    "CVE-2016-7876",
    "CVE-2016-7877",
    "CVE-2016-7878",
    "CVE-2016-7879",
    "CVE-2016-7880",
    "CVE-2016-7881",
    "CVE-2016-7890",
    "CVE-2016-7892",
    "CVE-2017-2925",
    "CVE-2017-2926",
    "CVE-2017-2927",
    "CVE-2017-2928",
    "CVE-2017-2930",
    "CVE-2017-2931",
    "CVE-2017-2932",
    "CVE-2017-2933",
    "CVE-2017-2934",
    "CVE-2017-2935",
    "CVE-2017-2936",
    "CVE-2017-2937",
    "CVE-2017-2938",
    "CVE-2017-2982",
    "CVE-2017-2984",
    "CVE-2017-2985",
    "CVE-2017-2986",
    "CVE-2017-2987",
    "CVE-2017-2988",
    "CVE-2017-2990",
    "CVE-2017-2991",
    "CVE-2017-2992",
    "CVE-2017-2994",
    "CVE-2017-2995",
    "CVE-2017-2996",
    "CVE-2017-2997",
    "CVE-2017-2998",
    "CVE-2017-2999",
    "CVE-2017-3000",
    "CVE-2017-3001",
    "CVE-2017-3002",
    "CVE-2017-3003"
  );
  script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2022/04/15");

  script_name(english:"RHEL 5 : flash-plugin (Unpatched Vulnerability)");

  script_set_attribute(attribute:"synopsis", value:
"The remote Red Hat 5 host is affected by multiple vulnerabilities that will not be patched.");
  script_set_attribute(attribute:"description", value:
"The remote Redhat Enterprise Linux 5 host has one or more packages installed that are affected by multiple
vulnerabilities that have been acknowledged by the vendor but will not be patched.

  - flash-plugin: multiple code execution issues fixed in APSB17-07 (CVE-2017-3003)

  - Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable buffer
    overflow / underflow vulnerability in the RegExp class related to bookmarking in searches. Successful
    exploitation could lead to arbitrary code execution. (CVE-2016-7867)

  - Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable buffer
    overflow / underflow vulnerability in the RegExp class related to alternation functionality. Successful
    exploitation could lead to arbitrary code execution. (CVE-2016-7868)

  - Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable buffer
    overflow / underflow vulnerability in the RegExp class related to backtrack search functionality.
    Successful exploitation could lead to arbitrary code execution. (CVE-2016-7869)

  - Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable buffer
    overflow / underflow vulnerability in the RegExp class for specific search strategies. Successful
    exploitation could lead to arbitrary code execution. (CVE-2016-7870)

  - Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable memory
    corruption vulnerability in the Worker class. Successful exploitation could lead to arbitrary code
    execution. (CVE-2016-7871)

  - Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable use after
    free vulnerability in the MovieClip class related to objects at multiple presentation levels. Successful
    exploitation could lead to arbitrary code execution. (CVE-2016-7872)

  - Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable memory
    corruption vulnerability in the PSDK class related to ad policy functionality method. Successful
    exploitation could lead to arbitrary code execution. (CVE-2016-7873)

  - Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable memory
    corruption vulnerability in the NetConnection class when handling the proxy types. Successful exploitation
    could lead to arbitrary code execution. (CVE-2016-7874)

  - Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable integer
    overflow vulnerability in the BitmapData class. Successful exploitation could lead to arbitrary code
    execution. (CVE-2016-7875)

  - Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable memory
    corruption vulnerability in the Clipboard class related to data handling functionality. Successful
    exploitation could lead to arbitrary code execution. (CVE-2016-7876)

  - Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable use after
    free vulnerability in the Action Message Format serialization (AFM0). Successful exploitation could lead
    to arbitrary code execution. (CVE-2016-7877)

  - Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable use after
    free vulnerability in the PSDK's MediaPlayer class. Successful exploitation could lead to arbitrary code
    execution. (CVE-2016-7878)

  - Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable use after
    free vulnerability in the NetConnection class when handling an attached script object. Successful
    exploitation could lead to arbitrary code execution. (CVE-2016-7879)

  - Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable use after
    free vulnerability when setting the length property of an array object. Successful exploitation could lead
    to arbitrary code execution. (CVE-2016-7880)

  - Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable use after
    free vulnerability in the MovieClip class when handling conversion to an object. Successful exploitation
    could lead to arbitrary code execution. (CVE-2016-7881)

  - Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have security bypass
    vulnerability in the implementation of the same origin policy. (CVE-2016-7890)

  - Adobe Flash Player versions 23.0.0.207 and earlier, 11.2.202.644 and earlier have an exploitable use after
    free vulnerability in the TextField class. Successful exploitation could lead to arbitrary code execution.
    (CVE-2016-7892)

  - Adobe Flash Player versions 24.0.0.186 and earlier have an exploitable memory corruption vulnerability in
    the JPEG XR codec. Successful exploitation could lead to arbitrary code execution. (CVE-2017-2925)

  - Adobe Flash Player versions 24.0.0.186 and earlier have an exploitable memory corruption vulnerability
    related to processing of atoms in MP4 files. Successful exploitation could lead to arbitrary code
    execution. (CVE-2017-2926)

  - Adobe Flash Player versions 24.0.0.186 and earlier have an exploitable heap overflow vulnerability when
    processing Adobe Texture Format files. Successful exploitation could lead to arbitrary code execution.
    (CVE-2017-2927)

  - Adobe Flash Player versions 24.0.0.186 and earlier have an exploitable memory corruption vulnerability
    related to setting visual mode effects. Successful exploitation could lead to arbitrary code execution.
    (CVE-2017-2928)

  - Adobe Flash Player versions 24.0.0.186 and earlier have an exploitable memory corruption vulnerability due
    to a concurrency error when manipulating a display list. Successful exploitation could lead to arbitrary
    code execution. (CVE-2017-2930)

  - Adobe Flash Player versions 24.0.0.186 and earlier have an exploitable memory corruption vulnerability
    related to the parsing of SWF metadata. Successful exploitation could lead to arbitrary code execution.
    (CVE-2017-2931)

  - Adobe Flash Player versions 24.0.0.186 and earlier have an exploitable use after free vulnerability in the
    ActionScript MovieClip class. Successful exploitation could lead to arbitrary code execution.
    (CVE-2017-2932)

  - Adobe Flash Player versions 24.0.0.186 and earlier have an exploitable heap overflow vulnerability related
    to texture compression. Successful exploitation could lead to arbitrary code execution. (CVE-2017-2933)

  - Adobe Flash Player versions 24.0.0.186 and earlier have an exploitable heap overflow vulnerability when
    parsing Adobe Texture Format files. Successful exploitation could lead to arbitrary code execution.
    (CVE-2017-2934)

  - Adobe Flash Player versions 24.0.0.186 and earlier have an exploitable heap overflow vulnerability when
    processing the Flash Video container file format. Successful exploitation could lead to arbitrary code
    execution. (CVE-2017-2935)

  - Adobe Flash Player versions 24.0.0.186 and earlier have an exploitable use after free vulnerability in the
    ActionScript FileReference class. Successful exploitation could lead to arbitrary code execution.
    (CVE-2017-2936)

  - Adobe Flash Player versions 24.0.0.186 and earlier have an exploitable use after free vulnerability in the
    ActionScript FileReference class, when using class inheritance. Successful exploitation could lead to
    arbitrary code execution. (CVE-2017-2937)

  - Adobe Flash Player versions 24.0.0.186 and earlier have a security bypass vulnerability related to
    handling TCP connections. (CVE-2017-2938)

  - Adobe Flash Player versions 24.0.0.194 and earlier have an exploitable use after free vulnerability in a
    routine related to player shutdown. Successful exploitation could lead to arbitrary code execution.
    (CVE-2017-2982)

  - Adobe Flash Player versions 24.0.0.194 and earlier have an exploitable heap overflow vulnerability in the
    h264 decoder routine. Successful exploitation could lead to arbitrary code execution. (CVE-2017-2984)

  - Adobe Flash Player versions 24.0.0.194 and earlier have an exploitable use after free vulnerability in the
    ActionScript 3 BitmapData class. Successful exploitation could lead to arbitrary code execution.
    (CVE-2017-2985)

  - Adobe Flash Player versions 24.0.0.194 and earlier have an exploitable heap overflow vulnerability in the
    Flash Video (FLV) codec. Successful exploitation could lead to arbitrary code execution. (CVE-2017-2986)

  - Adobe Flash Player versions 24.0.0.194 and earlier have an exploitable integer overflow vulnerability
    related to Flash Broker COM. Successful exploitation could lead to arbitrary code execution.
    (CVE-2017-2987)

  - Adobe Flash Player versions 24.0.0.194 and earlier have an exploitable memory corruption vulnerability
    when performing garbage collection. Successful exploitation could lead to arbitrary code execution.
    (CVE-2017-2988)

  - Adobe Flash Player versions 24.0.0.194 and earlier have an exploitable memory corruption vulnerability in
    the h264 decompression routine. Successful exploitation could lead to arbitrary code execution.
    (CVE-2017-2990)

  - Adobe Flash Player versions 24.0.0.194 and earlier have an exploitable memory corruption vulnerability in
    the h264 codec (related to decompression). Successful exploitation could lead to arbitrary code execution.
    (CVE-2017-2991)

  - Adobe Flash Player versions 24.0.0.194 and earlier have an exploitable heap overflow vulnerability when
    parsing an MP4 header. Successful exploitation could lead to arbitrary code execution. (CVE-2017-2992)

  - Adobe Flash Player versions 24.0.0.194 and earlier have an exploitable use after free vulnerability in
    Primetime SDK event dispatch. Successful exploitation could lead to arbitrary code execution.
    (CVE-2017-2994)

  - Adobe Flash Player versions 24.0.0.194 and earlier have an exploitable type confusion vulnerability
    related to the MessageChannel class. Successful exploitation could lead to arbitrary code execution.
    (CVE-2017-2995)

  - Adobe Flash Player versions 24.0.0.194 and earlier have an exploitable memory corruption vulnerability in
    Primetime SDK. Successful exploitation could lead to arbitrary code execution. (CVE-2017-2996)

  - Adobe Flash Player versions 24.0.0.221 and earlier have an exploitable buffer overflow / underflow
    vulnerability in the Primetime TVSDK that supports customizing ad information. Successful exploitation
    could lead to arbitrary code execution. (CVE-2017-2997)

  - Adobe Flash Player versions 24.0.0.221 and earlier have an exploitable memory corruption vulnerability in
    the Primetime TVSDK API functionality related to timeline interactions. Successful exploitation could lead
    to arbitrary code execution. (CVE-2017-2998)

  - Adobe Flash Player versions 24.0.0.221 and earlier have an exploitable memory corruption vulnerability in
    the Primetime TVSDK functionality related to hosting playback surface. Successful exploitation could lead
    to arbitrary code execution. (CVE-2017-2999)

  - Adobe Flash Player versions 24.0.0.221 and earlier have a vulnerability in the random number generator
    used for constant blinding. Successful exploitation could lead to information disclosure. (CVE-2017-3000)

  - Adobe Flash Player versions 24.0.0.221 and earlier have an exploitable use after free vulnerability
    related to garbage collection in the ActionScript 2 VM. Successful exploitation could lead to arbitrary
    code execution. (CVE-2017-3001)

  - Adobe Flash Player versions 24.0.0.221 and earlier have an exploitable use after free vulnerability in the
    ActionScript2 TextField object related to the variable property. Successful exploitation could lead to
    arbitrary code execution. (CVE-2017-3002)

Note that Nessus has not tested for these issues but has instead relied on the package manager's report that the package
is installed.");
  script_set_attribute(attribute:"solution", value:
"The vendor has acknowledged the vulnerabilities but no solution has been provided. Refer to the vendor for remediation
guidance.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:H/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2017-3003");

  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_set_attribute(attribute:"exploited_by_malware", value:"true");
  script_set_attribute(attribute:"vendor_unpatched", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2016/12/13");
  script_set_attribute(attribute:"plugin_publication_date", value:"2024/05/11");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:5");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:flash-plugin");
  script_set_attribute(attribute:"generated_plugin", value:"current");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Red Hat Local Security Checks");

  script_copyright(english:"This script is Copyright (C) 2024 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("ssh_get_info.nasl", "redhat_repos.nasl");
  script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list", "Host/cpu");

  exit(0);
}


include('rpm.inc');
include('rhel.inc');

if (!get_kb_item("global_settings/vendor_unpatched"))
exit(0, "Unpatched Vulnerabilities Detection not active.");

if (!get_kb_item('Host/local_checks_enabled')) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
var os_release = get_kb_item('Host/RedHat/release');
if (isnull(os_release) || 'Red Hat' >!< os_release) audit(AUDIT_OS_NOT, 'Red Hat');
var os_ver = pregmatch(pattern: "Red Hat Enterprise Linux.*release ([0-9]+(\.[0-9]+)?)", string:os_release);
if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, 'Red Hat');
os_ver = os_ver[1];
if (!rhel_check_release(operator: 'ge', os_version: os_ver, rhel_version: '5')) audit(AUDIT_OS_NOT, 'Red Hat 5.x', 'Red Hat ' + os_ver);

if (!get_kb_item('Host/RedHat/rpm-list')) audit(AUDIT_PACKAGE_LIST_MISSING);

var cpu = get_kb_item('Host/cpu');
if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
if ('x86_64' >!< cpu && cpu !~ "^i[3-6]86$" && 's390' >!< cpu && 'aarch64' >!< cpu && 'ppc' >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, 'Red Hat', cpu);

var constraints = [
  {
    'pkgs': [
      {'reference':'flash-plugin', 'release':'5', 'rpm_spec_vers_cmp':TRUE, 'unpatched_pkg':'flash-plugin'}
    ]
  }
];


var flag = 0;
foreach var constraint_array ( constraints ) {
  var repo_relative_urls = NULL;
  var enterprise_linux_flag = rhel_repo_urls_has_content_dist_rhel(repo_urls:repo_relative_urls);
  foreach var pkg ( constraint_array['pkgs'] ) {
    var unpatched_pkg = NULL;
    var _release = NULL;
    var sp = NULL;
    var el_string = NULL;
    var rpm_spec_vers_cmp = NULL;
    var exists_check = NULL;
    var cves = NULL;
    if (!empty_or_null(pkg['unpatched_pkg'])) unpatched_pkg = pkg['unpatched_pkg'];
    if (!empty_or_null(pkg['release'])) _release = 'RHEL' + pkg['release'];
    if (!empty_or_null(pkg['sp'])) sp = pkg['sp'];
    if (!empty_or_null(pkg['rpm_spec_vers_cmp'])) rpm_spec_vers_cmp = pkg['rpm_spec_vers_cmp'];
    if (!empty_or_null(pkg['exists_check'])) exists_check = pkg['exists_check'];
    if (!empty_or_null(pkg['cves'])) cves = pkg['cves'];
    if (unpatched_pkg &&
        _release &&
        (!exists_check || rpm_exists(release:_release, rpm:exists_check)) &&
        unpatched_package_exists(release:_release, package:unpatched_pkg, cves: cves)) flag++;
  }
}

if (flag)
{
  var flash_plugin_caveat = '\n' +
    'NOTE: This vulnerability check only applies to RedHat released\n' +
    'versions of the flash-plugin package. This check does not apply to\n' +
    'Adobe released versions of the flash-plugin package, which are\n' +
    'versioned similarly and cause collisions in detection.\n\n' +

    'If you are certain you are running the Adobe released package of\n' +
    'flash-plugin and are running a version of it equal or higher to the\n' +
    'RedHat version listed above then you can consider this a false\n' +
    'positive.\n';
  var extra = NULL;
  security_report_v4(
      port       : 0,
      severity   : SECURITY_HOLE,
      extra      : unpatched_packages_report() + flash_plugin_caveat
  );
  exit(0);
}
else
{
  var tested = pkg_tests_get();
  if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
  else audit(AUDIT_PACKAGE_NOT_INSTALLED, 'flash-plugin');
}

References