Skip to main content
← All vulnerabilities
CVE-2023-52082

Lychee is vulnerable to an SQL Injection in explain DB queries.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.0.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • LycheeOrg Lychee

    fixed in 5.0.2

References 2

GitHub · LycheeOrg/Lychee