APIs & Integrations

joseph_costello
Member

PCI Compliance Failure

SOLVE

Recently my website has started to fail PCI Compliance scans through Trustwave. Part of it is related to Hub Spot cookies.

 

DetectionDetails: Cookie Vulnerabilities Found __hssrc=1 Path = / Host = 0.0.0.0 Cookie does not have secure attribue in HTTPS Cookie does not have an HTTPOnly Attribute Cookie Change Observed on CLIENTside

 

 

We've migrated to the external merchant forms so we no longer need to worry about the PCI scan here, but I wanted to pass this along so Hubspot was aware. I'm not sure if the secure attribute can be set on the HS cookies, but might want to look into it. There were also other non-session cookies flagged in the scan to with other frameworks we used, so I don't know if its really a problem with them, or more of a problem with Trustwave's automated session cookie detection. 

1 Accepted solution
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

PCI Compliance Failure

SOLVE

@kate4 ,

Glad you asked 😜

If you go here,

you should be able to now select "Use secure cookies only"

Settings.png

View solution in original post

8 Replies 8
PPointPredict
Member

PCI Compliance Failure

SOLVE

Hi all,

 

We found the following security issue from WANS scan report

Threat
The cookie does not contain the "HTTPOnly" attribute.
Impact
Cookies without the "HTTPOnly" attribute are permitted to be accessed via JavaScript. Cross-site scripting attacks can steal cookies which could lead to user
impersonation or compromise of the application account. 
Solution
If the associated risk of a compromised account is high, apply the "HTTPOnly" attribute to cookies.


Detection Information
Cookie Name(s)  messagesUtk, __hssc, __hssrc, __hstc, hubspotutk

0 Upvotes
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

PCI Compliance Failure

SOLVE

@kate4 ,

Glad you asked 😜

If you go here,

you should be able to now select "Use secure cookies only"

Settings.png

kate4
Member

PCI Compliance Failure

SOLVE

Hi @dennisedson !

Are there any updates?

0 Upvotes
Anonymous
Not applicable

PCI Compliance Failure

SOLVE

@dennisedson 

Any developments on that front? We'd also need the cookies to be HttpOnly for security reasons.

0 Upvotes
dennisedson
HubSpot Product Team
HubSpot Product Team

PCI Compliance Failure

SOLVE

@Anonymous , yep there has been development.  It is an alpha form and will be released as an in app feature.

I have a reminder set to check in on this later this month 😀 but please feel free to yell at me if I am not responsive.

0 Upvotes
KT17
Member

PCI Compliance Failure

SOLVE

Any update on this? As this is needed for the same above reasons. 

 

Thanks

0 Upvotes
Anonymous
Not applicable

PCI Compliance Failure

SOLVE

Awesome, thanks for the quick response. Looking forward to that 🙂

dennisedson
HubSpot Product Team
HubSpot Product Team

PCI Compliance Failure

SOLVE

@joseph_costello 

Thank you so much for flagging!  I Will get this to the team to check it out

0 Upvotes