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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 4.0.0
Fixed in 4.0.0
Mitigation
Upgrade Order Attributes for Magento 2 to 4.0.0 or later.
References
- Release notes amasty.com/order-attributes-for-magento-2.html
Timeline
Days relative to CVE publicationFirst 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
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| elitexspam/Def4cer | 18 Oct 2026 +128 d | 14 Nov 2026 | 0 | PoC |
Pending 2
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| 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.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: Magento 2 Amasty Order Attributes < 4.0.0 - Unauthenticated Arbitrary File Upload | 23 Jun 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /media/amasty_checkout/{var}
- Query
c=idcmd=idx=idp=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":inapplication/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":inapplication/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":inapplication/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.
(?i)^/media/amasty_checkout/[^/?#]*\?(?:.*&)?c=id.*cmd=id.*x=id.*p=id
(?i)^/media/amasty_checkout/[^/?#]*/[^/?#]*/[^/?#]*(?:[?#].*)?$
(?i)^/pub/media/amasty_checkout/[^/?#]*/[^/?#]*/[^/?#]*(?:[?#].*)?$
(?i)^/rest/V1/amasty_orderattr/uploadFile(?:[?#].*)?$
(?i)^/rest/all/V1/amasty_orderattr/uploadFile(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
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;)
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;)
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;)
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;)
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.
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
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
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
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
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