#VU40992 SQL injection in Piwigo - CVE-2014-9115


| Updated: 2021-02-07

Vulnerability identifier: #VU40992

Vulnerability risk: Medium

CVSSv4.0: 5.5 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/U:Green]

CVE-ID: CVE-2014-9115

CWE-ID: CWE-89

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
Piwigo
Web applications / CMS

Vendor: Piwigo.org

Description

The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.

The vulnerability exists due to insufficient sanitization of user-supplied data passed via the rate parameter to picture.php, related to an improper data type in a comparison of a non-numeric value that begins with a digit. A remote attacker can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.

Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.

Mitigation
Install update from vendor's website.

Vulnerable software versions

Piwigo: 2.6.0 - 2.7.1


External links
https://piwigo.org/dev/changeset/30563/trunk/include/functions_rate.inc.php
https://piwigo.org/forum/viewtopic.php?id=24850
https://piwigo.org/releases/2.7.2
https://seclists.org/fulldisclosure/2014/Nov/23


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability