CVE-2024-43018 Details
Description
Piwigo 13.8.0 and below is vulnerable to SQL Injection in the parameters max_level and min_register. These parameters are used in ws_user_gerList function from file include\ws_functions\pwg.users.php and this same function is called by ws.php file at some point can be used for searching users in advanced way in /admin.php?page=user_list.
A SQL injection vulnerability has been identified in Piwigo versions through 13.8.0. The issue arises in the user management feature within the admin panel, specifically on the 'user_list' page. The vulnerability is present in the 'max_level' and 'min_register' parameters, which are used in the 'ws_user_getList' function. This function, located in 'include/ws_functions/pwg.users.php', allows for advanced user searches but fails to properly sanitize these parameters before they are incorporated into SQL queries. Exploiting this vulnerability could lead to unauthorized SQL query manipulation, potentially causing code execution or information disclosure.
The Piwigo development team has addressed this vulnerability in the 15.1.0 update by implementing a parameter whitelist approach. However, for users on versions prior to 15.1.0, it is recommended to use a Web Application Firewall (WAF) to add an extra layer of protection against potential SQL injection attacks.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 29, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/inesmarcal/CVE-2024-43018 | [email protected] | ExploitThird Party Advisory |
| https://github.com/joaosilva21/CVE-2024-43018 | [email protected] | ExploitThird Party Advisory |
| https://github.com/Piwigo/Piwigo/issues/2197 | [email protected] | ExploitIssue TrackingPatch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| piwigo piwigo | <= 13.8.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 6, 2025 | Initial Analysis | [email protected] |
| Jul 30, 2025 | CVE Modified | [email protected] |
| Jul 29, 2025 | New CVE Received | [email protected] |
| Jul 29, 2025 | CVE Modified | CISA-ADP |