CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
NONE
Availability Impact
NONE
AV:N/AC:L/Au:N/C:P/I:N/A:N
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
HIGH
Availability Impact
NONE
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
AI Score
Confidence
High
EPSS
Percentile
56.5%
an ZNC IRC bouncer is prone to multiple security vulnerabilities.
# 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:znc:znc";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.108452");
script_version("2023-11-03T16:10:08+0000");
script_tag(name:"last_modification", value:"2023-11-03 16:10:08 +0000 (Fri, 03 Nov 2023)");
script_tag(name:"creation_date", value:"2018-07-24 09:57:02 +0200 (Tue, 24 Jul 2018)");
script_cve_id("CVE-2018-14055", "CVE-2018-14056");
script_tag(name:"cvss_base", value:"5.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:N");
script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2019-10-03 00:03:00 +0000 (Thu, 03 Oct 2019)");
script_name("ZNC < 1.7.1-rc1 Multiple Vulnerabilities");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2018 Greenbone AG");
script_family("Web application abuses");
script_dependencies("gb_znc_consolidation.nasl");
script_mandatory_keys("znc/detected");
script_xref(name:"URL", value:"http://seclists.org/oss-sec/2018/q3/43");
script_xref(name:"URL", value:"https://wiki.znc.in/ChangeLog/1.7.1");
script_xref(name:"URL", value:"https://github.com/znc/znc/commit/a7bfbd93812950b7444841431e8e297e62cb524e");
script_xref(name:"URL", value:"https://github.com/znc/znc/commit/d22fef8620cdd87490754f607e7153979731c69d");
script_xref(name:"URL", value:"https://github.com/znc/znc/commit/a4a5aeeb17d32937d8c7d743dae9a4cc755ce773");
script_tag(name:"summary", value:"an ZNC IRC bouncer is prone to multiple security vulnerabilities.");
script_tag(name:"impact", value:"Successful exploitation allows:
- unauthenticated users to access restricted directories and files outside of the web server's root directory
- a non-admin user to escalate his privilege and inject rogue values into znc.conf.");
script_tag(name:"affected", value:"ZNC before 1.7.1-rc1.");
script_tag(name:"solution", value:"Upgrade to ZNC 1.7.1-rc1 or later. Please see the references for more information.");
script_tag(name:"insight", value:"The flaws exist due to:
- a path traversal flaw via ../ in a web skin name to access files outside of the intended skins directories.
- ZNC not properly validate untrusted lines coming from the network, allowing a non-admin user to escalate his privilege and
inject rogue values into znc.conf.");
script_tag(name:"qod_type", value:"remote_banner_unreliable");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("host_details.inc");
include("version_func.inc");
if( ! vers = get_app_version( cpe:CPE, nofork:TRUE ) )
exit( 0 );
if( version_in_range( version:vers, test_version:"0.045", test_version2:"1.7.0" ) ) {
report = report_fixed_ver( installed_version:vers, fixed_version:"1.7.1-rc1" );
security_message( port:0, data:report );
exit( 0 );
}
exit( 99 );
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
NONE
Availability Impact
NONE
AV:N/AC:L/Au:N/C:P/I:N/A:N
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
HIGH
Availability Impact
NONE
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
AI Score
Confidence
High
EPSS
Percentile
56.5%