Lucene search
+L

Piwigo SQLi Vulnerability

🗓️ 11 Dec 2017 00:00:00Reported by Copyright (C) 2017 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 26 Views

Piwigo Sql Injection Vulnerability CPE = 'cpe:/a:piwigo:piwigo'; Piwigo is prone to sql injection vulnerabilities. Values of the edit_list parameters are not sanitized. Another sql injection is possible in admin/tags.php. Piwigo version 2.9.2 and prior are affected. Update to Piwigo 2.9.3 or later

Related
Refs
Code
ReporterTitlePublishedViews
Family
cnvd
CNVD
Piwigo SQL Injection Vulnerability
4 Dec 201700:00
cnvd
cve
CVE
CVE-2017-16893
1 Dec 201717:00
cve
cvelist
Cvelist
CVE-2017-16893
1 Dec 201717:00
cvelist
euvd
EUVD
EUVD-2017-8064
7 Oct 202500:30
euvd
nvd
NVD
CVE-2017-16893
1 Dec 201717:29
nvd
prion
Prion
Sql injection
1 Dec 201717:29
prion
ubuntucve
UbuntuCve
CVE-2017-16893
1 Dec 201717:29
ubuntucve
# 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:piwigo:piwigo";

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.107271");
  script_version("2025-09-05T15:40:40+0000");
  script_tag(name:"last_modification", value:"2025-09-05 15:40:40 +0000 (Fri, 05 Sep 2025)");
  script_tag(name:"creation_date", value:"2017-12-11 11:11:04 +0700 (Mon, 11 Dec 2017)");
  script_tag(name:"cvss_base", value:"4.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/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:H/I:N/A:N");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2017-12-19 19:59:00 +0000 (Tue, 19 Dec 2017)");

  script_cve_id("CVE-2017-16893", "CVE-2018-6883");

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

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

  script_name("Piwigo SQLi Vulnerability");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2017 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_piwigo_detect.nasl");
  script_mandatory_keys("piwigo/installed");

  script_tag(name:"summary", value:"Piwigo is prone to SQL injection (SQLi) vulnerabilities.");

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

  script_tag(name:"insight", value:"Values of the edit_list parameters are not sanitized. These are used to construct an SQL query and retrieve a list of registered users into the application.

  Another sql injection is possible in admin/tags.php in the administration panel, via the tags array parameter in an admin.php?page=tags request. The attacker must be an administrator.");

  script_tag(name:"affected", value:"Piwigo version 2.9.2 and prior.");

  script_tag(name:"solution", value:"Update to Piwigo 2.9.3 or later.");

  script_xref(name:"URL", value:"https://www.fortify24x7.com/cve-2017-16893/");
  script_xref(name:"URL", value:"https://github.com/Piwigo/Piwigo/issues/839");

  exit(0);
}

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

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

if (!version = get_app_version(cpe: CPE, port: port))
  exit(0);

if (version_is_less_equal(version: version, test_version: "2.9.2")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "2.9.3");
  security_message(port: port, data: report);
  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

05 Sep 2025 00:00Current
6.8Medium risk
Vulners AI Score6.8
CVSS 24
CVSS 36.5
EPSS0.01318
26