PoC Monitor
← All CVEs
CVE-2026-53787published 12 Jun 2026 13:52 UTCData: JSON · API

Amasty Order Attributes for Magento 2

Amasty Order Attributes for Magento 2 < 4.0.0 Unauthenticated Arbitrary File Upload

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.

First public PoC 11 daysafter publication · 23 Jun 2026 · nuclei template
Public PoCs21 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CNA · CWE-434
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Amasty Order Attributes for Magento 2
  • < 4.0.0

Fixed in 4.0.0

Mitigation

Upgrade Order Attributes for Magento 2 to 4.0.0 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8+10+12CVE published12 Jun 2026 · t = 0First public PoC23 Jun 2026 · t+11d

First public PoC 11 days after publication; not in CISA KEV. First PoC: nuclei template: Magento 2 Amasty Order Attributes < 4.0.0 - Unauthenticated Arbitrary File Upload (nuclei template, 23 Jun 2026).

PoC repositories

Found on GitHub.

1 PoCs · 2 pending

PoCs 1
RepositoryCreatedFound by usStarsAssessment
elitexspam/Def4cer 18 Oct 2026 +128 d 14 Nov 2026 0 PoC
Pending 2
RepositoryCreatedFound by usStarsAssessment
karthi-the-hacker/CVE-2026-53787 13 Nov 2026 +154 d 14 Nov 2026 0 Pending
Ghost-Bx1/amasty-exploits 16 Nov 2026 +157 d 16 Nov 2026 0 Pending · listed by PoC Index; via PoC Index

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.
SourceTitlePublishedFound by us
nuclei templatenuclei template: Magento 2 Amasty Order Attributes < 4.0.0 - Unauthenticated Arbitrary File Upload23 Jun 202614 Nov 2026

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

GET /media/amasty_checkout/{var}

Query
c=id cmd=id x=id p=id
Ports
80, 443
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
Seen in
1 repo: elitexspam/Def4cer
Evidence
elitexspam/Def4cer/defacer.py:136-146 elitexspam/Def4cer/defacer_win.py:140-150

GET /media/amasty_checkout/{var}/{var}/{var}

Ports
80, 443
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
Seen in
1 repo: elitexspam/Def4cer
Evidence
elitexspam/Def4cer/defacer.py:98-103,125-134 elitexspam/Def4cer/defacer_win.py:102-107,129-138

GET /pub/media/amasty_checkout/{var}/{var}/{var}

Ports
80, 443
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
Seen in
1 repo: elitexspam/Def4cer
Evidence
elitexspam/Def4cer/defacer.py:100-103 elitexspam/Def4cer/defacer_win.py:104-107

POST /rest/V1/amasty_orderattr/uploadFile

Key headers
Accept: application/json
Body markers
"fileContent": "base64_encoded_data": "fileName_with_extension": in application/json
Ports
80, 443
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
Seen in
1 repo: elitexspam/Def4cer
Evidence
elitexspam/Def4cer/defacer.py:84-123 elitexspam/Def4cer/defacer_win.py:88-127

POST /rest/all/V1/amasty_orderattr/uploadFile

Key headers
Accept: application/json
Body markers
"fileContent": "base64_encoded_data": "fileName_with_extension": in application/json
Ports
80, 443
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
Seen in
1 repo: elitexspam/Def4cer
Evidence
elitexspam/Def4cer/defacer.py:85 elitexspam/Def4cer/defacer_win.py:90

POST /rest/default/V1/amasty_orderattr/uploadFile

Key headers
Accept: application/json
Body markers
"fileContent": "base64_encoded_data": "fileName_with_extension": in application/json
Ports
80, 443
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
Seen in
1 repo: elitexspam/Def4cer
Evidence
elitexspam/Def4cer/defacer.py:86 elitexspam/Def4cer/defacer_win.py:91

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /media/amasty_checkout/{var}
(?i)^/media/amasty_checkout/[^/?#]*\?(?:.*&)?c=id.*cmd=id.*x=id.*p=id
GET /media/amasty_checkout/{var}/{var}/{var}
(?i)^/media/amasty_checkout/[^/?#]*/[^/?#]*/[^/?#]*(?:[?#].*)?$
GET /pub/media/amasty_checkout/{var}/{var}/{var}
(?i)^/pub/media/amasty_checkout/[^/?#]*/[^/?#]*/[^/?#]*(?:[?#].*)?$
POST /rest/V1/amasty_orderattr/uploadFile
(?i)^/rest/V1/amasty_orderattr/uploadFile(?:[?#].*)?$
POST /rest/all/V1/amasty_orderattr/uploadFile
(?i)^/rest/all/V1/amasty_orderattr/uploadFile(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /media/amasty_checkout/{var}
alert http any any -> $HOME_NET [80,443] (msg:"GG PoC-Monitor CVE-2026-53787 Amasty Order Attributes for Magento 2 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/media/amasty_checkout/"; http.uri; content:"c=id"; http.uri; content:"cmd=id"; http.uri; content:"x=id"; http.uri; content:"p=id"; reference:url,poc.griffinguard.io/cve/CVE-2026-53787; classtype:web-application-attack; sid:9072111; rev:1;)
GET /media/amasty_checkout/{var}/{var}/{var}
alert http any any -> $HOME_NET [80,443] (msg:"GG PoC-Monitor CVE-2026-53787 Amasty Order Attributes for Magento 2 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/media/amasty_checkout/"; reference:url,poc.griffinguard.io/cve/CVE-2026-53787; classtype:web-application-attack; sid:9694059; rev:1;)
GET /pub/media/amasty_checkout/{var}/{var}/{var}
alert http any any -> $HOME_NET [80,443] (msg:"GG PoC-Monitor CVE-2026-53787 Amasty Order Attributes for Magento 2 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/pub/media/amasty_checkout/"; reference:url,poc.griffinguard.io/cve/CVE-2026-53787; classtype:web-application-attack; sid:9122515; rev:1;)
POST /rest/V1/amasty_orderattr/uploadFile
alert http any any -> $HOME_NET [80,443] (msg:"GG PoC-Monitor CVE-2026-53787 Amasty Order Attributes for Magento 2 exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/rest/V1/amasty_orderattr/uploadFile"; http.header; content:"Accept: application/json"; nocase; http.request_body; content:"|22|fileContent|22|:"; http.request_body; content:"|22|base64_encoded_data|22|:"; http.request_body; content:"|22|fileName_with_extension|22|:"; reference:url,poc.griffinguard.io/cve/CVE-2026-53787; classtype:web-application-attack; sid:9020168; rev:1;)
POST /rest/all/V1/amasty_orderattr/uploadFile
alert http any any -> $HOME_NET [80,443] (msg:"GG PoC-Monitor CVE-2026-53787 Amasty Order Attributes for Magento 2 exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/rest/all/V1/amasty_orderattr/uploadFile"; http.header; content:"Accept: application/json"; nocase; http.request_body; content:"|22|fileContent|22|:"; http.request_body; content:"|22|base64_encoded_data|22|:"; http.request_body; content:"|22|fileName_with_extension|22|:"; reference:url,poc.griffinguard.io/cve/CVE-2026-53787; classtype:web-application-attack; sid:9806648; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /media/amasty_checkout/{var}
title: Amasty Order Attributes for Magento 2 exploit attempt (CVE-2026-53787)
id: gg-pocmon-cve-2026-53787-9072111
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-53787. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-53787
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/media/amasty_checkout/'
    cs-uri-query|contains|all:
      - 'c=id'
      - 'cmd=id'
      - 'x=id'
      - 'p=id'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.53787
GET /media/amasty_checkout/{var}/{var}/{var}
title: Amasty Order Attributes for Magento 2 exploit attempt (CVE-2026-53787)
id: gg-pocmon-cve-2026-53787-9694059
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-53787. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-53787
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/media/amasty_checkout/'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.53787
GET /pub/media/amasty_checkout/{var}/{var}/{var}
title: Amasty Order Attributes for Magento 2 exploit attempt (CVE-2026-53787)
id: gg-pocmon-cve-2026-53787-9122515
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-53787. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-53787
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/pub/media/amasty_checkout/'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.53787
POST /rest/V1/amasty_orderattr/uploadFile
title: Amasty Order Attributes for Magento 2 exploit attempt (CVE-2026-53787)
id: gg-pocmon-cve-2026-53787-9020168
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-53787. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-53787
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/rest/V1/amasty_orderattr/uploadFile'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.53787
POST /rest/all/V1/amasty_orderattr/uploadFile
title: Amasty Order Attributes for Magento 2 exploit attempt (CVE-2026-53787)
id: gg-pocmon-cve-2026-53787-9806648
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-53787. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-53787
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/rest/all/V1/amasty_orderattr/uploadFile'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.53787