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

Exploit matérialisé

CVE-2026-42897

HIGH KEV

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 high Vérifié
Source

Microsoft Exchange Server - Stored XSS

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-42897 -u https://your-target

Template yaml

id: CVE-2026-42897

info:
  name: Microsoft Exchange Server - Stored XSS
  author: 0x_Akoko
  severity: high
  description: |
    Microsoft Exchange Server contains a stored XSS caused by improper neutralization of input during web page generation, letting unauthorized attackers perform spoofing over a network, exploit requires no special privileges.
  impact: |
    Unauthorized attackers can perform spoofing attacks over the network, potentially leading to user impersonation or session hijacking.
  remediation: |
    Update to the latest version of Microsoft Exchange Server.
  reference:
    - https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-42897
    - https://techcommunity.microsoft.com/blog/exchange/addressing-exchange-server-may-2026-vulnerability-cve-2026-42897/4518498
    - https://techcommunity.microsoft.com/blog/exchange/released-june-2026-exchange-server-security-updates/4524491
    - https://learn.microsoft.com/en-us/exchange/new-features/build-numbers-and-release-dates
    - https://nvd.nist.gov/vuln/detail/CVE-2026-42897
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
    cvss-score: 8.1
    cve-id: CVE-2026-42897
    epss-score: 0.70662
    epss-percentile: 0.99407
    cwe-id: CWE-79
    cpe: cpe:2.3:a:microsoft:exchange_server:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: microsoft
    product: exchange_server
    shodan-query:
      - http.headers:"X-OWA-Version"
      - http.title:"Outlook Web App"
    fofa-query:
      - header="X-OWA-Version"
      - app="Microsoft-Exchange"
  tags: cve,cve2026,microsoft,exchange,owa,xss,kev,vkev,passive,vd

http:
  - method: GET
    path:
      - "{{BaseURL}}/owa/"

    matchers-condition: and
    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200 || status_code == 302 || status_code == 301 || status_code == 401 || status_code == 403'
          - 'contains(to_lower(header), "x-owa-version")'

      - type: dsl
        dsl:
          - 'compare_versions(exchver, "< 15.1.2507.69") && compare_versions(exchver, ">= 15.1.0.0")'
          - 'compare_versions(exchver, "< 15.2.1544.41") && compare_versions(exchver, ">= 15.2.221.12")'
          - 'compare_versions(exchver, "< 15.2.1748.46") && compare_versions(exchver, ">= 15.2.1748.10")'
          - 'compare_versions(exchver, "< 15.2.2562.43") && compare_versions(exchver, ">= 15.2.2562.17")'
        condition: or

    extractors:
      - type: regex
        name: exchver
        part: header
        group: 1
        regex:
          - '(?i)X-OWA-Version:\s*([0-9]+\.[0-9]+\.[0-9]+(?:\.[0-9]+)?)'
        internal: true

      - type: dsl
        dsl:
          - exchver
# digest: 4a0a00473045022005e58e47bcfb48aa9af623843cb63e4617dfde3861fc5fa316e98c87864feae60221009adc61214db61f02f04ee781b93cb6350e33c61466e6e96bc4090aa7734fcdbc:922c64590222798bb761d5b6d8e72950