• XSS.stack #1 – первый литературный журнал от юзеров форума

Telegram 'Secret Chat' didn't delete self-destructing media files

wolfgram

(L3) cache
Пользователь
Регистрация
30.10.2020
Сообщения
237
Реакции
245
Telegram has fixed a security issue where self-destructing audio and video files were not being deleted from user's macOS devices as expected.

Telegram offers a 'Secret Chat' mode that offers increased privacy than the standard chats.

When in a Secret Chat, the connections are all end-to-end encrypted, you can't forward messages to other users, and all messages and media can be configured to automatically self-destruct and be removed from all devices after a certain amount of time.
Yesterday, security researcher Dhiraj Mishra told BleepingComputer that he discovered a vulnerability in the Secret Chat feature on Telegram 7.3 for where self-destructing media is deleted from recipients' devices.
While this path would not be leaked in Secret Chats, received media would still be stored in that same folder.

"In my case the path was (/var/folders/x7/khjtxvbn0lzgjyy9xzc18z100000gn/T/). While performing the same task under secret chat option the MediaResourceData(path://) URI was not leaked but the recorded audio/video message still gets stored on the above path," Mishra explained in a report on the vulnerability.

Dishra discovered that when the media self-destructed and was removed from the chat, the actual media files were still accessible in the computer's folder.

"Bob (Attacker using tdesktop macOS) & Alice (Victim) they are communicating under secret chat option and Alice send a recorded audio/video message to Bob with a self-destructed timer of 20 seconds."
"However the recorded message gets deleted from the chat after 20 seconds but still remains under Bob's custom path, over here Telegram fails to prevent the privacy for Alice. In general the functionality of self-destructing and leaving no traces failed," Mishra explains in an attack scenario shared with bleepingcomputer[.]

This bug is particularly concerning for users who may be sending very sensitive video to other Telgrams users under the expectation that the app will automatically remove them after a set time.

Passcode saved in plain text​

In addition to the Secret Chat security issue, Mishra discovered that Telegram was storing user's local passcodes to unlock the app in plain text on the device.

These plaintext passcodes were saved in the Users/[username]/Library/Group Containers/6N38VWS5BX.ru.keepcoder.Telegram/accounts-metadata as a JSON file.
Dishra reported both of these vulnerabilities on December 26th, 2020, and they are now fixed in Telegram 7.4.

For reporting both bugs, Mishra received a security bounty of $3,000 from Telegram.
 
Пожалуйста, обратите внимание, что пользователь заблокирован
[RU]

Telegram сохранял самоуничтожающиеся медиафайлы в секретных чатах


Уязвимость позволяла получать доступ к самоуничтожающимся аудио- и видеосообщениям спустя долгое время после их исчезновения.

В популярном приложении для обмена сообщениями Telegram была обнаружена уязвимость в версии программы для macOS, нарушающая конфиденциальность пользователей. Проблема была выявлена исследователем безопасности Дхираджем Мишрой в версии приложения Telegram 7.3. Ее эксплуатация позволяла получать доступ к самоуничтожающимся аудио- и видеосообщениям спустя долгое время после их исчезновения из секретных чатов.

В отличие от Signal или WhatsApp, беседы в Telegram по умолчанию не зашифрованы, за исключением случаев, когда пользователи используют секретные чаты, сохраняющая данные в зашифрованном виде даже на серверах Telegram. Также в секретных чатах доступна возможность отправки самоуничтожающихся сообщений.

По словам исследователя, когда пользователь записывает и отправляет аудио- или видеосообщение через обычный чат, приложение передает точный путь, по которому записанное сообщение хранится в формате «.mp4». При включенной опции секретного чата информация о пути не передается, но записанное сообщение по-прежнему сохраняется в том же месте.

Даже в тех случаях, когда пользователь получает самоуничтожающееся сообщение в секретном чате, мультимедийное сообщение остается доступным в системе после его удаления с экрана чата.

«Telegram сообщает, что «суперсекретные» чаты не оставляют следов, но они хранят локальную копию таких сообщений по заданному пути», — пояснил Мишра.

Эксперт также обнаружил другую проблему в версии приложения Telegram для macOS, в связи с которой локальные пароли хранились в виде открытого текста в файле JSON, расположенном в папке «/ Users / <user_name> / Library / Group Containers / <*>. Ru.keepcoder.Telegram / accounts-metadata./."
 


Напишите ответ...
  • Вставить:
Прикрепить файлы
Верх