Advisories

Adminer before 6.3.1 RCE via SQLite file: URI in check_sqlite_name()

Go back
Severity
high
Date
Affecting
  • adminer < 6.3.1

CWE
  • CWE-73 External Control of File Name or Path
CVSS
7.6
CVSS V4 Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Credit
sorachang1874
Description
Adminer before 6.3.1 contains a remote code execution vulnerability that allows authenticated users to create arbitrary files by passing a file: URI database name that satisfies the check_sqlite_name() suffix check. Attackers can force the PDO_SQLite backend, create a .php file in the web root, and write PHP code via CREATE TABLE to execute commands as the web server user.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.