You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
Reviewing this for a client and noticed these two:
The dependency in composer.json points to kertz/twitteroauth instead of abraham/twitteroauth which is the main branch for twitteroauth. Presumably to have twtteroauth registered on packagist.org and to have better compatibility. This will drift out of date with time.
Both of the twitteroauth libs disable SSL verification by setting CURLOPT_SSL_VERIFYPEER to false for all HTTP requests. The Twitter API is served over HTTPS so this is a security vulnerability (publicly disclosed now for several years: Enable SSL verification abraham/twitteroauth#52).
The second can be resolved by enabling SSL verification and (since this is a single domain service) distributing the Twitter API certificate to be configured on curl. You'll need to manage the Twitter cert should it ever be replaced (e.g. have a functional test for it in the unit tests) but it may be simpler as a backup to requiring all servers to be properly configured with cert files.
The text was updated successfully, but these errors were encountered:
All this bundle does is providing the authentication using Twitter OAuth (as Twitter Anywhere has been shut down). So I suggest using HWIOAuthBundle instead of this bundle.
Reviewing this for a client and noticed these two:
The second can be resolved by enabling SSL verification and (since this is a single domain service) distributing the Twitter API certificate to be configured on curl. You'll need to manage the Twitter cert should it ever be replaced (e.g. have a functional test for it in the unit tests) but it may be simpler as a backup to requiring all servers to be properly configured with cert files.
The text was updated successfully, but these errors were encountered: