CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
NONE
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:N/A:P
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
NONE
Availability Impact
HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
AI Score
Confidence
High
EPSS
Percentile
97.6%
VLC media player is prone to an integer underflow vulnerability.
# SPDX-FileCopyrightText: 2018 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:videolan:vlc_media_player";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.814376");
script_version("2023-07-20T05:05:18+0000");
script_cve_id("CVE-2018-19857");
script_tag(name:"cvss_base", value:"6.4");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:P");
script_tag(name:"last_modification", value:"2023-07-20 05:05:18 +0000 (Thu, 20 Jul 2023)");
script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2019-07-25 17:15:00 +0000 (Thu, 25 Jul 2019)");
script_tag(name:"creation_date", value:"2018-12-17 10:49:31 +0530 (Mon, 17 Dec 2018)");
## not able to detect patched versions
script_tag(name:"qod_type", value:"executable_version");
script_name("VLC Media Player CAF Demuxer Integer Underflow Vulnerability - Mac OS X");
script_tag(name:"summary", value:"VLC media player is prone to an integer underflow vulnerability.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present
on the target host.");
script_tag(name:"insight", value:"The flaw exists due to an improper handling
of magic cookies in Core Audio Format (CAF) files, which could result in an
uninitialized memory read in the CAF demuxer.");
script_tag(name:"impact", value:"Successful exploitation will allow attackers
to execute arbitrary code in the context of the affected application and failed
exploit attempts will likely result in denial of service conditions.");
script_tag(name:"affected", value:"VideoLAN VLC media player version 3.0.4 on Mac OS X");
script_tag(name:"solution", value:"Apply patch from Reference. Please see the references for more information.");
script_tag(name:"solution_type", value:"VendorFix");
script_xref(name:"URL", value:"https://dyntopia.com/advisories/013-vlc");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2018 Greenbone AG");
script_family("General");
script_dependencies("gb_vlc_media_player_detect_macosx.nasl");
script_mandatory_keys("VLC/Media/Player/MacOSX/Version");
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);
vlcVer = infos['version'];
vlcpath = infos['location'];
if(version_is_equal(version:vlcVer, test_version:"3.0.4"))
{
report = report_fixed_ver(installed_version:vlcVer, fixed_version:"3.0.4", install_path: vlcpath);
security_message(data:report);
exit(0);
}
exit(99);
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
NONE
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:N/A:P
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
NONE
Availability Impact
HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
AI Score
Confidence
High
EPSS
Percentile
97.6%