EyuCoder / chatgpt-pro

ChatGPT-Pro is an advanced application that combines the power of ChatGPT and DALL.E.
https://chatgpt.eyucoder.com
Apache License 2.0
458 stars 212 forks source link

Security Risks #26

Closed killinsun closed 1 year ago

killinsun commented 1 year ago

Hello! I found a tiny issue. If I look at the code, it looks the clone has SSO with Google, but we can send HTTP requests to the backend directly without authentication.

It gives rise to excessive use of APIs and bypasses the rate limit middleware.

wdyt?

EyuCoder commented 1 year ago

yeah if you have the link to server you can do direct request to it because the auth is just from the client side and session is not stored in a DB. only clients browser

killinsun commented 1 year ago

Gotcha. Thanks.