【不是假新闻!】附近有叫这个名字的 Wifi,你 iPhone 的网络可能直接就坏了(不需要连上)

接近 2 年前
17.2k 次浏览
时事新闻
 

几周前,Secret Club 的创始人 Carl Schou 透露,如果你的 iPhone 连上了叫 "%p%s%s%s%s%n" 的 Wifi 网络,你的 Wifi 就直接被禁用了。开始他担心这个是永久损坏,不过后来重置了网络设置后恢复了。

现在,Schou 发现了一个类似的 bug, 而且比之前的更严重,他在推特上说如果你附近有叫做 "%secretclub%power"的公共 Wifi, 你都不用连上这个 Wifi, 就会出现一样的问题,而且重置网络设置也没用!

唯一的解决方案是恢复出厂设置,不过也有部分用户说用 iTunes 恢复备份可以解决这个问题,还有 Twitter 用户说在恢复设置前从 "com.apple. Wi-Fi.known-networks.plist" 里去掉这个 Wifi 名字也可以解决这个问题。

为什么会出现这个 bug 呢?科技网站 9To5Mac 的解释是:

The '%[character]' syntax is commonly used in programming languages to format variables into an output string. In C, the '%n' specifier means to save the number of characters written into the format string out to a variable passed to the string format function. The Wi-Fi subsystem probably passes the Wi-Fi network name (SSID) unsanitized to some internal library that is performing string formatting, which in turn causes an arbitrary memory write and buffer overflow. This will lead to memory corruption and the iOS watchdog will kill the process, hence effectively disabling Wi-Fi for the user.

因此,如果你附近有含有 '%s', '%p' 和 '%n' 字样的网络,你要小心了。

如何解决?在苹果发布补丁更新前,去公共场合最好不要开 Wifi, 看起来是唯一的办法了。

责任编辑:  
来源:  techspot
点赞 (1)
脸书分享
微信分享
3条评论
匿名接近 4 年前

肯定是假新闻,我准备设置个热点试验试验😂😂😂

基叔
咕噜币:9379
接近 4 年前

趁独立日假期发这个 bug, 苹果工程师要杀人了

匿名接近 4 年前

哈哈我要去害人了