Exploit databaseDownload repository ZIP
GH-d26f254f14fc8a0429bbb6798ca934e5
jaehnri/cve-2021-44228
Sources for CVE-2021-44228
465 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files1
jaehnri/cve-2021-44228Revision ddd2dde14fca
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
vulnerable-service/src/main/java/com/mac0352/vulnerable/app/controller/VulnerableController.java
Java · 659 bytespackage com.mac0352.vulnerable.app.controller;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class VulnerableController {
private static final Logger logger = LogManager.getLogger(VulnerableController.class);
@GetMapping("/v1/greetings")
public String index(@RequestHeader("User-Agent") String userAgent) {
logger.info("Received a request from " + userAgent);
return "Hi!";
}
}