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.7

Type: remote

Family: CGI abuses

Published: 2013/04/02

Updated: 2018/11/15

Dependencies: 65768

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 6.4

Temporal Score: 5

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

Temporal Vector: CVSS2#E:POC/RL:OF/RC:C

CVSS v3.0

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: false

Exploit Ease: No exploit is required

Exploited by Nessus: true

Patch Publication Date: 2013/02/19

Vulnerability Publication Date: 2013/02/18

Reference Information

CVE: CVE-2013-1469

BID: 58016

EDB-ID: 24520