PHP local file inclusion in Piwigo - CVE-2016-10105

 

PHP local file inclusion in Piwigo - CVE-2016-10105

Published: January 3, 2017


Vulnerability identifier: #VU3121
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:U/U:Amber
CVE-ID: CVE-2016-10105
CWE-ID: CWE-98
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Piwigo.org
Affected software:
Piwigo

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary PHP code on the target system.

The vulnerability exists due to web application does not perform insufficient sanitization of data passed through "section" HTTP GET parameter to /admin/plugin.php. A remote attacker, who is able to upload any file with PHP code inside (e.g. modified image) can execute it on the target system using directory traversal sequences.

Successful exploitation of this vulnerability may allow an attacker to execute arbitrary PHP code and compromise vulnerable website.


How to mitigate CVE-2016-10105

Update to version 2.8.5.

Sources