CVE-2018-8581: Microsoft Exchange Server - SSRF Privilege Escalation

2026-11-29 PoC Public

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.

Details

CVE
CVE-2018-8581 · CVE.org
Severity
高危
Published
PoC
Public

PoC

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.99608
    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: 4b0a0048304602210094ef110ea1cd209a625ec1c818426ce70025769aac7b01fb5da514f81128fa880221008c9ff2102dff73d143c665385b6e17b03ae6616bf950da8703021a2a30e9571d:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

微信搜一搜 biu.life