Lucene search
+L

PowerDNS Recursor File Injection Vulnerability (2017-06)

🗓️ 28 Nov 2017 00:00:00Reported by Copyright (C) 2017 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 24 Views

PowerDNS Recursor file injection vulnerability in versions up to 4.0.6 and 3.7.4 allows authenticated users to inject new configuration directive

Related
Refs
Code
ReporterTitlePublishedViews
Family
alpinelinux
AlpineLinux
CVE-2017-15093
23 Jan 201815:00
alpinelinux
archlinux
ArchLinux
[ASA-201711-31] powerdns-recursor: multiple issues
27 Nov 201700:00
archlinux
cnvd
CNVD
PowerDNS Recursor API Injection Vulnerability
4 Dec 201700:00
cnvd
cve
CVE
CVE-2017-15093
23 Jan 201815:00
cve
cvelist
Cvelist
CVE-2017-15093
23 Jan 201815:00
cvelist
debiancve
Debian CVE
CVE-2017-15093
23 Jan 201815:00
debiancve
fedora
Fedora
[SECURITY] Fedora 27 Update: pdns-recursor-4.0.7-1.fc27
12 Dec 201711:30
fedora
fedora
Fedora
[SECURITY] Fedora 27 Update: pdns-recursor-4.1.3-2.fc27
13 Jun 201821:34
fedora
fedora
Fedora
[SECURITY] Fedora 26 Update: pdns-recursor-4.0.7-1.fc26
12 Dec 201713:46
fedora
fedora
Fedora
[SECURITY] Fedora 25 Update: pdns-recursor-4.0.7-1.fc25
12 Dec 201714:40
fedora
Rows per page
# 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:powerdns:recursor";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.140544");
  script_version("2025-10-31T05:40:56+0000");
  script_tag(name:"last_modification", value:"2025-10-31 05:40:56 +0000 (Fri, 31 Oct 2025)");
  script_tag(name:"creation_date", value:"2017-11-28 08:39:40 +0700 (Tue, 28 Nov 2017)");
  script_tag(name:"cvss_base", value:"3.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:S/C:N/I:P/A:N");
  script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:H/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-09 23:24:00 +0000 (Wed, 09 Oct 2019)");

  script_cve_id("CVE-2017-15093");

  script_tag(name:"qod_type", value:"remote_banner_unreliable");

  script_tag(name:"solution_type", value:"VendorFix");

  script_name("PowerDNS Recursor File Injection Vulnerability (2017-06)");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2017 Greenbone AG");
  script_family("General");
  script_dependencies("gb_powerdns_dns_detect.nasl");
  script_mandatory_keys("powerdns/recursor/detected");

  script_tag(name:"summary", value:"PowerDNS Recursor is prone to a configuration file injection
  vulnerability.");

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

  script_tag(name:"insight", value:"An issue has been found in the API of PowerDNS Recursor during a
  source code audit by Nixu. When api-config-dir is set to a non-empty value, which is not the case
  by default, the API allows an authorized user to update the Recursor's ACL by adding and removing
  netmasks, and to configure forward zones. It was discovered that the new netmask and IP addresses
  of forwarded zones were not sufficiently validated, allowing an authenticated user to inject new
  configuration directives into the Recursor's configuration.");

  script_tag(name:"affected", value:"PowerDNS Recursor up to and including version 4.0.6.");

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

  script_xref(name:"URL", value:"https://doc.powerdns.com/recursor/security-advisories/powerdns-advisory-2017-06.html");

  exit(0);
}

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

if (!port = get_app_port(cpe: CPE))
  exit(0);

if (!infos = get_app_version_and_proto(cpe: CPE, port: port))
  exit(0);

version = infos["version"];
proto = infos["proto"];

if (version_is_less(version: version, test_version: "4.0.7")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "4.0.7");
  security_message(data: report, port: port, proto: proto);
  exit(0);
}

exit(99);

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

31 Oct 2025 00:00Current
6.1Medium risk
Vulners AI Score6.1
CVSS 23.5
CVSS 35.3
EPSS0.00828
24