CVE-2023-37270

High

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.

SeverityHigh
CVSS7.6
Exploit probability—
ProductPiwigo
PublishedJul 7, 2023
First seenJul 7, 2023
Weakness typeCWE-89SQL injection

How to fix

Update
  • piwigo piwigo13.8.0 or later

Affected products

ProductAffected versionsFixed in
piwigo piwigov < 13.8.013.8.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.