Advisories

TinyWebGallery v2.5 Remote Code Execution via Unrestricted File Upload

Go Back
severity
critical
date
Affecting
  • TinyWebGallery 2.5

CWE
  • CWE-434 Unrestricted Upload of File with Dangerous Type
CVSS
9.3
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Credit
Mirabbas Ağalarov
Description
TinyWebGallery v2.5 contains a remote code execution vulnerability in the admin upload functionality that allows unauthenticated attackers to upload malicious PHP files. Attackers can upload .phar files with embedded system commands to execute arbitrary code on the server by accessing the uploaded file's URL.