{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2022-41040 in the wild since at least 30 Sep 2022, including in ransomware campaigns.","fix":"No fix has been published for CVE-2022-41040 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 21 Oct 2022.","what":"CVE-2022-41040 is a high-severity server-side request forgery vulnerability in Microsoft Exchange Server, published on 3 Oct 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-41040 and fix it if it is affected.\n\nWhat it is: CVE-2022-41040 is a high-severity server-side request forgery vulnerability in Microsoft Exchange Server, published on 3 Oct 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2022-41040 in the wild since at least 30 Sep 2022, including in ransomware campaigns.\n\nAffected product: Microsoft Exchange Server. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-41040/ (Markdown: https://insights.sbomify.com/CVE-2022-41040/index.md)","id":"CVE-2022-41040","markdown":"https://insights.sbomify.com/CVE-2022-41040/index.md","name":"CVE-2022-41040","record":{"aliases":["GHSA-6ph7-8wxv-6gf2"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["privilege_escalation","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Microsoft Exchange Server","requires_auth":"low_privilege","summary":"Attackers can exploit a Server-Side Request Forg flaw in Microsoft Exchange Server to escalate privileges and potentially execute code.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"exchange_server","vendor":"microsoft"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"Microsoft Exchange Server Elevation of Privilege Vulnerability","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2022-09-28","github_poc":9,"max_poc_stars":90,"metasploit":1,"nuclei":0,"refs":[{"date":"2022-10-09T15:27:40Z","kind":"github_poc","ref":"https://github.com/kljunowsky/CVE-2022-41040-POC","stars":90,"title":"CVE-2022-41040 - Server Side Request Forgery (SSRF) in Microsoft Exchange Server"},{"date":"2022-10-20T03:11:03Z","kind":"github_poc","ref":"https://github.com/TaroballzChen/CVE-2022-41040-metasploit-ProxyNotShell","stars":35,"title":"the metasploit script(POC) about CVE-2022-41040. Microsoft Exchange are vulnerable to a server-side request forgery (SSRF) attack. An authenticated attacker can use the vulnerability to elevate privileges."},{"date":"2022-10-02T11:26:57Z","kind":"github_poc","ref":"https://github.com/numanturle/CVE-2022-41040","stars":19,"title":"CVE-2022-41040 nuclei template"},{"date":"2022-10-04T14:07:18Z","kind":"github_poc","ref":"https://github.com/r3dcl1ff/CVE-2022-41040","stars":5,"title":"mitigation script for MS Exchange server vuln"},{"date":"2022-10-06T01:20:32Z","kind":"github_poc","ref":"https://github.com/d3duct1v/CVE-2022-41040","stars":5,"title":"Code set relating to CVE-2022-41040"},{"date":"2022-10-09T21:15:00Z","kind":"github_poc","ref":"https://github.com/rjsudlow/proxynotshell-IOC-Checker","stars":5,"title":"Script to check for IOC's created by ProxyNotShell (CVE-2022-41040 \u0026 CVE-2022-41082)"},{"date":"2022-10-14T17:01:17Z","kind":"github_poc","ref":"https://github.com/ITPATJIDR/CVE-2022-41040","stars":1,"title":null},{"date":"2022-09-28","kind":"metasploit","ref":"exploit/windows/http/exchange_proxynotshell_rce","stars":null,"title":"Microsoft Exchange ProxyNotShell RCE"}],"tier":"exploited"},"has_fix":null,"headline":"Microsoft Exchange Server Server-Side Request Forgery","id":"CVE-2022-41040","indexable":true,"kev":{"dateAdded":"2022-09-30","dueDate":"2022-10-21","knownRansomwareCampaignUse":"Known","product":"Exchange Server","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Microsoft","vulnerabilityName":"Microsoft Exchange Server Server-Side Request Forgery Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"microsoft:exchange_server","products":["microsoft:exchange_server"],"type":"ssrf","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"Visual Studio Code Information Disclosure Vulnerability","id":"CVE-2022-41042"},"packages":[],"prev":{"headline":"Windows Point-to-Point Tunneling Protocol Remote Code Execution Vulnerability","id":"CVE-2022-41039"},"products":["Microsoft Exchange Server 2013 Cumulative Update 23","Microsoft Exchange Server 2016 Cumulative Update 22","Microsoft Exchange Server 2016 Cumulative Update 23","Microsoft Exchange Server 2019 Cumulative Update 11","Microsoft Exchange Server 2019 Cumulative Update 12"],"published":"2022-10-03","related":[{"cvss_score":9.8,"headline":"Microsoft Exchange Server Privilege Escalation","id":"CVE-2024-21410","kev_date_added":"2024-02-15","published":"2024-02-13"},{"cvss_score":9.1,"headline":"Microsoft Exchange Server Remote Code Execution","id":"CVE-2021-34473","kev_date_added":"2021-11-03","published":"2021-07-14"},{"cvss_score":9.1,"headline":"Microsoft Exchange Server Remote Code Execution","id":"CVE-2021-26855","kev_date_added":"2021-11-03","published":"2021-03-02"},{"cvss_score":9,"headline":"Microsoft Exchange Server Privilege Escalation","id":"CVE-2021-34523","kev_date_added":"2021-11-03","published":"2021-07-14"},{"cvss_score":8.8,"headline":"Microsoft Exchange Server Deserialization of Untrusted Data","id":"CVE-2023-21529","kev_date_added":"2026-04-13","published":"2023-02-14"},{"cvss_score":8.8,"headline":"Microsoft Exchange Server Privilege Escalation","id":"CVE-2022-41080","kev_date_added":"2023-01-10","published":"2022-11-09"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["Microsoft"]},"summary":"Attackers can exploit a Server-Side Request Forg flaw in Microsoft Exchange Server to escalate privileges and potentially execute code.","url":"https://insights.sbomify.com/CVE-2022-41040/"}