
Educational analysis of CVE-2023-4863 (libwebp heap buffer overflow) with Blue Team detection tools, static WebP scanner, defensive Java validator, and isolated Docker lab with Valgrind memory analysis.
| Full Name | GitHub | Website | ||
|---|---|---|---|---|
| Keyvan Arasteh |
| Full Name | Student ID |
|---|---|
| Batuhan Seydi Çelik | 2520****1006 |
| Course Name | Course Code | Credits | Prerequisites | Semester |
|---|---|---|---|---|
| Penetration Testing and Vulnerability Analysis | BGT006 | 3 ECTS | Network Fundamentals, Linux CLI | 2025-2026 Spring |
This project has been prepared to analyze the CVE-2023-4863 (libwebp Heap Buffer Overflow) vulnerability for educational purposes and to demonstrate practically how such anomalies can be detected in systems from the defense (Blue Team) side.
This vulnerability directly affected many ecosystems in the web world:
For security policy reasons, no actual and weaponized Red Team code (exploit) is kept in the system. The vulnerability is tested structurally.
src/blue_team/webp_scanner.py: Statically examines WebP chunk structures and detects abnormal sizes.src/blue_team/WebpValidator.java: A Java defensive code example that mimics file upload scenarios, prevents size spoofing with a fail-fast logic, and runs without crashing (no exceptions) on corrupted files.src/red_team/poc.py: A training test generator that does not contain an actual payload, but deliberately reports a fake chunk size of 60MB to test whether Blue Team analysis tools are triggered.analyze_memory.sh script to examine memory errors (Invalid Write).Security findings are logged via the created JSON logger infrastructure and visualized asynchronously and live through the Blue Team Dashboard (HTML/JS/CSS) located under the src/public directory.

| [email protected] |
| keyvanarasteh |
| qline.tech |