patchminder
Weaponized · Nuclei CVE-2023-37270

SQL injectionin Piwigo.

Published 7 Jul 2023 · Updated 18 Oct 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Nuclei exploit is public.

Attack code is public
Severity
High 7.6
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 4.5% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 13.8.0 or later
In plain words

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.

What to do now
  • Upgrade Piwigo to 13.8.0 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Piwigo
before 13.8.0
13.8.0
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 29 Jun 2023
    CVE ID reserved by GitHub_M.
  2. 7 Jul 2023
    Published in the CVE List.
  3. 18 Oct 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Nuclei). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
Available
Exploit-DB
None known
GitHub proof of concepts
None known
NucleiPiwigo 13.7.0 · SQL Injectiondetection template

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Piwigo vulnerabilities

Same weakness: SQL injection

All CWE-89 vulnerabilities

References
Cite this page

Patchminder. CVE-2023-37270: SQL injection in Piwigo. https://patchminder.com/cve/cve-2023-37270/ (accessed 5 December 2026).