Unauthenticated File Upload in Amasty Order Attributes for M...#2382
Open
carlospolop wants to merge 1 commit into
Open
Unauthenticated File Upload in Amasty Order Attributes for M...#2382carlospolop wants to merge 1 commit into
carlospolop wants to merge 1 commit into
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://sansec.io/research/amasty-order-attributes-file-upload Content Categories: Based on the analysis, this content was categorized under "Pentesting Web > File Upload; optionally add a Magento/Adobe Commerce note under Network Services Pentesting > 80,443 - Pentesting Web Methodology". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Overview
Sansec describes CVE-2026-53787, a critical unauthenticated arbitrary file upload vulnerability in Amasty Order Attributes for Magento / Adobe Commerce. The issue affects all versions up to and including 3.16.0 and was fixed in Amasty Order Attributes 4.0.0, released on June 12, 2026. The vulnerability is classified as CWE-434: Unrestricted Up...🔧 Technical Details
Unauthenticated REST file upload to RCE: when a web application or extension exposes an upload endpoint that accepts attacker-controlled file bytes and a filename without authentication, session validation, object ownership checks, or business-logic validation, an attacker can upload executable content into a web-accessible directory. The exploitation pattern is: identify the REST upload endpoint, submit encoded file content and a dangerous filename such as
index.php, then request the uploaded file through the web server. Example structure from this case:The base64 payload decodes to:
If the upload location executes PHP, loading the file confirms code execution under the web server account. In ...
🤖 Agent Actions
Done.
Updated:
src/pentesting-web/file-upload/README.mdAdded:
/rest/V1/...and scoped aliases.html/.svg## ReferencessectionI kept the change in one file only, since
file-upload/README.mdwas the best existing place and already covered adjacent upload-to-RCE and path traversal patterns.This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.