Readme Security issue notice

This commit is contained in:
Alexander Pankratov 2020-01-13 02:02:29 +03:00
parent 39a269b207
commit 8a74979cd7

View File

@ -92,6 +92,14 @@ Fast, simple, async php telegram api server:
* sendMessage: `http://127.0.0.1:9503/api/sendMessage/?data[peer]=@xtrime&data[message]=Hello!`
* copy message from one channel to other (not repost): `http://127.0.0.1:9503/api/copyMessages/?data[from_peer]=@xtrime&data[to_peer]=@xtrime&data[id][0]=1`
**INPORTANT SECURITY NOTICE!**
Do not use `SERVER_ADDRESS=0.0.0.0` in version 1.5.0+, because websocket EventHandler endpoint currently not use `IP_WHITELIST` option.
This means, anyone from internet can listen your updates via websocket in this mode.
Use only default setting: `SERVER_ADDRESS=127.0.0.1`, or protect your app with external firewall.
This security issue will be fixed in one of next releases in January 2020.
**Contacts**