Piwigo install.php dl Parameter Traversal Arbitrary File Access

medium Nessus Plugin ID 65769

Synopsis

The remote web server contains a PHP script that is affected by a directory traversal vulnerability.

Description

The version of Piwigo hosted on the remote web server is affected by a directory traversal vulnerability because it fails to properly sanitize user-supplied input to the 'dl' parameter of the 'install.php' script. This vulnerability could allow an unauthenticated, remote attacker to read and delete arbitrary files by forming a request containing directory traversal sequences.

Note that the application is reportedly also affected by a cross-site request forgery vulnerability, although Nessus has not tested this.

Solution

Upgrade to version 2.4.7 or later.

See Also

https://www.htbridge.com/advisory/HTB23144

https://www.zeroscience.mk/en/vulnerabilities/ZSL-2013-5127.php

http://piwigo.org/release-2.4.7

Plugin Details

Severity: Medium

ID: 65769

File Name: piwigo_install_file_disclosure.nasl

Version: 1.10

Type: remote

Family: CGI abuses

Published: 4/2/2013

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.3

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3.1

Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:N/A:P

CVSS Score Source: CVE-2013-1469

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:piwigo:piwigo

Required KB Items: www/PHP, www/piwigo

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: No exploit is required

Exploited by Nessus: true

Patch Publication Date: 2/19/2013

Vulnerability Publication Date: 2/18/2013

Reference Information

CVE: CVE-2013-1469

BID: 58016