{
  "id": "CVE-2026-53787",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-53787",
  "published_at": "2026-06-12T13:52:17.006Z",
  "title": "Amasty Order Attributes for Magento 2 \u003c 4.0.0 Unauthenticated Arbitrary File Upload",
  "vendor": "Amasty",
  "product": "Order Attributes for Magento 2",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-06-23T03:27:40Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 10.6,
    "source": "nuclei",
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-53787.yaml"
  },
  "poc_repo_count": 1,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Amasty Order Attributes for Magento 2 before version 4.0.0 contains an unauthenticated arbitrary file upload vulnerability that allows unauthenticated attackers to write arbitrary files to the store's media directory by submitting files of any type or name to the upload endpoint without authentication, session validation, or cart context. Attackers can upload PHP files to achieve remote code execution on servers where the media directory permits PHP execution, or alternatively enable malware hosting, stored cross-site scripting via HTML or SVG uploads, and path traversal to write files outside the intended upload directory.",
  "cwe": "CWE-434",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [
    {
      "repo": "elitexspam/Def4cer",
      "url": "https://github.com/elitexspam/Def4cer",
      "created_at": "2026-10-18T15:55:04Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-05-10T04:18:13Z"
    },
    {
      "repo": "karthi-the-hacker/CVE-2026-53787",
      "url": "https://github.com/karthi-the-hacker/CVE-2026-53787",
      "created_at": "2026-11-13T20:31:53Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "discovered",
      "owner_created_at": "2017-11-01T15:11:17Z"
    },
    {
      "repo": "Ghost-Bx1/amasty-exploits",
      "url": "https://github.com/Ghost-Bx1/amasty-exploits",
      "created_at": "2026-11-16T04:01:23Z",
      "first_seen_at": "2026-11-16T08:31:11.222Z",
      "stars": 0,
      "is_poc": "unknown",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped",
      "owner_created_at": "2022-04-12T22:46:23Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Amasty",
        "product": "Order Attributes for Magento 2",
        "ranges": [
          "\u003c 4.0.0"
        ],
        "fixed_in": [
          "4.0.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Order Attributes for Magento 2 to 4.0.0 or later."
    ],
    "references": [
      {
        "kind": "Release notes",
        "url": "https://amasty.com/order-attributes-for-magento-2.html"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-53787.yaml",
      "source": "nuclei",
      "title": "nuclei template: Magento 2 Amasty Order Attributes \u003c 4.0.0 - Unauthenticated Arbitrary File Upload",
      "published_at": "2026-06-23T03:27:40Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/media/amasty_checkout/{var}",
      "query_markers": [
        "c=id",
        "cmd=id",
        "x=id",
        "p=id"
      ],
      "ports": [
        80,
        443
      ],
      "user_agents": [
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
      ],
      "protocol": "http",
      "repos": [
        "elitexspam/Def4cer"
      ],
      "repo_count": 1,
      "confidence": 0.6,
      "evidence": [
        "elitexspam/Def4cer/defacer.py:136-146",
        "elitexspam/Def4cer/defacer_win.py:140-150"
      ]
    },
    {
      "method": "GET",
      "path_template": "/media/amasty_checkout/{var}/{var}/{var}",
      "ports": [
        80,
        443
      ],
      "user_agents": [
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
      ],
      "protocol": "http",
      "repos": [
        "elitexspam/Def4cer"
      ],
      "repo_count": 1,
      "confidence": 0.6,
      "evidence": [
        "elitexspam/Def4cer/defacer.py:98-103,125-134",
        "elitexspam/Def4cer/defacer_win.py:102-107,129-138"
      ]
    },
    {
      "method": "GET",
      "path_template": "/pub/media/amasty_checkout/{var}/{var}/{var}",
      "ports": [
        80,
        443
      ],
      "user_agents": [
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
      ],
      "protocol": "http",
      "repos": [
        "elitexspam/Def4cer"
      ],
      "repo_count": 1,
      "confidence": 0.6,
      "evidence": [
        "elitexspam/Def4cer/defacer.py:100-103",
        "elitexspam/Def4cer/defacer_win.py:104-107"
      ]
    },
    {
      "method": "POST",
      "path_template": "/rest/V1/amasty_orderattr/uploadFile",
      "headers": [
        {
          "name": "Accept",
          "value": "application/json"
        }
      ],
      "body_markers": [
        "\"fileContent\":",
        "\"base64_encoded_data\":",
        "\"fileName_with_extension\":"
      ],
      "content_type": "application/json",
      "ports": [
        80,
        443
      ],
      "user_agents": [
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
      ],
      "protocol": "http",
      "repos": [
        "elitexspam/Def4cer"
      ],
      "repo_count": 1,
      "confidence": 0.6,
      "evidence": [
        "elitexspam/Def4cer/defacer.py:84-123",
        "elitexspam/Def4cer/defacer_win.py:88-127"
      ]
    },
    {
      "method": "POST",
      "path_template": "/rest/all/V1/amasty_orderattr/uploadFile",
      "headers": [
        {
          "name": "Accept",
          "value": "application/json"
        }
      ],
      "body_markers": [
        "\"fileContent\":",
        "\"base64_encoded_data\":",
        "\"fileName_with_extension\":"
      ],
      "content_type": "application/json",
      "ports": [
        80,
        443
      ],
      "user_agents": [
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
      ],
      "protocol": "http",
      "repos": [
        "elitexspam/Def4cer"
      ],
      "repo_count": 1,
      "confidence": 0.6,
      "evidence": [
        "elitexspam/Def4cer/defacer.py:85",
        "elitexspam/Def4cer/defacer_win.py:90"
      ]
    },
    {
      "method": "POST",
      "path_template": "/rest/default/V1/amasty_orderattr/uploadFile",
      "headers": [
        {
          "name": "Accept",
          "value": "application/json"
        }
      ],
      "body_markers": [
        "\"fileContent\":",
        "\"base64_encoded_data\":",
        "\"fileName_with_extension\":"
      ],
      "content_type": "application/json",
      "ports": [
        80,
        443
      ],
      "user_agents": [
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
      ],
      "protocol": "http",
      "repos": [
        "elitexspam/Def4cer"
      ],
      "repo_count": 1,
      "confidence": 0.6,
      "evidence": [
        "elitexspam/Def4cer/defacer.py:86",
        "elitexspam/Def4cer/defacer_win.py:91"
      ]
    }
  ],
  "rules": []
}
