CyberSecBulletin
CVE-2022-1239NVD status: Modified

HubSpot – CRM, Email Marketing, Live Chat…: Server-Side Request Forgery

CVE-2022-1239 is a high-severity server-side request forgery vulnerability in HubSpot – CRM, Email Marketing, Live Chat, Forms & Analytics, with a CVSS 3.1 base score of 8.8 out of 10. It can be exploited remotely over the network by an attacker with a low-privileged account, without any action from a user. The record lists version 8.8.15 as the first without the flaw, so updating HubSpot – CRM, Email Marketing, Live Chat, Forms & Analytics to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 1.42% chance of exploitation within 30 days, higher than 73% of scored CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update HubSpot – CRM, Email Marketing, Live Chat, Forms & Analytics to 8.8.15 or a later version.
  2. Update Hubspot to 8.8.15 or a later version.

Affected products and versions

VendorProductAffected versionsFixed in
HubSpot – CRM, Email Marketing, Live Chat, Forms & AnalyticsHubSpot – CRM, Email Marketing, Live Chat, Forms & Analytics8.8.15 up to, but not including, 8.8.158.8.15
HubspotHubspotbefore 8.8.158.8.15

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
LowA basic user account is enough.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.18.8HighNVD
CVSS 2.06.5MediumNVD

Official description

The HubSpot WordPress plugin before 8.8.15 does not validate the proxy URL given to the proxy REST endpoint, which could allow users with the edit_posts capability (by default contributor and above) to perform SSRF attacks

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Server-Side Request Forgery

The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.

How developers prevent this class of flaw

  • If there is a known list of applications, IP, hostname, and/or domains to which the product is allowed to communicate, then use allowlists to ensure that outgoing requests are restricted to these known entities. The allowlists could be in the application code or possibly enforced by firewalls or network segmentation.
  • If the product is expected to be able to connect to arbitrary IP addresses or domains, consider using a denylist that includes private network addresses, internal domain names, etc. The denylist could be in the application code or possibly enforced by firewalls or network segmentation.

More Server-Side Request Forgery vulnerabilities (CWE-918)

Timeline

  1. CVE record published.
  2. Record last changed materially (score, affected products, status or references).

References

Technical write-ups (may include proof of concept)

Recent Server-Side Request Forgery vulnerabilities

Spotted an error? Tell us.