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.72708 epss-percentile: 0.99454 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: 490a0046304402200c6eacc731897c96db8244a7374a8ff5cdace25b00e3779e0ec23eb706bbdb5a022037c41580a7e1d8dcba3fef6d2fd72e1acee60c09367729a11e0cb1918f0a271f:922c64590222798bb761d5b6d8e72950