Skip to content
Appaloosa Scout
Language selector
fr en

Materialized exploit

CVE-2020-0618

HIGH KEV

2 public exploit(s) for this CVE, 1 materialized with their code.

For defensive research only. Only test on systems you own or have written authorization for. Unauthorized access is illegal.
Nuclei high Verified
Source

Microsoft SQL Server Reporting Services - Remote Code Execution

By projectdiscovery

How to test this exploit

The Nuclei template IS the test: an executable detection rule. Install nuclei, then run it against a target you control.

nuclei -id CVE-2020-0618 -u https://your-target

Template yaml

id: CVE-2020-0618

info:
  name: Microsoft SQL Server Reporting Services - Remote Code Execution
  author: joeldeleep
  severity: high
  description: Microsoft SQL Server Reporting Services is vulnerable to a remote code execution vulnerability because it incorrectly handles page requests.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
  remediation: |
    Apply the latest security updates provided by Microsoft to mitigate this vulnerability.
  reference:
    - https://www.mdsec.co.uk/2020/02/cve-2020-0618-rce-in-sql-server-reporting-services-ssrs/
    - https://github.com/euphrat1ca/CVE-2020-0618
    - https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-0618
    - http://packetstormsecurity.com/files/156707/SQL-Server-Reporting-Services-SSRS-ViewState-Deserialization.html
    - https://nvd.nist.gov/vuln/detail/CVE-2020-0618
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 8.8
    cve-id: CVE-2020-0618
    cwe-id: CWE-502
    epss-score: 0.99022
    epss-percentile: 0.99928
    cpe: cpe:2.3:a:microsoft:sql_server:2012:sp4:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: microsoft
    product: sql_server
  tags: cve,cve2020,rce,packetstorm,microsoft,kev,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/ReportServer/Pages/ReportViewer.aspx"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'value="View Report"'

      - type: status
        status:
          - 200
# digest: 4b0a004830460221009c31c51a215c7c5dd11cd7eb3f3635eb7e02dcb2a509178261706b941d6be7eb022100ece58f96cc83076c06068a17aa50070e8967432e0ad6a2a29f3399aa966197be:922c64590222798bb761d5b6d8e72950
ExploitDB remote windows
Source

Microsoft SQL Server Reporting Services 2016 - Remote Code Execution

By West Shepherd

How to test this exploit

Remote exploit. Target an isolated vulnerable instance (VM/lab), never a production system.

python3 48816.py

Code

Content not materialized yet (fetched on the next cycle).

View at source