CVE-2023-52082 HIGH

CVE-2023-52082: Lychee is vulnerable to an SQL Injection in explain DB queries.

Vendor Lycheeorg
Product Lychee
Weakness CWE-89 · SQLi
Published December 28, 2023
Last update November 27, 2024

CVSS base score

8.8/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

December 28, 2023 CVE published
November 27, 2024 Record updated