cbcvebase.
CVE-2024-39713
published 2024-08-05

CVE-2024-39713: A Server-Side Request Forgery (SSRF) affects Rocket.Chat's Twilio webhook endpoint before version 6.10.1.

PriorityP276high8.6CVSS 3.1
AVNACLPRNUINSCCHINAN
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
3.20%
86.5th percentile
A Server-Side Request Forgery (SSRF) affects Rocket.Chat's Twilio webhook endpoint before version 6.10.1.

Affected

3 ranges
VendorProductVersion rangeFixed in
rocket.chatrocket.chat< 6.10.16.10.1
rocket.chatrocket.chat>= 0 < 6.10.16.10.1
rocket.chatrocket.chat>= 6.10.1 < 6.10.16.10.1

Detection & IOCsextracted from sources · hover to see the quote

url/api/v1/livechat/sms-incoming/twilio
otherNumMedia=1&MediaUrl0=http://<external-host>&MediaContentType0=application/json
sigma
POST request to /api/v1/livechat/sms-incoming/twilio with MediaUrl0 field pointing to external host
  • Monitor for unauthenticated POST requests to the Twilio webhook endpoint /api/v1/livechat/sms-incoming/twilio containing a 'MediaUrl0' field with an external or internal URL — this is the SSRF trigger vector.
  • The exploit payload uses JSON body with 'NumMedia' >= 1 and 'MediaUrl0' set to an attacker-controlled URL; alert on outbound HTTP requests originating from the Rocket.Chat server process to unexpected hosts following such inbound requests.
  • Successful exploitation returns a response with Content-Type: text/xml; use this as a secondary detection signal when combined with a POST to the Twilio endpoint.
  • DNS interaction (OOB callback) is expected as part of exploitation; monitor DNS logs for queries originating from the Rocket.Chat server to external resolvers shortly after a POST to the Twilio webhook endpoint.
  • Use Shodan/FOFA/Google dorks to identify exposed Rocket.Chat instances: Shodan 'http.title:"rocket.chat"', FOFA 'title="rocket.chat"', Google 'intitle:"rocket.chat"'.
  • ·The vulnerability affects Rocket.Chat versions before 6.10.1 only; instances already patched to 6.10.1 or later are not affected.
  • ·The endpoint /api/v1/livechat/sms-incoming/twilio is unauthenticated, meaning no credentials are required to trigger the SSRF — no authentication bypass is needed in the attack chain.
  • ·The SSRF is triggered via the 'MediaUrl0' (and potentially MediaUrl1..N) JSON field; the server fetches the supplied URL server-side, enabling access to internal network resources.

CVSS provenance

nvdv3.18.6HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
nvdv3.08.6HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
vulncheck8.6HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.