Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Vulnerabilities

Telegram Leaks User IP Addresses

A vulnerability in Telegram Desktop results in the end-user public and private IP addresses being leaked during a call, a security researcher has discovered.

A vulnerability in Telegram Desktop results in the end-user public and private IP addresses being leaked during a call, a security researcher has discovered.

A cloud-based instant messaging and voice-over-IP service, Telegram was designed to provide users with secure communication capabilities, as messages are heavily encrypted and can self-destruct.

Tracked as CVE-2018-17780, the newly discovered issue affects Telegram Desktop (aka tdesktop) 1.3.14, and Telegram 3.3.0.0 WP8.1 on Windows, and is the result of a default, unsafe behavior where peer-to-peer (P2P) connections are accepted from clients outside of the My Contacts list.

Security researcher Dhiraj Mishra discovered that a default setting where Telegram clients used P2P connections while initiating a call could result in the user’s IP address being leaked.

Additional connection options are available in Settings > Privacy and security > Calls > peer-to-peer, but there was no option for setting “P2P > nobody” in tdesktop and Telegram for Windows, thus causing a privacy issue, the researcher says.

According to Mishra, a user’s IP address could leak on Telegram for Android as well, provided that the option hasn’t been set to “Settings > Privacy and security > Calls > peer-to-peer > nobody.” However, the Android client does provide the option.

To trigger the vulnerability in tdesktop, one would simply need to launch the application and initiate a call to another user, as the client would leak the IP address during call initialization.

Advertisement. Scroll to continue reading.

The bug manifests itself even for incoming calls, with the recipient being able to view the public/private IP address of the caller in logs. The IP leaks even if the call is made from a Windows Phone.

“Not only the MTProto Mobile Protocol fails here in covering the IP address, rather such information can also be used for OSINT,” the researcher notes.

Telegram Desktop 1.3.17 beta and v1.4.0 are no longer impacted. The vulnerability has been addressed with the addition of an option for setting P2P to Nobody/My contacts. Mishra received a €2000 ($2300) bug bounty reward for the discovery.

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Click to comment

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

SecurityWeek’s Threat Detection and Incident Response Summit brings together security practitioners from around the world to share war stories on breaches, APT attacks and threat intelligence.

Register

Securityweek’s CISO Forum will address issues and challenges that are top of mind for today’s security leaders and what the future looks like as chief defenders of the enterprise.

Register

Expert Insights

Related Content

Vulnerabilities

Less than a week after announcing that it would suspended service indefinitely due to a conflict with an (at the time) unnamed security researcher...

Data Breaches

OpenAI has confirmed a ChatGPT data breach on the same day a security firm reported seeing the use of a component affected by an...

Risk Management

The supply chain threat is directly linked to attack surface management, but the supply chain must be known and understood before it can be...

Vulnerabilities

The latest Chrome update brings patches for eight vulnerabilities, including seven reported by external researchers.

Vulnerabilities

Patch Tuesday: Microsoft warns vulnerability (CVE-2023-23397) could lead to exploitation before an email is viewed in the Preview Pane.

Vulnerabilities

Apple has released updates for macOS, iOS and Safari and they all include a WebKit patch for a zero-day vulnerability tracked as CVE-2023-23529.

IoT Security

A group of seven security researchers have discovered numerous vulnerabilities in vehicles from 16 car makers, including bugs that allowed them to control car...

IoT Security

A vulnerability affecting Dahua cameras and video recorders can be exploited by threat actors to modify a device’s system time.