{
  "id": "CVE-2022-1040",
  "url": "https://poc.griffinguard.io/cve/CVE-2022-1040",
  "published_at": "2022-03-25T12:10:10Z",
  "title": "Sophos Firewall Authentication Bypass Vulnerability",
  "vendor": "Sophos",
  "product": "Sophos Firewall",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2022-03-31",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 6
  },
  "first_poc": {
    "created_at": "2022-05-06T08:56:04Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 41.9,
    "repo": "killvxk/CVE-2022-1040",
    "source": "github"
  },
  "poc_repo_count": 6,
  "exploit_count": 2,
  "suspicious_repo_count": 0,
  "edge_device": {
    "category": "Firewall / VPN",
    "confidence": "high",
    "reason": "known edge product: Sophos Sophos Firewall Sophos Firewall Authentication Bypass"
  },
  "description": "An authentication bypass vulnerability in the User Portal and Webadmin allows a remote attacker to execute code in Sophos Firewall version v18.5 MR3 and older.",
  "cwe": "CWE-noinfo",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [
    {
      "repo": "APTIRAN/CVE-2022-1040",
      "url": "https://github.com/APTIRAN/CVE-2022-1040",
      "created_at": null,
      "first_seen_at": "2026-11-14T22:17:34.881Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "Seatwe/CVE-2022-1040-rce",
      "url": "https://github.com/Seatwe/CVE-2022-1040-rce",
      "created_at": null,
      "first_seen_at": "2026-11-14T22:17:34.881Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "XmasSnowISBACK/CVE-2022-1040",
      "url": "https://github.com/XmasSnowISBACK/CVE-2022-1040",
      "created_at": null,
      "first_seen_at": "2026-11-14T22:17:34.881Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "cve-hunter/CVE-2022-1040-RCE",
      "url": "https://github.com/cve-hunter/CVE-2022-1040-RCE",
      "created_at": null,
      "first_seen_at": "2026-11-14T22:17:34.881Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "cve-hunter/CVE-2022-1040-sophos-rce",
      "url": "https://github.com/cve-hunter/CVE-2022-1040-sophos-rce",
      "created_at": null,
      "first_seen_at": "2026-11-14T22:17:34.881Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "killvxk/CVE-2022-1040",
      "url": "https://github.com/killvxk/CVE-2022-1040",
      "created_at": "2022-05-06T08:56:04Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 16,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2010-06-19T13:47:37Z"
    },
    {
      "repo": "jam620/Sophos-Vulnerability",
      "url": "https://github.com/jam620/Sophos-Vulnerability",
      "created_at": "2022-09-25T15:15:01Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 18,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-02-21T14:17:48Z"
    },
    {
      "repo": "Keith-amateur/cve-2022-1040",
      "url": "https://github.com/Keith-amateur/cve-2022-1040",
      "created_at": "2022-10-07T14:44:42Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 3,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-04-24T05:43:41Z"
    },
    {
      "repo": "jackson5sec/CVE-2022-1040",
      "url": "https://github.com/jackson5sec/CVE-2022-1040",
      "created_at": "2022-10-30T19:20:57Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 3,
      "is_poc": "unknown",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped",
      "owner_created_at": "2016-02-12T06:56:27Z"
    },
    {
      "repo": "michealadams30/CVE-2022-1040",
      "url": "https://github.com/michealadams30/CVE-2022-1040",
      "created_at": "2023-01-08T15:46:00Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-09-20T08:09:30Z"
    },
    {
      "repo": "Cyb3rEnthusiast/CVE-2022-1040",
      "url": "https://github.com/Cyb3rEnthusiast/CVE-2022-1040",
      "created_at": "2023-09-26T07:26:42Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 30 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2023-09-03T09:43:29Z"
    },
    {
      "repo": "xMr110/CVE-2022-1040",
      "url": "https://github.com/xMr110/CVE-2022-1040",
      "created_at": "2024-02-05T07:35:41Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-08-12T08:44:29Z"
    }
  ],
  "remediation": null,
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/51006",
      "source": "exploitdb",
      "title": "Sophos XG115w Firewall 17.0.10 MR-10 - Authentication Bypass",
      "published_at": "2022-09-02T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-1040.yaml",
      "source": "nuclei",
      "title": "nuclei template: Sophos Firewall \u003c=18.5 MR3 - Remote Code Execution",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/webconsole/Controller",
      "headers": [
        {
          "name": "Accept",
          "value": "text/plain, */*; q=0.01"
        },
        {
          "name": "Accept-Language",
          "value": "en-US,en;q=0.5"
        },
        {
          "name": "Cookie",
          "value": "JSESSIONID=c893loesu9tnlvkq53hy1jiq103"
        },
        {
          "name": "Origin",
          "value": "https://127.0.0.1:4444"
        },
        {
          "name": "Referer",
          "value": "https://127.0.0.1:4444/webconsole/webpages/login.jsp"
        },
        {
          "name": "Sec-Fetch-Dest",
          "value": "empty"
        },
        {
          "name": "Sec-Fetch-Mode",
          "value": "cors"
        },
        {
          "name": "Sec-Fetch-Site",
          "value": "same-origin"
        },
        {
          "name": "Te",
          "value": "trailers"
        },
        {
          "name": "X-Requested-With",
          "value": "XMLHttpRequest"
        }
      ],
      "body_markers": [
        "mode=151",
        "json=",
        "__RequestType=ajax",
        "t=1653896534066",
        "json={\"username\":\"admin\",\"password\":\"somethingnotpassword\",\"languageid\":\"1\",\"browser\":\"Chrome_101\",\"accessaction\":1, \"mode\\u0000ef\":716}"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        4444
      ],
      "user_agents": [
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0"
      ],
      "protocol": "http",
      "repos": [
        "jam620/Sophos-Vulnerability",
        "michealadams30/CVE-2022-1040",
        "xMr110/CVE-2022-1040"
      ],
      "repo_count": 3,
      "confidence": 0.9,
      "evidence": [
        "jam620/Sophos-Vulnerability/README.md:14",
        "michealadams30/CVE-2022-1040/xploit:15",
        "xMr110/CVE-2022-1040/CVE-2022-1040.md:15",
        "xMr110/CVE-2022-1040/CVE-2022-1040.md:33"
      ]
    },
    {
      "method": "POST",
      "path_template": "/userportal/Controller",
      "query_markers": [
        "mode=8700",
        "operation=1",
        "datagrid=179",
        "json=\\"
      ],
      "headers": [
        {
          "name": "X-Requested-With",
          "value": "XMLHttpRequest"
        }
      ],
      "ports": [
        4444
      ],
      "protocol": "https",
      "repos": [
        "jam620/Sophos-Vulnerability",
        "killvxk/CVE-2022-1040"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "jam620/Sophos-Vulnerability/README.md:81",
        "killvxk/CVE-2022-1040/README.md:8"
      ]
    }
  ],
  "rules": []
}
