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

Detecting Taint-Style Vulnerabilities in Microservice-Structured Web Applications

Fengyu Liu, Fudan University; YouKun Shi, Hong Kong Polytechnic University; Tian Chen, Fudan University; Bocheng Xiang, Fudan University; Junyao He, Alibaba Group; Qi Li, Alibaba Group; Guangliang Yang, Fudan University; Yuan Zhang, Fudan University; Min Yang, Fudan UniversityApplication Security: Offense

When and where

Day
Thu 7 Aug 2025
Time
11:20 to 12:00 PDT
Room
Jasmine A & E, Level 3

Speakers

  • Fengyu LiuFudan University

    Fengyu Liu is currently a Ph.D student at Fudan University, under the supervision of Prof. Yuan Zhang. His research focuses on web security, and he has published four first-author papers at top-tier conferences such as USENIX Security, IEEE S&P, and CCS. His work has successfully identified over 200 zero-day vulnerabilities in the open-source software community, earning more than 50 CVE identifiers. He is also the co-founder of a prominent CTF team at Fudan University, named Whitzard, which has participated in and achieved strong results in numerous national and international CTF competitions.

  • YouKun ShiHong Kong Polytechnic University

    Youkun Shi is currently a postdoctoral fellow at The Hong Kong Polytechnic University, under the supervision of Prof. Daniel Xiapu Luo. He obtained his Ph.D. in cybersecurity in June 2024 from Fudan University, where he was supervised by Prof. Yuan Zhang and Prof. Min Yang. His research focuses on web security, and he has published four first-author papers at top-tier conferences such as USENIX Security and IEEE S&P. His work has successfully identified over 300 zero-day vulnerabilities in the open-source software community, earning more than 200 CVE identifiers. Youkun Shi is also the co-founder of a prominent CTF team at Fudan University, named Whitzard, which has participated in and achieved strong results in numerous national and international CTF competitions.

  • Tian ChenFudan University

    Tian Chen is currently a master's student at Fudan University, specializing in static analysis and LLM security. He has discovered critical vulnerabilities in Spring, Apache, and CNCF projects.

  • Bocheng XiangFudan University

    Bocheng Xiang is a graduate student at Fudan University under the supervision of Prof. Yuan Zhang. His research focuses on web and system security. He has discovered over 50 high-severity zero-day vulnerabilities in products from major vendors, including Apple, Microsoft, Tencent, and Intel, receiving official acknowledgments. He is also listed in the Microsoft Most Valuable Researcher (MSRC MVR) program for 2024.

  • Junyao HeAlibaba Group

    Junyao He is a senior security engineer at Alibaba, dedicated to application security, web security, and static application security testing (SAST). His recent research focuses on detecting broken access control and logic-based vulnerabilities by combining SAST with LLMs to address the challenges of static analysis in this domain.

  • Qi LiAlibaba Group

    Qi Li is a seasoned security professional with over a decade of experience. He currently leads a team focused on development and network security, particularly application security. His expertise spans multiple areas, including S/D/M/I AST, RASP, and HIPS. His team's work on runtime application protection has been deployed on millions of devices.

  • Guangliang YangFudan University

    Guangliang Yang is an assistant professor at the School of Computer Science, Fudan University. His research focuses on system security, building reliable and secure computing infrastructures. He has discovered and resolved hundreds of zero-day vulnerabilities in systems from Google, Meta, and others. He has received multiple accolades, including the Distinguished Paper Award at USENIX Security 2022 and IEEE S\&P 2025.

  • Yuan ZhangFudan University

    Yuan Zhang is a professor at the School of Computer Science, Fudan University, and co-director of the System Software and Security Laboratory. He co-founded and coaches Whitzard, Fudan's CTF team, which has achieved top rankings globally. His research focuses on system security, open-source software, Android/Web platforms, LLM agents, and autonomous driving systems. His work spans vulnerability discovery, exploitation, malware detection, and privacy protection, using program analysis, LLMs, and machine learning.

  • Min YangFudan University

    Min Yang is a professor at the School of Computer Science and Technology, Fudan University, leading the System Software and Security Laboratory. His research interests include vulnerability discovery, mitigation, and privacy protection. He has published over 50 papers in top-tier security conferences.

Abstract

Microservice architecture has become increasingly popular for building scalable and maintainable applications. A microservice-structured web application (shortened to microservice application) enhances security by providing a loose-coupling design and enforcing the security isolation between different microservices. However, in this paper, our study shows microservice applications still suffer from taint-style vulnerability, one of the most serious vulnerabilities (e.g., code injection and arbitrary file write). We propose a novel security analysis approach, named MTD, that can effectively detect taint-style vulnerabilities in real-world, evolving-fast microservice applications. Our approach mainly consists of three phases. First, MTD identifies the entry points accessible to external malicious users by applying a gateway-centric analysis. Second, MTD utilizes a new data structure, i.e., service dependence graph, to bridge inter-service communication. Finally, MTD employs a distance-guided strategy for selective context-sensitive taint analysis to detect vulnerabilities. To validate the effectiveness of MTD, we applied it to 25 open-source microservice applications (each with over 1,000 stars on GitHub) and 5 industrial microservice applications from a world-leading fintech company, i.e., Alibaba Group. We found that MTD effectively vetted these applications, discovering 59 high-risk zero-day vulnerabilities. Among these, vulnerabilities in open-source applications resulted in the allocation of 31 CVE identifiers, including CVE-2024-22263 in the Spring Projects, which has a CVSS score of 9.8. In the industrial microservice applications, we discovered 20 vulnerabilities, including groovy code injection and arbitrary command execution. These vulnerabilities could compromise the entire web server, severely affecting the integrity of millions of users' private data and the security of company systems. MTD effectively detected these high-value vulnerabilities (worth $50,000 in bounties) and successfully safeguarded enterprise security.

What you'll get from it

Splitting a web application into microservices doesn't stop taint-style bugs such as code injection and arbitrary file writes. Fengyu Liu, YouKun Shi and their colleagues built MTD, an analysis approach that finds the entry points exposed through the gateway, links services with a service dependence graph, and runs a selective, distance-guided taint analysis across them. Applied to 25 popular open-source microservice applications and 5 from Alibaba Group, it found 59 high-risk zero-days, leading to 31 CVEs including CVE-2024-22263 in the Spring Projects. Useful if you work on static analysis or review microservice code.

Did you find what you came for?