PrepAway - Latest Free Exam Questions & Answers

What of the following vulnerabilities is present in the below source code file named ‘AuthenticatedArea.phpâ

What of the following vulnerabilities is present in the below source code file named
‘AuthenticatedArea.php’?
<html><head><title>AuthenticatedArea</title></head>
<?
include (“/inc/common.php”);
$username = $_REQUEST[‘username’];
if ($username != “”) {
echo “Your username is: “ . $_REQUEST[‘username’];
}else {
header)(“location: /login.php”

}
?>
</html>

PrepAway - Latest Free Exam Questions & Answers

A.
Header manipulation

B.
Account disclosure

C.
Unvalidated file inclusion

D.
Cross-site scripting


Leave a Reply