0:00
–:––
React at 0:00
Black Hat USA 2025

Cross-Origin Web Attacks via HTTP/2 Server Push and Signed HTTP Exchange

Pinji Chen, Tsinghua University; Jianjun Chen, Tsinghua University; Qi Wang, Tsinghua University; Mingming Zhang, Tsinghua University; Haixin Duan, Tsinghua UniversityApplication Security: Offense

When and where

Day
Thu 7 Aug 2025
Time
14:30 to 15:00 PDT
Room
Jasmine A & E, Level 3

Speakers

  • Pinji ChenTsinghua University

    Pinji Chen is a Ph.D. student in the Institute for Network Sciences and Cyberspace at Tsinghua University. He works in the Network and Information Security (NISL) Lab and is advised by Prof. Jianjun Chen. His research interests encompass a wide range of topics within protocol security, web security, and AI security. He is particularly interested in exploring emerging technologies and identifying and mitigating their security vulnerabilities. For example, he discovered security risks associated with speaker recognition systems, such as those widely deployed in smart devices (e.g., Apple Siri). This work was published at USENIX Security 2024. Additionally, this year, he identified a new type of cross-origin web attack caused by the advancement of the HTTP protocol and shared TLS certificate, which has been accepted by NDSS 2025.

  • Jianjun ChenTsinghua University

    Jianjun Chen is an associate professor at the Institute for Network Sciences and Cyberspace at Tsinghua University. Before joining Tsinghua, he was a postdoctoral researcher at UC Berkeley (worked with Prof. Vern Paxson) and the University of Chicago (worked with Prof. Nick Feamster). He received a Ph.D. in Computer Science from Tsinghua University in 2018. His research interest focuses on network security, protocol security, and system security. He is particularly interested in discovering and mitigating new security vulnerabilities in widely-used Internet protocols and systems, such as HTTP protocol, CDN system, email system, and web browsers. His research has won multiple Distinguished Paper Awards on the top-tier security conferences (e.g., NDSS 2016 and USENIX security 2020), and led to many real-world security responses, such as patches in popular HTTP implementations (e.g., Squid, Chrome, Firefox), security advisories by industrial companies (e.g., Akamai, Cloudflare, Apple), web standard change, and a new IETF RFC (RFC 8586).

  • Qi WangTsinghua University

    Qi Wang (@Eki) is a PhD student in the Institute for Network Sciences and Cyberspace at the Tsinghua University. He works in the Network and Information Security Lab (NISL) and is advised by Prof. JianJun Chen. He focuses on WEB security and network protocol security. His work has been recognized by security conferences such as Oakland S&P, NDSS, and CCS. He is also an active participant in CTF games. He has won awards such as the champion of the TSGCTF 2024 and was the runner-up of the XCTF-Final 2024. Website: https://eki.im

  • Mingming ZhangTsinghua University

    Mingming Zhang is an assistant researcher. She received a Ph.D. from the Network and Information Security Lab (NISL) at Tsinghua University (advised by Prof. Haixin Duan) in 2023. Her research focuses on measuring and enhancing the security of Internet infrastructure (DNS, Web PKI, CDN, etc.), uncovering significant vulnerabilities in core protocols (DNS, HTTP, TLS, DKIM, SPF, etc.), and understanding emerging cyberspace security threats.

  • Haixin DuanTsinghua University

    Dr. Haixin Duan is a professor of the Institute for Network Sciences and Cyberspace, Tsinghua University. He was once a visiting scholar at UC Berkeley and a senior scientist at the International Computer Science Institute (ICSI) at Berkeley, CA. Prof. Duan has been working on network security for about 30 years. His recent research interests include network protocol security, intrusion detection, underground economy detection and Internet Governance. Many of his research papers have been published by top security or network conferences like IEEE Symposium on Security & Privacy, USENIX Security, ACM CCS, NDSS, SIGCOMM and IMC. He received several best paper or distinguished paper awards from top security conferences including CCS, NDSS and DSN. Some of his research results were deployed in some big IT companies like Baidu, Huawei and Qi-An-Xin Group.

Abstract

In this talk, we will introduce the security implications of HTTP/2 server push and signed HTTP exchange (SXG) on the Same-Origin Policy (SOP), a fundamental web security mechanism designed to prevent cross-origin attacks. We identify a vulnerability introduced by these features, where the traditional strict SOP origin based on URI is undermined by a more permissive HTTP/2 authority based on the SubjectAlternativeName (SAN) list in the TLS certificate. This relaxation of origin constraints, coupled with the prevalent use of shared certificates among unrelated domains, poses significant security risks, allowing attackers to bypass SOP protections. We introduce two novel attack vectors, CrossPUSH and CrossSXG, which enable an off-path attacker to execute a wide range of cross-origin web attacks, including arbitrary cross-site scripting (XSS), cookie manipulation, and malicious file downloads, across all domains listed in a shared certificate. Our investigation reveals the practicality and prevalence of these threats, with our measurements uncovering vulnerabilities in widely-used web browsers such as Chrome and Edge, and notable websites including Microsoft. We responsibly disclosed our findings to affected vendors and received acknowledgments from Huawei, Baidu, Microsoft, etc.

What you'll get from it

The browser's same-origin policy keeps one site from tampering with another. This team shows how HTTP/2 server push and Signed HTTP Exchanges loosen it, by trusting every domain listed on a TLS certificate, and many unrelated domains share certificates. They present two attacks, CrossPUSH and CrossSXG, that let an attacker who isn't on the network path run XSS, tamper with cookies or force downloads across every domain on a shared certificate. They found it affected Chrome, Edge and big sites including Microsoft, and disclosed it to the vendors. It's for web security engineers.

Did you find what you came for?