CVE-2023-37270

HIGH NUCLEI

Piwigo < 13.8.0 - Authenticated SQL Injection via User-Agent HTTP Header

Title source: llm
STIX 2.1

Exploitation Summary

CVE-2023-37270 has a Nuclei detection template available — see the Nuclei card below for the Shodan/FOFA recon queries.

Description

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.

Nuclei Templates (1)

Piwigo 13.7.0 - SQL Injection
HIGHVERIFIEDby ritikchaddha
Shodan: http.favicon.hash:540706145
FOFA: icon_hash=540706145 || title="piwigo"

Scores

CVSS v3 7.6
EPSS 0.0391
EPSS Percentile 88.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-89
Status published
Products (1)
piwigo/piwigo < 13.8.0
Published Jul 07, 2023
Tracked Since Feb 18, 2026