Lucene search
+L

UnrealIRCd Local Privilege Escalation Vulnerability

🗓️ 31 Aug 2017 00:00:00Reported by Copyright (C) 2017 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 95 Views

UnrealIRCd local privilege escalation vulnerability. Error in PID file handling allows local users to gain elevated privileges

Related
Refs
Code
ReporterTitlePublishedViews
Family
cnvd
CNVD
UnrealIRCd Local Elevation of Privilege Vulnerability
25 Aug 201700:00
cnvd
cve
CVE
CVE-2017-13649
23 Aug 201721:00
cve
cvelist
Cvelist
CVE-2017-13649
23 Aug 201721:00
cvelist
euvd
EUVD
EUVD-2017-5166
7 Oct 202500:30
euvd
nvd
NVD
CVE-2017-13649
23 Aug 201721:29
nvd
osv
OSV
CVE-2017-13649
23 Aug 201721:29
osv
prion
Prion
Command injection
23 Aug 201721:29
prion
susecve
SUSE CVE
SUSE CVE-2017-13649
15 Feb 202304:40
susecve
# SPDX-FileCopyrightText: 2017 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:unrealircd:unrealircd";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.811317");
  script_version("2024-11-22T15:40:47+0000");
  script_cve_id("CVE-2017-13649");
  script_tag(name:"cvss_base", value:"2.1");
  script_tag(name:"cvss_base_vector", value:"AV:L/AC:L/Au:N/C:N/I:N/A:P");
  script_tag(name:"last_modification", value:"2024-11-22 15:40:47 +0000 (Fri, 22 Nov 2024)");
  script_tag(name:"severity_vector", value:"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H");
  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_tag(name:"creation_date", value:"2017-08-31 14:02:54 +0530 (Thu, 31 Aug 2017)");
  script_name("UnrealIRCd Local Privilege Escalation Vulnerability");

  script_tag(name:"summary", value:"UnrealIRCd is prone to a local privilege escalation 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 error in handling
  of PID file. A PID file after dropping privileges to a non-root account, which
  might allow local users to kill arbitrary processes by leveraging access to
  this non-root account for PID file modification before a root script executes
  a 'kill cat /pathname' command.");

  script_tag(name:"impact", value:"Successful exploitation of this vulnerability
  will allow attackers to gain elevated privileges.");

  script_tag(name:"affected", value:"UnrealIRCd versions 4.0.13 and prior.");

  script_tag(name:"solution", value:"Please see the referenced bugreport for
  a workaround how to mitigate this issue within the used start scripts.");

  script_tag(name:"solution_type", value:"Workaround");
  script_tag(name:"qod_type", value:"remote_banner_unreliable");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/100507");
  script_xref(name:"URL", value:"http://seclists.org/oss-sec/2017/q3/343");
  script_xref(name:"URL", value:"https://bugs.unrealircd.org/view.php?id=4990");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2017 Greenbone AG");
  script_family("Privilege escalation");
  script_dependencies("gb_unrealircd_detect.nasl");
  script_mandatory_keys("UnrealIRCD/Detected");

  exit(0);
}

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

if(!UnPort = get_app_port(cpe:CPE)){
  exit(0);
}

if(!UnVer = get_app_version(cpe:CPE, port:UnPort)){
  exit(0);
}

if(version_is_less_equal(version:UnVer, test_version:"4.0.13"))
{
  report = report_fixed_ver(installed_version:UnVer, fixed_version:"Please see the solution tag for an available Workaround");
  security_message(data:report, port:UnPort);
  exit(0);
}
exit(0);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

22 Nov 2024 00:00Current
5.7Medium risk
Vulners AI Score5.7
CVSS 22.1
CVSS 35.5
EPSS0.00284
95