- Home
- Vulnerabilities
- CVE-2023-37270
CVE-2023-37270
Piwigo is open source photo gallery software. Prior to version 13.8.0, there is a SQL Injection vulnerability…
Summary
Piwigo is open source photo gallery software. Prior to version 13.8.0, there is a SQL Injection vulnerability in the login of the administrator screen. The SQL statement that acquires the HTTP Header `User-Agent` is vulnerable at the endpoint that records user information when logging in to the administrator screen. It is possible to execute arbitrary SQL statements. Someone who wants to exploit the vulnerability must be log in to the administrator screen, even with low privileges. Any SQL statement can be executed. Doing so may leak information from the database. Version 13.8.0 contains a fix for this issue. As another mitigation, those who want to execute a SQL statement verbatim with user-enterable parameters should be sure to escape the parameter contents appropriately.
Affected products and versions
Piwigo (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Piwigo | before 13.8.0 (excluded) |
— | NVD |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
Piwigo 13.7.0 - SQL Injectionofficial source
Nuclei template
nuclei -u https://VOTRE-HOTE -t http/cves/2023/CVE-2023-37270.yamlSource : Open
Public modules and templates
- Nuclei detection template · https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-37270.yaml
Timeline
- — CVE published (cve)
- — Nuclei detection template (nuclei) date first seen
References
- https://github.com/Piwigo/Piwigo/commit/978425527d6c113887f845d75cf982bbb62d761aPatch
- https://github.com/Piwigo/Piwigo/blob/c01ec38bc43f09424a8d404719c35f963d63cf00/include/dblayer/functions_mysqli.inc.php#L491Product
- https://github.com/Piwigo/Piwigo/blob/c01ec38bc43f09424a8d404719c35f963d63cf00/include/functions.inc.php#L621Product
- https://github.com/Piwigo/Piwigo/security/advisories/GHSA-934w-qj9p-3qcxExploit, Third Party Advisory
- https://piwigo.org/release-13.8.0Release Notes
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- NVD
- CVSS score
- NVD
- Weakness (CWE)
- CNA (vendor or assigner)
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1, NVD)- Weakness
- CWE-89 · Injection SQL