Lucene search

K
openvasCopyright (C) 2023 Greenbone AGOPENVAS:1361412562310826903
HistoryJan 30, 2023 - 12:00 a.m.

Foxit Reader < 11.2.2 Multiple Vulnerabilities (Jan 2023)

2023-01-3000:00:00
Copyright (C) 2023 Greenbone AG
plugins.openvas.org
5
foxit reader
vulnerabilities
phantompdf
update
arbitrary code execution
security bulletin

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

7.8 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

6.8 Medium

AI Score

Confidence

High

0.006 Low

EPSS

Percentile

78.9%

Foxit Reader is prone to multiple vulnerabilities.

# SPDX-FileCopyrightText: 2023 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

CPE = "cpe:/a:foxitsoftware:phantompdf";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.826903");
  script_version("2024-02-23T14:36:45+0000");
  script_cve_id("CVE-2022-47881", "CVE-2022-25641", "CVE-2022-30557", "CVE-2022-28670",
                "CVE-2022-28669", "CVE-2022-28671", "CVE-2022-28672", "CVE-2022-28673",
                "CVE-2022-28675", "CVE-2022-28676", "CVE-2022-28674", "CVE-2022-28678",
                "CVE-2022-28680", "CVE-2022-28679", "CVE-2022-28677", "CVE-2022-28681",
                "CVE-2022-28683", "CVE-2022-28682");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
  script_tag(name:"last_modification", value:"2024-02-23 14:36:45 +0000 (Fri, 23 Feb 2024)");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2022-07-23 03:05:00 +0000 (Sat, 23 Jul 2022)");
  script_tag(name:"creation_date", value:"2023-01-30 17:08:32 +0530 (Mon, 30 Jan 2023)");
  script_name("Foxit Reader < 11.2.2 Multiple Vulnerabilities (Jan 2023)");

  script_tag(name:"summary", value:"Foxit Reader is prone to multiple vulnerabilities.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on
  the target host.");

  script_tag(name:"insight", value:"Multiple flaws exist due to,

  - The use of null pointer without proper validation as the application fails
    to get the CF dictionary when handling certain encrypted PDFs with abnormal
    encryption dictionary.

  - The parsing error as the parsing engine fails to use the cross-reference
    information correctly when parsing certain compressed objects.

  - The improper compiling for an Unsigned32 result in the V8 JavaScript Engine.

  - Out-of-Bounds Read Information Disclosure or Use-After-Free Remote Code Execution
    vulnerabilities.

  - The use of object that has been freed as the application fails to update the
    copy of the pointer after a page is deleted when executing the deletePages method.

  - The application fails to properly validate the allocation boundaries for objects
    when handling certain JavaScripts.");

  script_tag(name:"impact", value:"Successful exploitation allow attackers
  to conduct arbitrary code execution.");

  script_tag(name:"affected", value:"Foxit PhantomPDF version 11.2.1.53537 and all
  previous 11.x versions, 10.1.7.37777 and earlier on Windows.");

  script_tag(name:"solution", value:"Update to version PhantomPDF 11.2.2 or later.");

  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"qod_type", value:"registry");
  script_xref(name:"URL", value:"https://www.foxitsoftware.com/support/security-bulletins.php");
  script_copyright("Copyright (C) 2023 Greenbone AG");
  script_category(ACT_GATHER_INFO);
  script_family("General");
  script_dependencies("gb_foxit_phantom_reader_detect.nasl");
  script_mandatory_keys("foxit/phantompdf/ver");
  exit(0);
}

include("host_details.inc");
include("version_func.inc");

if(!infos = get_app_version_and_location(cpe:CPE, exit_no_version:TRUE))
  exit(0);

version = infos["version"];
location = infos["location"];

if(version_is_less(version:version, test_version:"10.1.7.37777") ||
   version_in_range(version:version, test_version:"11.0", test_version2:"11.2.1.53537")) {
  report = report_fixed_ver(installed_version:version, fixed_version:"11.2.2", install_path:location);
  security_message(data:report);
  exit(0);
}

exit(99);

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

7.8 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

6.8 Medium

AI Score

Confidence

High

0.006 Low

EPSS

Percentile

78.9%