HDiff
No description available
Install / Use
/learn @mo-xiaoxi/HDiffREADME
HDiff
Overview | Installation | Results| Developers | License
Overview
We propose HDiff, a novel semi-automatic detecting framework, systematically exploring semantic gap attacks in HTTP implementations. We designed a documentation analyzer that employs natural language processing techniques to extract rules from specifications, and utilized differential testing to discover semantic gap attacks. We implemented and evaluated it to find three kinds of semantic gap attacks in 10 popular HTTP implementations. In total, HDiff found 14 vulnerabilities and 29 affected server pairs covering all three types of attacks. In particular, HDiff also discovered three new types of attack vectors. We have already duly reported all identified vulnerabilities to the involved HTTP software vendors and obtained 7 new CVEs from well-known HTTP software, including Apache, Tomcat, Weblogic, and Microsoft IIS Server.

This tools is used to find semantic gap attacks in HTTP implementations. It use a documentation analyzer that employs natural language processing techniques to extract rules from specifications, and utilized differential testing to discover semantic gap attacks.
This tool requires four manual tasks for initialization. What need to be provided:
- A series of SR template sets for Text2Rule converter
- SR semanic definition for SR translator
- Detection models for difference analysis
- Some predefined ABNF rules to optimize the ABNF generator
For more information, please refer to the DSN 2022.
Installation
- Make sure have python3 installed in your computer.
- Download this tool
git clone https://github.com/mo-xiaoxi/HDiff.git
- Install dependencies
sudo pip install -r requirements.txt
Results
All vulnerabilities we found have been reported to related HTTP software vendors. 7 new CVEs listed below have been assigned to the immediately exploitable ones among the vulnerabilities discovered.
| Name | CVE-ID | | -------- | -------- | | Apache Tomcat | CVE-2019-17569/CVE-2020-1935| |Apache Traffic Server| CVE-2020-1944| |Ktor |CVE-2020-26129/CVE-2021-25762| |Hyper |CVE-2021-21299| |Microsoft IIS Server| CVE-2020-0645| |Oracle Weblogic Server |CVE-2020-2867/CVE-2020-14588/CVE-2020-14589| |Puma |CVE-2020-11076/CVE-2020-11077| |Red Hat undertow |CVE-2020-10719|
Developers
License
HDiff is a free software and licensed under the GNU license.
Related Skills
node-connect
343.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
92.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
