CVE-2022-50893
Published: 13 January 2026
Description
VIAVIWEB Wallpaper Admin 1.0 contains an unauthenticated remote code execution vulnerability in the image upload functionality. Attackers can upload a malicious PHP file through the add_gallery_image.php endpoint to execute arbitrary code on the server.
Mitigating Controls (NIST 800-53 r5)AI
Directly validates uploaded files at the add_gallery_image.php endpoint to ensure only legitimate image types are accepted, blocking malicious PHP files and preventing RCE.
Enforces authentication and authorization requirements for the image upload functionality, preventing unauthenticated remote attackers from exploiting the endpoint.
Provides tailored protections for the publicly accessible upload service to restrict unauthorized or dangerous file uploads leading to code execution.
Security SummaryAI
CVE-2022-50893 is an unauthenticated remote code execution vulnerability in VIAVIWEB Wallpaper Admin 1.0, affecting the image upload functionality. Specifically, the add_gallery_image.php endpoint allows attackers to upload a malicious PHP file, leading to arbitrary code execution on the server. The vulnerability is rated with a CVSS v3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) and is associated with CWE-434 (Unrestricted Upload of File with Dangerous Type).
Unauthenticated attackers can exploit this vulnerability remotely with low complexity and no privileges or user interaction required. Successful exploitation enables full compromise of the server, granting high-impact access to confidentiality, integrity, and availability through arbitrary code execution.
Advisories and references, including a proof-of-concept exploit on Exploit-DB (https://www.exploit-db.com/exploits/51033), the vendor site (https://www.viaviweb.com), and a Vulncheck advisory (https://www.vulncheck.com/advisories/viaviweb-wallpaper-admin-code-execution-via-image-upload), document the issue but do not specify patches or mitigations in the available details.
Details
- CWE(s)
Affected Products
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
The vulnerability allows unauthenticated remote code execution via unrestricted file upload in a public-facing web application, directly mapping to exploitation of public-facing applications.