Exploit database

GH-77a95e06b33c363c72a2bd291d0c8221

0xff0xfe/dvwa

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2023-39848

53 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files4
0xff0xfe/dvwaRevision 686ecdd37506

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

vulnerabilities/weak_id/source/impossible.php

PHP · 255 bytes
<?php

$html = "";

if ($_SERVER['REQUEST_METHOD'] == "POST") {
	$cookie_value = sha1(mt_rand() . time() . "Impossible");
	setcookie("dvwaSession", $cookie_value, time()+3600, "/vulnerabilities/weak_id/", $_SERVER['HTTP_HOST'], true, true);
}
?>