question

sebastianusberti-externo avatar image
sebastianusberti-externo asked

Playfab API endpoints security headers

Hi there! We are currently using Playfab on our Unity based games, and during a Pentest, we had an issue with our calls to https://ade31.playfabapi.com

Specifically, lack or misconfiguration on these headers:

HTTP Strict Transport Security (HSTS), Cache-control, Control-Security-Policy

Do you have any insights on these? Roadmap? Plans to remediate?

apisunity3d
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Infer Wang avatar image
Infer Wang answered

PlayFab Rest Api don’t need the header you mentioned. You can find the required header in every Api’s document.

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

sebastianusberti-externo avatar image sebastianusberti-externo commented ·

It is not a matter of Playfab API needing the headers..

Playfab API is considered insecure without them, as they provide means to guarantee that the service provided is legit, the content is controlled, etc.

It is we, the consumers, who need the API to expose proper headers.

Question remains, is there any roadmap? Remediation or plan for this?

Reference for security headers: https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security https://en.wikipedia.org/wiki/Content_Security_Policy

0 Likes 0 ·
Infer Wang avatar image Infer Wang sebastianusberti-externo commented ·

I’m not sure whether these policies should be included in the PlayFab Api but from the document, it seems these policies are to protect websites that uses web browser. PlayFab Api is Rest Api that uses HTTPS protocol to ensure secure communication between your application and PlayFab servers.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.