Exploit matérialisé
CVE-2018-8581
HIGH KEV1 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 - SSRF Privilege Escalation
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-2018-8581 -u https://your-target
Template yaml
id: CVE-2018-8581
info:
name: Microsoft Exchange Server - SSRF Privilege Escalation
author: 0x_Akoko
severity: high
description: |
Microsoft Exchange Server contains an elevation of privilege caused by a vulnerability in the system, letting attackers escalate their privileges, exploit requires specific conditions not specified.
impact: |
Attackers can escalate privileges, potentially gaining full control over the affected system.
remediation: |
Apply the latest security updates and patches provided by Microsoft for Exchange Server.
reference:
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2018-8581
- https://dirkjanm.io/abusing-exchange-one-api-call-away-from-domain-admin/
- https://nvd.nist.gov/vuln/detail/CVE-2018-8581
- https://learn.microsoft.com/en-us/exchange/new-features/build-numbers-and-release-dates
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
cvss-score: 7.4
cve-id: CVE-2018-8581
epss-score: 0.27558
epss-percentile: 0.98121
cwe-id: CWE-918
metadata:
verified: true
max-request: 1
vendor: microsoft
product: exchange_server
shodan-query: http.title:"Outlook Web App" || http.title:"Outlook"
fofa-query: header="X-OWA-Version" || title="Outlook Web App"
tags: cve,cve2018,microsoft,exchange,owa,ssrf,privesc,version-detect,kev,vkev,vd
http:
- raw:
- |
GET /owa/ HTTP/1.1
Host: {{Hostname}}
host-redirects: true
max-redirects: 3
matchers:
- type: dsl
dsl:
- 'len(exchver) > 0'
- compare_versions(exchver, ">= 14.0.0", "< 14.3.442.0") || compare_versions(exchver, ">= 15.0.0", "< 15.0.1473.3") || compare_versions(exchver, ">= 15.1.0", "< 15.1.1713.5") || compare_versions(exchver, ">= 15.2.0", "< 15.2.330.5")
condition: and
extractors:
- type: regex
name: exchver
part: header
group: 1
internal: true
regex:
- '(?i)X-OWA-Version: *([0-9]+\.[0-9]+\.[0-9]+(?:\.[0-9]+)?)'
- type: dsl
dsl:
- '"Exchange " + exchver'
# digest: 4a0a00473045022100bedabba3dda450902b5920518b842a0a47274b280ce97b6e75e1d264b24fcb41022014ea4baede00dbd942dd8a2674dcebb0ae6052ace7a0821ed5376b3789b54f84:922c64590222798bb761d5b6d8e72950