CVE-2023-52082

High

Description

Lychee is a free photo-management tool. Prior to 5.0.2, Lychee is vulnerable to an SQL injection on any binding when using mysql/mariadb. This injection is only active for users with the `.env` settings set to DB_LOG_SQL=true and DB_LOG_SQL_EXPLAIN=true. The defaults settings of Lychee are safe. The patch is provided on version 5.0.2. To work around this issue, disable SQL EXPLAIN logging.

SeverityHigh
CVSS8.8
Exploit probability—
ProductLychee
PublishedDec 28, 2023
First seenDec 28, 2023
Weakness typeCWE-89SQL injection

How to fix

Update
  • lycheeorg lychee5.0.2 or later

Affected products

ProductAffected versionsFixed in
lycheeorg lychee4.9.3 ≤ v < 5.0.25.0.2

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.