SQL injection in Piwigo



| Updated: 2021-02-07
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2014-9115
CWE-ID CWE-89
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Piwigo
Web applications / CMS

Vendor Piwigo.org

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) SQL injection

EUVDB-ID: #VU40992

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 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Exploit availability: Yes

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

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



###SIDEBAR###