{
  "id": "CVE-2022-41040",
  "url": "https://poc.griffinguard.io/cve/CVE-2022-41040",
  "published_at": "2022-10-03T00:00:00Z",
  "title": "Microsoft Exchange Server Elevation of Privilege Vulnerability",
  "vendor": "Microsoft",
  "product": "Microsoft Exchange Server 2013 Cumulative Update 23",
  "cvss": {
    "score": 8.8,
    "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"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2022-09-30",
    "known_ransomware_campaign_use": "Known",
    "days_after_publication": -3
  },
  "first_poc": {
    "created_at": "2022-10-02T11:26:57Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": -0.5,
    "repo": "numanturle/CVE-2022-41040",
    "source": "github"
  },
  "poc_repo_count": 9,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Microsoft Exchange Server Elevation of Privilege Vulnerability",
  "cwe": "CWE-918",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [
    {
      "repo": "trhacknon/CVE-2022-41040-metasploit-ProxyNotShell",
      "url": "https://github.com/trhacknon/CVE-2022-41040-metasploit-ProxyNotShell",
      "created_at": null,
      "first_seen_at": "2026-11-14T22:15:13.872Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "Ph33rr/Exploit",
      "url": "https://github.com/Ph33rr/Exploit",
      "created_at": "2021-07-26T15:27:56Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 11,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-01-16T01:47:51Z"
    },
    {
      "repo": "numanturle/CVE-2022-41040",
      "url": "https://github.com/numanturle/CVE-2022-41040",
      "created_at": "2022-10-02T11:26:57Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 19,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2014-03-20T06:53:05Z"
    },
    {
      "repo": "CentarisCyber/CVE-2022-41040_Mitigation",
      "url": "https://github.com/CentarisCyber/CVE-2022-41040_Mitigation",
      "created_at": "2022-10-03T17:36:13Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 30 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2022-09-09T20:20:01Z"
    },
    {
      "repo": "r3dcl1ff/CVE-2022-41040",
      "url": "https://github.com/r3dcl1ff/CVE-2022-41040",
      "created_at": "2022-10-04T14:07:18Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 5,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-04-04T07:44:28Z"
    },
    {
      "repo": "d3duct1v/CVE-2022-41040",
      "url": "https://github.com/d3duct1v/CVE-2022-41040",
      "created_at": "2022-10-06T01:20:32Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 5,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-04-10T14:38:51Z"
    },
    {
      "repo": "kljunowsky/CVE-2022-41040-POC",
      "url": "https://github.com/kljunowsky/CVE-2022-41040-POC",
      "created_at": "2022-10-09T15:27:40Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 90,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-04-24T23:17:34Z"
    },
    {
      "repo": "rjsudlow/proxynotshell-IOC-Checker",
      "url": "https://github.com/rjsudlow/proxynotshell-IOC-Checker",
      "created_at": "2022-10-09T21:15:00Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 5,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "code never talks to a target"
      ],
      "status": "analyzed",
      "owner_created_at": "2018-02-10T17:21:02Z"
    },
    {
      "repo": "ITPATJIDR/CVE-2022-41040",
      "url": "https://github.com/ITPATJIDR/CVE-2022-41040",
      "created_at": "2022-10-14T17:01:17Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-08-18T09:28:36Z"
    },
    {
      "repo": "TaroballzChen/CVE-2022-41040-metasploit-ProxyNotShell",
      "url": "https://github.com/TaroballzChen/CVE-2022-41040-metasploit-ProxyNotShell",
      "created_at": "2022-10-20T03:11:03Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 35,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-04-21T16:00:00Z"
    },
    {
      "repo": "testanull/ProxyNotShell-PoC",
      "url": "https://github.com/testanull/ProxyNotShell-PoC",
      "created_at": "2022-11-17T02:25:51Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 413,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-08-16T13:14:56Z"
    },
    {
      "repo": "0-Gram/CVE-2022-41040",
      "url": "https://github.com/0-Gram/CVE-2022-41040",
      "created_at": "2024-11-23T11:39:18Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-07-04T11:56:42Z"
    },
    {
      "repo": "CyprianAtsyor/LetsDefend-CVE-2022-41082-Exploitation-Attempt",
      "url": "https://github.com/CyprianAtsyor/LetsDefend-CVE-2022-41082-Exploitation-Attempt",
      "created_at": "2025-05-16T13:08:50Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "unrelated",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-06-07T12:38:36Z"
    }
  ],
  "remediation": null,
  "exploit_refs": [
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/http/exchange_proxynotshell_rce.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: Microsoft Exchange ProxyNotShell RCE (exploit/windows/http/exchange_proxynotshell_rce)",
      "published_at": "2022-11-18T22:00:27Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/autodiscover/autodiscover.json",
      "query_markers": [
        "aa..{}/owa/?=",
        "Email=autodiscover/autodiscover.json?a..",
        "Protocol=Autodiscoverv1",
        "{}Protocol=Powershell",
        "aa@{}/owa/?=",
        "Email=autodiscover/autodiscover.json?a@",
        "Email=aa@autodiscover/autodiscover.json?a..",
        "Email=aa@autodiscover/autodiscover.json?a@",
        "@URL/=",
        "Email=autodiscover/autodiscover.json?@URL",
        "@mail.xxx/BACKENDAPI?=",
        "Email=autodiscover/autodiscover.json?@mail.xxx"
      ],
      "headers": [
        {
          "name": "Accept",
          "value": "*/*"
        },
        {
          "name": "Accept",
          "value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"
        },
        {
          "name": "Accept-Language",
          "value": "en"
        },
        {
          "name": "Accept-Language",
          "value": "en-US,en;q=0.9"
        }
      ],
      "user_agents": [
        "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36",
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36 Edg/105.0.1343.53",
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0 pp9520"
      ],
      "protocol": "http",
      "repos": [
        "Ph33rr/Exploit",
        "d3duct1v/CVE-2022-41040",
        "numanturle/CVE-2022-41040"
      ],
      "repo_count": 3,
      "confidence": 0.85,
      "evidence": [
        "Ph33rr/Exploit/CVE-2022-41040.py:41",
        "Ph33rr/Exploit/CVE-2022-41040.py:42",
        "Ph33rr/Exploit/CVE-2022-41040.py:43",
        "Ph33rr/Exploit/CVE-2022-41040.py:44",
        "Ph33rr/Exploit/CVE-2022-41040.py:45",
        "d3duct1v/CVE-2022-41040/scanner.py:49",
        "numanturle/CVE-2022-41040/README.md:16",
        "numanturle/CVE-2022-41040/owa.yaml:12"
      ]
    },
    {
      "method": "POST",
      "path_template": "/mapi/nspi",
      "headers": [
        {
          "name": "Accept",
          "value": "*/*"
        },
        {
          "name": "Accept-Language",
          "value": "en"
        }
      ],
      "body_markers": [
        "\u003c?xml version='1.0' encoding='utf-8'?\u003e\\x0d\\x0a \u003csoap:Envelope\\x0d\\x0a xmlns:soap='http://schemas.xmlsoap.org/soap/envelo"
      ],
      "content_type": "text/xml",
      "user_agents": [
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0 pp9520"
      ],
      "protocol": "http",
      "repos": [
        "Ph33rr/Exploit",
        "TaroballzChen/CVE-2022-41040-metasploit-ProxyNotShell"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "Ph33rr/Exploit/CVE-2022-41040.py:69",
        "TaroballzChen/CVE-2022-41040-metasploit-ProxyNotShell/microsoft_exchange_server_proxynotshell_ssrf.py:74"
      ]
    },
    {
      "method": "GET",
      "path_template": "/autodiscover/autodiscover.json/v1.0/aa..{var}/owa/",
      "query_markers": [
        "Email=autodiscover/autodiscover.json?a..",
        "Protocol=Autodiscoverv1",
        "Protocol=Powershell"
      ],
      "headers": [
        {
          "name": "Accept",
          "value": "*/*"
        },
        {
          "name": "Accept-Language",
          "value": "en"
        }
      ],
      "user_agents": [
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0 pp9520"
      ],
      "protocol": "http",
      "repos": [
        "Ph33rr/Exploit"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Ph33rr/Exploit/CVE-2022-41040.py:39"
      ]
    },
    {
      "method": "GET",
      "path_template": "/autodiscover/autodiscover.json/v1.0/aa@autodiscover/autodiscover.json",
      "query_markers": [
        "a..@{}=",
        "Protocol=Autodiscoverv1",
        "Protocol=Powershell"
      ],
      "headers": [
        {
          "name": "Accept",
          "value": "*/*"
        },
        {
          "name": "Accept-Language",
          "value": "en"
        }
      ],
      "user_agents": [
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0 pp9520"
      ],
      "protocol": "http",
      "repos": [
        "Ph33rr/Exploit"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Ph33rr/Exploit/CVE-2022-41040.py:46"
      ]
    },
    {
      "method": "GET",
      "path_template": "/autodiscover/autodiscover.json/v1.0/aa@{var}",
      "query_markers": [
        "Protocol=Autodiscoverv1"
      ],
      "headers": [
        {
          "name": "Accept",
          "value": "*/*"
        },
        {
          "name": "Accept-Language",
          "value": "en"
        }
      ],
      "user_agents": [
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0 pp9520"
      ],
      "protocol": "http",
      "repos": [
        "Ph33rr/Exploit"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Ph33rr/Exploit/CVE-2022-41040.py:38"
      ]
    },
    {
      "method": "GET",
      "path_template": "/autodiscover/autodiscover.json/v1.0/aa@{var}/owa/",
      "query_markers": [
        "Email=autodiscover/autodiscover.json?a@",
        "Protocol=Autodiscoverv1",
        "Protocol=Powershell"
      ],
      "headers": [
        {
          "name": "Accept",
          "value": "*/*"
        },
        {
          "name": "Accept-Language",
          "value": "en"
        }
      ],
      "user_agents": [
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0 pp9520"
      ],
      "protocol": "http",
      "repos": [
        "Ph33rr/Exploit"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Ph33rr/Exploit/CVE-2022-41040.py:40"
      ]
    }
  ],
  "rules": []
}
