{
  "id": "CVE-2022-26352",
  "url": "https://poc.griffinguard.io/cve/CVE-2022-26352",
  "published_at": "2022-07-17T21:54:53Z",
  "title": "dotCMS Unrestricted Upload of File Vulnerability",
  "vendor": "dotCMS",
  "product": "dotCMS",
  "cvss": {
    "score": 9.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2022-08-25",
    "known_ransomware_campaign_use": "Known",
    "days_after_publication": 39
  },
  "first_poc": {
    "created_at": "2022-05-19T13:37:48Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": -59.3,
    "source": "metasploit",
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/dotcms_file_upload_rce.rb"
  },
  "poc_repo_count": 1,
  "exploit_count": 2,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "An issue was discovered in the ContentResource API in dotCMS 3.0 through 22.02. Attackers can craft a multipart form request to post a file whose filename is not initially sanitized. This allows directory traversal, in which the file is saved outside of the intended storage location. If anonymous content creation is enabled, this allows an unauthenticated attacker to upload an executable file, such as a .jsp file, that can lead to remote code execution.",
  "cwe": "CWE-noinfo",
  "cvss_by_source": {
    "cisa-adp": 9.8
  },
  "repos": [
    {
      "repo": "KatherineHuangg/metasploit-POC",
      "url": "https://github.com/KatherineHuangg/metasploit-POC",
      "created_at": "2022-07-13T12:30:11Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-03-06T12:56:49Z"
    }
  ],
  "remediation": null,
  "exploit_refs": [
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/dotcms_file_upload_rce.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: DotCMS RCE via Arbitrary File Upload. (exploit/multi/http/dotcms_file_upload_rce)",
      "published_at": "2022-05-19T13:37:48Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-26352.yaml",
      "source": "nuclei",
      "title": "nuclei template: DotCMS - Arbitrary File Upload",
      "published_at": "2023-04-27T04:28:59Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "//authenticationendpoint/abc.jsp//authenticationendpoint/abc.jsp//authenticationendpoint/abc.jsp",
      "query_markers": [
        "cmd=ls"
      ],
      "protocol": "https",
      "repos": [
        "KatherineHuangg/metasploit-POC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "KatherineHuangg/metasploit-POC/CVE-2022-29464/wso2_file_upload_rce.py:82"
      ]
    },
    {
      "method": "GET",
      "path_template": "/abc.jsp",
      "protocol": "https",
      "repos": [
        "KatherineHuangg/metasploit-POC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "KatherineHuangg/metasploit-POC/CVE-2022-26352/dotcms_file_upload_rce.py:64",
        "KatherineHuangg/metasploit-POC/CVE-2022-26352/dotcms_file_upload_rce.py:81"
      ]
    },
    {
      "method": "POST",
      "path_template": "//authenticationendpoint/abc.jsp//authenticationendpoint/abc.jsp//authenticationendpoint/abc.jsp/fileupload/toolsAny",
      "body_markers": [
        "name=\"../../../../repository/deployment/server/webapps/authenticationendpoint/abc.jsp\""
      ],
      "content_type": "multipart/form-data",
      "protocol": "https",
      "repos": [
        "KatherineHuangg/metasploit-POC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "KatherineHuangg/metasploit-POC/CVE-2022-29464/wso2_file_upload_rce.py:73"
      ]
    },
    {
      "method": "POST",
      "path_template": "/api/content/",
      "body_markers": [
        "name=\"../../../../../../../../../srv/dotserver/tomcat-9.0.41/webapps/ROOT/html/js/dojo/abc.jsp\""
      ],
      "content_type": "multipart/form-data",
      "protocol": "https",
      "repos": [
        "KatherineHuangg/metasploit-POC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "KatherineHuangg/metasploit-POC/CVE-2022-26352/dotcms_file_upload_rce.py:72"
      ]
    }
  ],
  "rules": []
}
