CVE-2023-37270

published 7 Jul 2023 · updated 18 Oct 2024

Piwigo SQL Injection vulnerability in "User-Agent"

8.6HighCVSS 7.6EPSS 5%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 5%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Piwigo<13.8.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-37270 severity on Zeptric[![CVE-2023-37270](https://zeptric.io/badge/cve/CVE-2023-37270.svg)](https://zeptric.io/cve/CVE-2023-37270)